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 }) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
series | series float | Yes | — | Data to plot. |
options | object | Not specified | — | Plot styling and config: { title, color, style, linewidth, pane, offset, display } |
Returns
voidExample
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.