Times[1][Times[1].Count - 1]
=> 'Times[1][Times[1].Count - 1]' threw an exception of type 'System.ArgumentException' System.DateTime {System.ArgumentException}
Times[1][Times[1].Count - 7]
=> {3/3/2015 3:00:00 PM} System.DateTime
I'm calling this code in this if statement:
if(Historical && BarsInProgress == 1 && Times[1].Count - 2 == CurrentBar){
}
Why is it Times[1].Count - 7, instead of Times[1].Count - 1?

Comment