Skip to content
AlertaChartAlertaScript / docs
AlertaScript / last_bar_time
On this pageSignatureReturnsExample

Time / Reference

last_bar_time

TradingView-compatible spelling: last_bar_time, runs without warnings

Pine v6: UNIX time (ms) of the last chart bar. For closed markets this is the final historical bar; for open markets it is the realtime bar.

last_bar_time → series int

Returns

series int

Example

last_bar_time
plot(last_bar_time, { pane: "oscillator" })

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.