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