Palm Beach Gardens
Experience: Intermediate
Platform: Ninja Trader
Posts: 21 since Jun 2009
Thanks Given: 5
Thanks Received: 6
|
I have added the code to calculate the angle of the slope of the indicator to the TEMA in the NT indicators. I have posted the resulting indicator in the download section. Just look for TEMA With Slope.
You can call this indicator in your strategy and get the value of the slope for each bar.
The code would be
TEMASlope(Close,13,false).MASlope[0]
this will return the slope of the line at the current bar. The "13 is the period of the TEMA.
|