Drawing / Reference
alerta.box.set_extend
TradingView-compatible spelling: box.set_extend, runs without warnings
Updates box extend mode.
alerta.box.set_extend(id, extend) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box handle | Yes | — | Target box handle. |
extend | string | Yes | — | none | left | right | both |
Returns
voidExample
alerta.box.set_extend
bx = box.new(bar_index - 5, high, bar_index, low)box.set_extend(bx, "right")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.