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

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) → void

Parameters

NameTypeRequiredDefaultDescription
idbox handleYes—Target box handle.
colorstringYes—New border color.

Returns

void

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.