I need a indicator for ninjatrader 8.
The indicator represent the distance between three SMA and the price.
It is possible to set the period for the three SMA (for example 200, 20, 8)
In the indicator, the ZERO line will be represented by the bigger SMA (200)
Then in the positive axis or negative axis will be represented.
A plot for the dference between the bigger SMA and the midle SMA(20 periods)
A plot for the difference between the midle SMA (20) and the lower SMA (8)
A plot for the difference between the middle SMA(20) and the Close of the bar.
The indicator will represent the compresion and expansion of the price.