I am writing a strategy with Calulcate as OnEachTick but I am calling an indicator that is OnBarClose and this indicator is only doing work every 30 minutes (I have an added data series on that indicator of 30 minutes).
Therefore I only want to call this indicator every 30 minutes and not on every tick like whats happening from the strategy (OnEachTick).
I thought a BarsInpProgress check would work for this. e.g. if I Print inside my added data series (30 minutes data series), I should only see that print every 30 minutes but instead I'm seeing it every tick?
Is it possible to do logic only when that 30minute data series (so every 30 minutes itll do some logic?)?.
Thanks,
Tarik
Comment