Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.box.set_lefttop
On this pageSignatureParametersReturnsExample

Drawing / Reference

alerta.box.set_lefttop

TradingView-compatible spelling: box.set_lefttop, runs without warnings

Pine v6: set left and top in one call.

alerta.box.set_lefttop(id, left, top) → void

Parameters

NameTypeRequiredDefaultDescription
idboxYes—Box handle.
leftintYes—Left x.
topfloatYes—Top y.

Returns

void

Example

alerta.box.set_lefttop
b = box.new(bar_index - 5, high, bar_index, low)box.set_lefttop(b, bar_index - 10, high)

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.