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