+1 888 340 6572

SessionCount

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns the number of sessions for the trading week.

Usage

SessionCount(SessionType);

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


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

Example

In this example, we have assigned to Value 1 the total number of sessions for the week in the current bar.

Value1 = SessionCount(0);

In this example, we have assigned to Value 1 the total number of regular sessions for the week in the current bar.

Value1 = SessionCount(1);