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

Drawing / Reference

alerta.label.set_point

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

Pine v6: set the label's position from a chart.point.

alerta.label.set_point(id, point) → void

Parameters

NameTypeRequiredDefaultDescription
idlabelYes—Label handle.
pointchart.pointYes—Coordinate.

Returns

void

Example

alerta.label.set_point
lbl = label.new(bar_index, high, "x")label.set_point(lbl, chart.point.now(close))

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.