Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.barstate.isfirst
On this pageSignatureReturnsExample

Metadata / Reference

alerta.barstate.isfirst

TradingView-compatible spelling: barstate.isfirst, runs without warnings

True only on first bar of current dataset.

alerta.barstate.isfirst → series bool

Returns

series bool

Example

alerta.barstate.isfirst
plotshape(barstate.isfirst, { style: "circle" })

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.