Drawing / Reference
alerta.label.set_textcolor
TradingView-compatible spelling: label.set_textcolor, runs without warnings
Updates label text color.
alerta.label.set_textcolor(id, textcolor) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | label handle | Yes | — | Target label handle. |
textcolor | string | Yes | — | New text color. |
Returns
voidExample
alerta.label.set_textcolor
lb = label.new(bar_index, close, "Signal")label.set_textcolor(lb, "#ffffff")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.