Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.session.ispostmarket
On this pageSignatureReturnsExampleNotes

Time / Reference

alerta.session.ispostmarket

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

Pine v5/v6 series<bool>: true on bars that open inside the exchange's after-hours window (16:00–20:00 New York time for a US stock). Always false for symbols without extended hours.

alerta.session.ispostmarket → series<bool>

Returns

series<bool>

Example

alerta.session.ispostmarket
if session.ispostmarket    bgcolor(color.new(color.purple, 90))

Notes

  • Requires an equity chart with postmarket bars; no highlight is expected on 24/7 crypto.

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.