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