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 |

Replicate Telechart indicator in StockFinder Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dah1147
Posted : Sunday, December 7, 2008 5:33:18 PM
Registered User
Joined: 2/13/2005
Posts: 10
Hello,

I'd like to replicate this Telechart indicator in StockFinder:

C - AVGC14.8

Thanks,
Bruce_L
Posted : Monday, December 8, 2008 1:56:59 PM


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
dah1147
Posted : Monday, December 8, 2008 3:32:35 PM
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
Bruce_L
Posted : Monday, December 8, 2008 3:37:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.