I'm adding 2 data series with the AddDataSeries method. The first one has hour bars. The second one has minutes bars.
I understand the OnBarUpdate event is triggered on each bar completion of each data series (Please tell me if I'm wrong). I calculate that this event is triggered 121 times in my case since the instrument that I select in the UI has minute bars.
I am wondering how to test if the OnBarUpdate event is triggered by the UI selected instrument (and not by the additional time series)
Thanks
Comment