Drawing / Reference
alerta.box.set_border_width
TradingView-compatible spelling: box.set_border_width, runs without warnings
Updates box border width.
alerta.box.set_border_width(id, width) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box handle | Yes | — | Target box handle. |
width | int | Yes | — | New border width. |
Returns
voidExample
alerta.box.set_border_width
bx = box.new(bar_index - 5, high, bar_index, low)box.set_border_width(bx, 2)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.