For those indicators it does not make sense to call them with every incoming tick. NinjaTrader 8 has an improvement here, as it is possible to run OnBarUpdate() on price change only.
The idea here is to force an indicator to run in Calculate.OnPriceChange when the user erroneously select Calculate.OnEachTick. This would be done in State == State.SetDefaults. Now adding the following lines
if(Calculate == Calculate.OnEachTick) Calculate = Calculate.OnPriceChange;
Here comes my question: If I call such an indicator from another indicator or strategy that runs in Calculate == Calculate.OnEachTick, would that produce any conflicts when the called indicator is forced to run in Calculate == Calculate.OnPriceChange?
Comment