I could not find any reference in "How to do Displacement in AddPlot()" in NinjaTrade 8.
In NinjaTrader 7, this is what I code:
Add( new Plot( new Pen(Color.Red, 1), "MA1" ));
Displacement = 26; // Move MA1 forward by 26 bars
Can someone please help me to convert the above code to NinjaTrader 8?
Thanks,
Richard
Comment