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