Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 5/28/2014 Posts: 26
|
I use this simple PCF in TC2000 for Relative Strength:
(2*(100 * (C - C21) / C21)+ (100 * (C - C63) / C63)+ (100 * (C - C126) / C126)+ (100 * (C - C252) / C252)
) / 5
Can someone make this formula in StockFinder code???
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following RealCode Indicator.
RealCode for Real People: Indicators (6:05)
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:IBD Relative Strength
'|******************************************************************
If CurrentIndex >= 252 Then
Plot = 100 * ((2 * Price.Last / Price.Last(21) + _
Price.Last / Price.Last(63) + _
Price.Last / Price.Last(126) + _
Price.Last / Price.Last(252)) / 5 - 1)
Else
Plot = Single.NaN
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 5/28/2014 Posts: 26
|
thanks Bruce!
|
|
Registered User Joined: 10/14/2015 Posts: 16
|
How to add Real Code with V16
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
RealCode is only available in StockFinder, not TC2000.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Personal Criteria Formula you would use in TC2000 is given in the first post asking the question.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |