If the CalculateOnBarClose is set to true, when does the OnBarUpdate fire, the last tick of the bar or the first tick of the next bar? Are there other items that trigger the OnBarUpdate.
If CalculateOnBarClose is set to true, I am also using OnMarketData. When I try to retreive a value from an indicator, for example, EMA(High,3).Value[0], I don't get the current bar that is building value, I get the last bar that was completed. Is there a way to get the current value of the bar that is being built? Is there a was to call an event to get the value?
I forgot to mention that my indicators are dynamically generated, so they change in real time on the chart.
Comment