---
type: "Lesson"
title: "Average directional index (ADX, +DI, -DI)"
description: "The average directional index (ADX) measures how strong a trend has been, from 0 to 100, without saying whether it is up or down; its two companion lines, +DI and -DI, show which direction has…"
tags: ["adx","average directional index","dmi","+di","-di","directional movement","trend strength","wilder"]
sources: [{"id":"s1","resource":"https://en.wikipedia.org/wiki/Average_directional_movement_index"}]
generated: {"by":"process:eqdoc-okf-export","at":"2026-10-25"}
stale_after: "2027-04-25"
x-eqdoc-id: "ta-adx"
x-eqdoc-reviewed-at: "2026-10-25"
x-eqdoc-questions: ["What is ADX?","How do I read ADX, +DI and -DI?","What does an ADX above 25 mean?"]
x-eqdoc-licence-note: "Written by eqdoc in its own words; facts checked against the CC BY-SA page listed"
---

The average directional index (ADX) measures how strong a trend has been, from 0 to 100, without saying whether it is up or down; its two companion lines, +DI and -DI, show which direction has dominated.

- **Who.** J. Welles Wilder introduced the system in 1978. The standard setting is 14 periods. TA-Lib functions: `ADX`, `PLUS_DI`, `MINUS_DI`.
- **How it is built.**
  `Up move = High today - High yesterday; Down move = Low yesterday - Low today`
  `+DM = Up move if it is larger than Down move and above zero, else 0`
  `-DM = Down move if it is larger than Up move and above zero, else 0`
  Smooth +DM, -DM and true range over 14 sessions with Wilder's smoothing, then:
  `+DI = 100 x smoothed +DM / smoothed TR`
  `-DI = 100 x smoothed -DM / smoothed TR`
  `DX = 100 x |+DI - -DI| / (+DI + -DI)`
  `ADX = Wilder-smoothed average of DX over 14`
- **How analysts read it.** An ADX above about 25 is conventionally described as a trending market; below about 20 as weak or no trend. A rising ADX means the trend, whichever way, has been strengthening. When +DI is above -DI, upward movement has outweighed downward over the period; the reverse when -DI is on top. Analysts note the crossings of the two DI lines.
- **A common misreading.** A falling ADX does not mean prices are falling. It means the trend's strength is fading, which can happen in an uptrend or a downtrend.
- **Pitfalls.** ADX is double-smoothed, so it lags noticeably. DI crossings are frequent in sideways markets. The 20 and 25 thresholds are conventions, not laws.
- **India note.** On a daily chart, 14 periods means 14 NSE or BSE sessions. Use split- and bonus-adjusted prices, or the adjustment day shows up as a giant false down move.
