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 boolReturns
series boolExample
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.