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

Drawing / Reference

alerta.box.set_border_style

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

Updates box border style token.

alerta.box.set_border_style(id, style) → void

Parameters

NameTypeRequiredDefaultDescription
idbox handleYes—Target box handle.
stylestringYes—solid | dashed | dotted

Returns

void

Example

alerta.box.set_border_style
bx = box.new(bar_index - 5, high, bar_index, low)box.set_border_style(bx, "dashed")

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.