SessionEndDay

From MultiCharts
Revision as of 12:17, 24 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value indicating the day of the week that the specified session ends, where 0 = Sunday, 1 = Monday, etc. ==== Usage ==== <syntaxhighlight>SessionEndDay(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)