Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

detrender residue for stock finder Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jschott
Posted : Friday, January 15, 2016 2:12:26 PM
Registered User
Joined: 10/27/2004
Posts: 821
Location: Philly area

I would like Real Code to plot the detrender residue, that is

Plot = Price - MA of Price

assume MA set at 21d and MA is EMA

 

thanks

Bruce_L
Posted : Friday, January 15, 2016 2:26:14 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You could just add an exponential MACD 1, 21 to the chart.

'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.1 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Detrender Residue
'|******************************************************************
'# Period = UserInput.Integer = 21
Plot = Price.Last - Price.XAVG(Period)


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