datFirst = new DateTime(ToDay(Time[0]));
1/1/0001 12:00:02 AM
while first bar on the 5min chart would be 4/24/2009 etc.
How can I get the date and time of the very first bar of a chart to avoid referencing to a non existing bar date and time?
I don't think
FirstBarOfSession
datFirst = new DateTime(ToDay(Time[CurrentBar]))
datFirst = new DateTime(ToDay(Time[CurrentBar-1]))
Thanks!
Comment