I am trying to iterate through all the historical data loaded when a strategy starts to get the beginning and ending date/times for each session. Is there a simple way to do this (starting from bar 0 going forward to Bars.Count - 1)?
Alternatively if there is a way to iterate through the bars that would work as well.
I just had a d'oh moment; I can start at the end and work backwards using Time[barsago].
Best Regards,
Scott

Comment