Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.label.set_text
On this pageSignatureParametersReturnsExample

Drawing / Reference

alerta.label.set_text

TradingView-compatible spelling: label.set_text, runs without warnings

Updates label text.

alerta.label.set_text(id, text) → void

Parameters

NameTypeRequiredDefaultDescription
idlabel handleYes—Target label handle.
textstringYes—New text value.

Returns

void

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.