SessionCount (Reserved Word)

image\trumpet2.gif Disclaimer

Used with session information to refer to the number of sessions for the week. The number of session per week will vary based on the pre and post market settings in the current chart.

Usage

SessionCount(SessionType);

Parameters

Name Description
SessionType A numeric value. 0 = Auto Detect, 1 = Regular Session

Remarks

SessionType – Specifies the type of session information that should be returned. The type parameter may be specified as follows:

  • Auto-Detect Session – [0, AutoSession] - uses whatever session is specified for the data series; regular or custom

  • Regular Session – [1, RegularSession] - regular session information should always be returned

For Example: There are 5 regular sessions in a week for a stock.

Examples

Assign to Value1 the total number of sessions for the week in the current chart.

Value1 = SessionCount (0);

Asssign to Value1 the total number of regular session for the week in the current chart.

Value1 = SessionCount (1);