I have an indicator that downloads a symbol's tick manually, when it is done and starts executing CalcBar method, what is the best way to check see if it is the live "Bar" object and create a new Bar object to give it to my "Market Profile" list?
Thanx in andvance.
Live session question. [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Live session question. [SOLVED]
Holya, do you need to check whether last bar of tick data series is realtime bar or historical bar?
You can compare the bar's time with current time, session time, time of the last bar on the main data series.
You can compare the bar's time with current time, session time, time of the last bar on the main data series.