SessionEndDay

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value indicating the day of the week that the specified session ends, where 0 = Sunday, 1 = Monday, etc.

Usage

SessionEndDay(SessionType,SessionNum)

Where: SessionType - a numerical expression: 0 = Auto Detect, 1 = Regular Session*

SessionNum - a numerical expression specifying the Session Number

* Custom Sessions parameters will be used if selected in QuoteManager.

Example

Assign a value, indicating the day of the week that the 4th regular session ends, to Value1 variable:

Value1=SessionEndDay(1,4)