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

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 float

Parameters

NameTypeRequiredDefaultDescription
highseriesYes—High series.
lowseriesYes—Low series.
closeseriesYes—Close series.
lengthintYes—Number of bars (length).

Returns

series float

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.