Average True Range (NNFX)

Category: volatility

Calculates the Average True Range (ATR) to measure market volatility by decomposing the entire range of an asset for that period.

Formula

TR_t = \max(High_t, Close_{t-1}) - \min(Low_t, Close_{t-1}) \\ ATR_t = \frac{ATR_{t-1} \times (n-1) + TR_t}{n} \text{ (Implemented here via sliding sum)}

Inputs

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home