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

Detect 24hr session



PureBytes Links

Trading Reference Links

I'm writing an indicator that I'd like to work on either 24hr or 
RTH-only data.  Problem is, detecting the start and end of the 
RTH session is different depending on whether it's RTH-only or 
not.

Is there any reliable way to tell whether a symbol is RTH-only or 
24hr?

Right now I'm using the value of Sess2StartTime.  For RTH-only 
symbols it's 2500, for 24hr symbols it's something like 1645.  Is 
that a reliable way to detect it?  If not, what is?

Gary