NinjaTrader 8 Indicators and More - EMASlope
futures io

Categories Help    

NinjaTrader 8 Indicators and More
Indicators and Files in this section are compatible with NinjaTrader 8

EMASlope 5 *
We like our MA's to show us the slope. An astute trader asked if I could color the EMA different colors for different slopes. This indie will paint two colors for positive and two colors for negative depending on slope. The slope triggers are set to 30 and 60 degrees in pic, but are adjustable. label in the right margin indicates the indicator and is colored same as the indicator line.

This indie has a button to enable or disable the indie. I find this handy to have several values of the indie so I can de-clutter my chart, but still look at other values of EMA. In the pic is a 21 and a 55 EMA that can be hidden with the click of the button. You can set the column that the button shows in.

R1 July 22, 2021: A friend was using this indie with an oscillator as the input and when the oscillator max'd out at zero or 100 (no more slope) the color defaulted to the negative slope. I added code to default to the EMAflat slope if the slope goes to zero.
R2 Aug 14,2021: I found an error that colored the lines improperly when the 'Use Angle' was not selected....

Trade Well...

Category NinjaTrader 8 Indicators and More 
Suggest other entries I might like
Details: EMASlope
Category: NinjaTrader 8 Indicators and More 

January 19th, 2021
Size: 6.69 KB
Downloaded: 551 times


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.