Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.session.isfirstbar_regular
On this pageSignatureReturnsExample

Time / Reference

alerta.session.isfirstbar_regular

TradingView-compatible spelling: session.isfirstbar_regular, runs without warnings

True on the first regular-hours bar of each day's session — on a stock, the first bar after the pre-market. On a symbol that trades around the clock it is the same bar as session.isfirstbar. Inside request.security, of the requested bars.

alerta.session.isfirstbar_regular → series bool

Returns

series bool

Example

alerta.session.isfirstbar_regular
//@version=6indicator("Session open", overlay = true)var float sessionOpen = naif session.isfirstbar_regular    sessionOpen := openplot(sessionOpen, "Regular session open")

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.