CurrentSessionMS (Function)
The CurrentSessionMS function returns the session number of the current bar for merged session on multi-data charts.
MS - Merged sessions are from the earliest start time of all symbols to the latest end time for all sessions each trading day.
Syntax
CurrentSessionMS;
Returns (Integer)
A numeric value for the current bar.
Parameters
None
Remarks
There are generally 5 merged sessions per week for most symbols, so 1 is generally Monday, 2 is Tuesday, etc.
Examples
Assigns to Value1 the session number for the current bar, for all merged session in a multi-data chart.
Value1 = CurrentSessionMS;
See Also
.