|
Waterloo
Posts: 9 since Aug 2009
Thanks Given: 1
Thanks Received: 1
|
Hello
I am looking for a TS Equivalent to 's Historical property, or even the LastBar equivalent.
Basically I need to know if the bar is getting it's data from the database, or if it's a "live" bar.
I looked around, but couldn't get anything that would give me the amount of bars present ( which i could compare with currentBar and thus know if i'm running on the lastBar of the chat).
I'm starting to think the only solution would be to start comparing the RealTime with the Bar Time and the barInterval, and determine if the bar took less than barInterval time to run which would mean it's running from database and not live ... but this seems a bit too subjective .... .
Any ideas ?
|