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

Drawing / Reference

alerta.label.set_tooltip

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

Updates label tooltip content.

alerta.label.set_tooltip(id, tooltip) → void

Parameters

NameTypeRequiredDefaultDescription
idlabel handleYes—Target label handle.
tooltipstringYes—Tooltip text.

Returns

void

Example

alerta.label.set_tooltip
lb = label.new(bar_index, close, "Signal")label.set_tooltip(lb, "Extra context")

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.