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

Drawing / Reference

alerta.box.set_right

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

Updates box right coordinate.

alerta.box.set_right(id, right) → void

Parameters

NameTypeRequiredDefaultDescription
idbox handleYes—Target box handle.
rightintYes—New right coordinate.

Returns

void

Example

alerta.box.set_right
bx = box.new(bar_index - 5, high, bar_index, low)box.set_right(bx, bar_index)

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.