Drawing / Reference
alerta.plotcandle
TradingView-compatible spelling: plotcandle, runs without warnings
Plots custom candlesticks from OHLC series. Pine's positional order after close is `title, color, wickcolor, editable, show_last, bordercolor, display, format, precision, force_overlay` — `title` comes first and `bordercolor` sits AFTER show_last, not next to wickcolor.
alerta.plotcandle(open, high, low, close, { color, wickcolor, bordercolor, offset, pane }) | plotcandle(open, high, low, close, title, color, wickcolor, …) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
open | series float | Yes | — | Open series. |
high | series float | Yes | — | High series. |
low | series float | Yes | — | Low series. |
close | series float | Yes | — | Close series. |
options | object | Not specified | — | In Pine's positional order: title, color, wickcolor, editable, show_last, bordercolor, display, format, precision, force_overlay (plus `offset` and `pane`). |
Returns
voidExample
alerta.plotcandle
plotcandle(open, high, low, close, { color: "#22c55e", wickcolor: "#16a34a", bordercolor: "#16a34a" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.