Is there a way to force an indicator from a strategy to not calculate on bar close?
I have a multi time frame strategy with 1min bars for entry and 1 tick bars for exit.
I would like it to exit when the DI+ or DI- plot from the DM indicator is greater than some value.
Currently I can read the values each tick when BarsInProgress == 1 (that's my 1 tick bars) using
DM(BarsArray[0],14).DiPlus[0]
But since the DM indicator defaults to COBC = true the values I get every tick are not updated for that tick. I've tried calling the Update function of the indicator but that does not work either.
Could you please point me in the right direction?
Cheers!
Comment