So, when trying to check if current bar is on same day than previous I was using
if (Bars.GetSessionDate(Time[0]) != Bars.GetSessionDate(Time[1]))
Now I changed to this :
if( Bars.GetDayBar(0).Time != Bars.GetDayBar(1).Time )
...and it works....but only on indicators...
What should be used on strategies ?
BTW : Why have u discontinued a funtion instead of just adding a better one ...?
Now I have a lot of errors to compile and no way to go back to previous version...

Comment