Average Directional Movement Index Rating

The Average Directional Movement Index Rating (ADXR) is Wilder’s smoothed ADX: the average of the current ADX and the ADX a window earlier. Wilder used it to rate markets on how strongly they trend, to choose the ones to trade with his trend-following systems. It moves more slowly than the ADX and lags it.

The formula for the Average Directional Movement Index Rating starts from the Average Directional Index (ADX) of the last n periods: Wilder’s moving average of the directional movement index DX, which compares the smoothed upward and downward movement of the high and the low with the smoothed True Range:

\[\text{ADX} = \text{Wilder MA}(\text{DX}, n)\]

The ADXR averages that ADX with the ADX of n - 1 periods earlier:

\[\text{ADXR} = \frac{\text{ADX} + \text{ADX}_{t-n+1}}{2}\]

The ADXR is read like the ADX, above about 25 a trending market and below 20 a range, but since it averages two ADX values it changes direction later and filters out short bursts of trend strength.

Also known as: Average Directional Movement Rating, ADXR.

In the Finance Toolkit this is get_average_directional_index with method="rating", the same function as Average Directional Index (ADX).

Example · USDJPY · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_average_directional_index:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["USDJPY"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_average_directional_index(method="rating")

Which returns:

References

  • Paper Wilder, J.W. Jr. (1978). “New Concepts in Technical Trading Systems.” Trend Research.
Share