Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 2/13/2005 Posts: 10
|
Hello,
I'd like to replicate this Telechart indicator in StockFinder:
C - AVGC14.8
Thanks,
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following RealCode Indicator:
Static AvgC14dot8 As Single
If isFirstBar Then AvgC14dot8 = 0
If CurrentIndex >= 8 Then AvgC14dot8 += Price.Last(8) / 14
If CurrentIndex >= 22 Then AvgC14dot8 -= Price.Last(22) / 14
If CurrentIndex >= 21 Then
Plot = Price.Last - AvgC14dot8
Else
Plot = Single.NaN
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 2/13/2005 Posts: 10
|
Thanks Bruce,
It didn't give me the results I wanted, but not due to the code. I now have a starting point to make adjustments.
Thanks,
Don
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |