Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: gwoods
About
User Name: gwoods
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Friday, December 1, 2006
Last Visit: Tuesday, September 15, 2009 6:25:54 PM
Number of Posts: 25
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Friday, October 24, 2008 12:19:24 PM
Thanks for all your help.  It has been a pleasure.   Until next time.....
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Friday, October 24, 2008 12:08:30 PM
Worden has a fine product.  When will you all start tracking commodities?  I would love to use a product I have grown accustomed to. 
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Friday, October 24, 2008 11:56:32 AM
Can other users or Worden staff access your system rules and indicators without your permission?
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Friday, October 24, 2008 11:53:10 AM
Why are we limited to 20 years and in Telechart we can go back to 1914 or 1917?
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Friday, October 24, 2008 11:48:46 AM
Ok, I thought that is what that option was for.  Appreciate it Bruce.  Also, can I use stockfinder indicators that I created and saved in Telechart?
Topic: How can I scroll price history past 2001 in stockfinder?
Posted: Thursday, October 23, 2008 11:41:39 PM
I am new to stockfinder and my price history stops at the beginning of 2001.
Topic: How do you shift a moving average left?
Posted: Thursday, October 23, 2008 1:21:46 PM
Yes, you understood!  Thanks    The only delima is that I have to study your code until your company develops a manual for realcode.

I appreciate your tact.  You have assisted me on one other occassion; I am impressed with your skill and ability to comprehend.
Topic: How do you shift a moving average left?
Posted: Thursday, October 23, 2008 1:05:29 PM
I see you are creating an indicator or rule that reference a real code formula.  For instance, you may say # happy = (21+120+MJ/2) and # gogo =  Static AvgC As Single
Static Offset(1) As Integer
Static Start(2) As Integer
If isFirstBar Then

If we add happy + gogo = total, is this correct?
Topic: How do you shift a moving average left?
Posted: Thursday, October 23, 2008 12:15:04 PM
So, this statement 'Static AvgC As Single' in the coding allows for AvgC to reference the coding below:

'# Period = UserInput.Integer = 21
Static AvgC As Single
Static Offset(1) As Integer
Static Start(2) As Integer
If isFirstBar Then
    AvgC = 0
    Offset(0) = -(Period - 1) / 2
    Start(0) = System.Math.Max(Offset(0), 0)
    Offset(1) = Offset(0) + Period
    Start(1) = System.Math.Max(Offset(1), Period)
    Start(2) = Start(0) + Start(1) - 1
End If
If CurrentIndex >= Start(0) Then AvgC += Price.Last(Offset(0)) / Period
If CurrentIndex >= Start(1) Then AvgC -= Price.Last(Offset(1)) / Period
If CurrentIndex >= Start(2) Then
    Dim MJ As Single = (Price.High + Price.Low + Price.Last) / 3
    Plot = AvgC + MJ
Else
    Plot = Single.NaN
End If

If that is true, then how would Plot = AvgC know that it references the above code if it is not within the same realcode?  Ex.  1+1=2  but if Plot=2; how would it know it derived from 1+1=2 
Topic: How do you shift a moving average left?
Posted: Thursday, October 23, 2008 11:47:59 AM
How would you append that coding to this?

'# Period = UserInput.Integer = 21
Static AvgC As Single
Static Offset(1) As Integer
Static Start(2) As Integer
If isFirstBar Then
    AvgC = 0
    Offset(0) = -(Period - 1) / 2
    Start(0) = System.Math.Max(Offset(0), 0)
    Offset(1) = Offset(0) + Period
    Start(1) = System.Math.Max(Offset(1), Period)
    Start(2) = Start(0) + Start(1) - 1
End If
If CurrentIndex >= Start(0) Then AvgC += Price.Last(Offset(0)) / Period
If CurrentIndex >= Start(1) Then AvgC -= Price.Last(Offset(1)) / Period
If CurrentIndex >= Start(2) Then
    Plot = AvgC
Else
    Plot = Single.NaN
End If