session
Properties
extended
Type: const string
Constant for extended session type (includes extended hours data).
isfirstbar
Type: series bool
Returns true if the current bar is the first bar of the day's session, false otherwise.
If extended session information is used, only returns true on the first bar of the pre-market bars.
isfirstbar_regular
Type: series bool
Returns true on the first regular session bar of the day, false otherwise.
The result is the same whether extended session information is used or not.
islastbar
Type: series bool
Returns true if the current bar is the last bar of the day's session, false otherwise.
If extended session information is used, only returns true on the last bar of the post-market bars.
islastbar_regular
Type: series bool
Returns true on the last regular session bar of the day, false otherwise.
The result is the same whether extended session information is used or not.
ismarket
Type: series bool
Returns true if the current bar is a part of the regular trading hours (i.e. market hours), false otherwise.
ispostmarket
Type: series bool
Returns true if the current bar is a part of the post-market, false otherwise.
ispremarket
Type: series bool
Returns true if the current bar is a part of the pre-market, false otherwise.
regular
Type: const string
Constant for regular session type (no extended hours data).