Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.chart.left_visible_bar_time
On this pageSignatureReturnsExample

Metadata / Reference

alerta.chart.left_visible_bar_time

TradingView-compatible spelling: chart.left_visible_bar_time, runs without warnings

Pine v6: timestamp of the left-most visible bar. The script runs before the chart has a viewport, so every loaded bar counts as visible: the first loaded bar's time.

alerta.chart.left_visible_bar_time → int

Returns

int

Example

alerta.chart.left_visible_bar_time
startMs = chart.left_visible_bar_time

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.