karlsruhe
Experience: Beginner
Platform: IB
Trading: precious metals
Posts: 2 since Oct 2012
Thanks Given: 1
Thanks Received: 0
|
I am a newbie to programing indicators and would like to ask if how one would go about programming the following indicator (Step Stum indicator by Mark Lundeen) in thinkscript:
The indicator looks at daily closing price:
if closing price > previous closing price, then N=1
if closing price < previous closing price, then N=-1
Then Sum up all N's for the last 15 trading days and display the value as a line.
Any pointers, e.g. to similar indicators, or where to start, would be greatly appreciated.
Thank you!
|