Drawing / Reference
alerta.plotarrow
TradingView-compatible spelling: plotarrow, runs without warnings
Plots up/down arrows based on signed series values. Pine's positional order after the series is `title, colorup, colordown, offset, minheight, maxheight, editable, show_last, display, force_overlay` — `title` comes FIRST, as it does across the whole plot family.
alerta.plotarrow(series, { colorup, colordown, minheight, maxheight, offset, pane }) | plotarrow(series, title, colorup, colordown, …) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
series | series float | Yes | — | Positive values draw up arrows, negative values draw down arrows. |
options | object | Not specified | — | Arrow styling options, in Pine's positional order: title, colorup, colordown, offset, minheight, maxheight, editable, show_last, display, force_overlay. |
Returns
voidExample
alerta.plotarrow
sig = close - openplotarrow(sig, { colorup: "#22c55e", colordown: "#ef4444" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.