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

Core / Reference

bid

TradingView-compatible spelling: bid, runs without warnings

Pine v6: highest price an active buyer is willing to pay. 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.

bid → series float

Returns

series float

Example

if not na(bid)    label.new(bar_index, bid, "Bid: " + str.tostring(bid))

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.