IsInSession()
IsInSession()
Definition
Indicates a specified date is within the bounds of the current session, according to the configured Trading Hours template.
Additionally this method will internally trigger a GetNextSession() call to calculate the next available session relative to the “timeLocal” value used in the method’s input.
Property Value
A bool value when true indicates the specified time is within the current trading session; otherwise false.
Parameters
Syntax
\<sessioniterator\>.IsInSession(DateTime timeLocal, bool includesEndTimeStamp, bool isIntraDay)

