Volatility / Reference
alerta.ta.natr
TradingView-compatible spelling: ta.natr, runs without warnings
Calculates ATR normalized by price (percent).
alerta.ta.natr(high, low, close, length) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
high | series | Yes | — | High series. |
low | series | Yes | — | Low series. |
close | series | Yes | — | Close series. |
length | int | Yes | — | Number of bars (length). |
Returns
series floatExample
alerta.ta.natr
plot(natr(high, low, close, 14), { pane: "oscillator" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.