Live session question.  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
holya
Posts: 40
Joined: 28 Aug 2012
Location: Vancouver, Canada
Has thanked: 8 times
Been thanked: 1 time

Live session question.

Postby holya » 17 Sep 2012

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.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Live session question.  [SOLVED]

Postby Henry MultiСharts » 18 Sep 2012

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.


Return to “MultiCharts .NET”