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 |

Relative Strength coding Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
geolinas
Posted : Friday, June 26, 2015 5:18:29 AM
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???

Bruce_L
Posted : Friday, June 26, 2015 10:27:15 AM


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
geolinas
Posted : Sunday, June 28, 2015 4:55:19 PM
Registered User
Joined: 5/28/2014
Posts: 26

thanks Bruce!

davelzr
Posted : Saturday, June 4, 2016 9:16:31 PM
Registered User
Joined: 10/14/2015
Posts: 16

How to add Real Code with V16

StockGuy
Posted : Monday, June 6, 2016 11:13:52 AM

Administration

Joined: 9/30/2004
Posts: 9,187

RealCode is only available in StockFinder, not TC2000.

Bruce_L
Posted : Wednesday, June 8, 2016 1:26:21 PM


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
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.