Skip to content
AlertaChartAlertaScript / docs
AlertaScript / ask
On this pageSignatureReturnsExampleNotes

Core / Reference

ask

TradingView-compatible spelling: ask, runs without warnings

Pine v6: lowest price an active seller will accept for the instrument. Only available on the "1T" timeframe. On AlertaChart it is always `na`, tick charts included: scripts do not receive the order book's best prices.

ask → series float

Returns

series float

Example

if not na(ask)    label.new(bar_index, ask, "Ask: " + str.tostring(ask))

Notes

  • Always na on AlertaChart, so the example draws nothing.

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.