When it comes to upload an indicator on the chart, there is a possibility to choose on the properties the "Displacement". This allows to have indicator "in the future", that means when the bars are not yet printed on the chart.
I am trying to implement the EMA with offset so that I would want to use positive as well as negative numbers for the offset. I am not seeying any function in Ninjatrader that could deal with this topic. Has someone ever experienced the code with offset in ninjatrader? Is there a way to solve this problem?
I was thinking about something like this:
myEMA = EMA(Close, 15)[0].Displacement(7)
I would appreciate any help.

Comment