[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code problem using 24hr data



PureBytes Links

Trading Reference Links

First thanks to everyone who answered my Brokers email

I have been using this code successfully with intraday data

 if time > Sess1FirstBarTime and time <= Sess1EndTime then
 
but now when trying to use it on 24hr data where the StartTime is
8:00pm and the EndTime is 4:00pm the next day, that code doesn't work
as TS appears to think the end time is before the start time

I am hoping someone has already been through this and can give a
pointer to get this working on the 24hr data

best regards
foolsgold