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

Drawing / Reference

alerta.plot

TradingView-compatible spelling: plot, runs without warnings

Plots a series on the chart.

alerta.plot(series, { title, color, linewidth, style, pane, offset, display }) → void

Parameters

NameTypeRequiredDefaultDescription
seriesseries floatYes—Data to plot.
optionsobjectNot specified—Plot styling and config: { title, color, style, linewidth, pane, offset, display }

Returns

void

Example

alerta.plot
plot(sma(close, 20), { color: "#2962FF", linewidth: 2 })

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.