There are not specific properties that I am aware of that represent those times however you could likely do this from OnBarUpdate on CurrentBar 0 using the Time[0] object. That would represent the first datapoint loaded. If you are not using TickReplay you could get the last bar of the series using the index Time.GetValueAt(Count - 2).
There are some undocumented properties you can try however I am unaware of their normal expectations:
Print(From + " " + To);
I look forward to being of further assistance.
Leave a comment: