Time / Reference
alerta.session.islastbar_regular
TradingView-compatible spelling: session.islastbar_regular, runs without warnings
True on the last regular-hours bar of each day's session — on a stock, the last bar before the post-market. On a symbol that trades around the clock it is the same bar as session.islastbar. Inside request.security, of the requested bars.
alerta.session.islastbar_regular → series boolReturns
series boolExample
alerta.session.islastbar_regular
//@version=6indicator("Session close", overlay = true)var float sessionClose = naif session.islastbar_regular sessionClose := closeplot(sessionClose, "Regular session close")plot(close, "Close")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.