Technical Analysis

What is ADX (Average Directional Index)?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionThe Average Directional Index (ADX) measures how strong a trend is on a 0 to 100 scale, without saying whether it is up or down. Developed by J. Welles Wilder with a default of 14 periods, an ADX of 30 on the Nifty daily chart says the market is trending firmly, while 15 says it is mostly moving sideways (illustrative readings).
Formula
+DI = 100 × Smoothed +DM ÷ ATR; −DI = 100 × Smoothed −DM ÷ ATR; DX = 100 × |+DI − −DI| ÷ (+DI + −DI); ADX = Wilder-smoothed DX over 14 periods
Example
+DI 28, −DI 12: DX = 100 × 16 ÷ 40 = 40. With yesterday’s ADX at 30: (30 × 13 + 40) ÷ 14 = 30.7 (illustrative)

ADX comes from a family of three lines that Wilder published together in 1978: the positive directional indicator (+DI), the negative directional indicator (−DI) and the ADX itself. The two DI lines tell you which side has been making the larger moves. ADX tells you how one-sided that contest has been, averaged over time.

How ADX is calculated

  1. Directional movement for each bar: up move = today’s high − yesterday’s high; down move = yesterday’s low − today’s low.
  2. +DM equals the up move if it is positive and larger than the down move, otherwise 0. −DM equals the down move if it is positive and larger than the up move, otherwise 0.
  3. Smooth +DM, −DM and true range over 14 bars with Wilder’s method, then divide: +DI = 100 × smoothed +DM ÷ smoothed TR, and the same for −DI.
  4. DX = 100 × |+DI − −DI| ÷ (+DI + −DI). It is high when one side dominates and near 0 when they are balanced.
  5. ADX is DX smoothed again over 14 bars: today’s ADX = (yesterday’s ADX × 13 + today’s DX) ÷ 14.

Worked example on the Nifty daily chart

Illustrative levels. Yesterday Nifty made a high of 25,120 and a low of 25,000 and closed at 25,100. Today it makes a high of 25,200 and a low of 25,050. The up move is 80 points; the down move is 25,000 − 25,050 = −50, which counts as 0. So +DM is 80 and −DM is 0. True range is the largest of 150 (high − low), 100 (high − previous close) and 50 (low − previous close): 150.

+DI (smoothed)
28
−DI (smoothed)
12
DX today
40
ADX (from 30)
30.7

After 14-bar smoothing, suppose +DI is 28 and −DI is 12. DX = 100 × (28 − 12) ÷ (28 + 12) = 40. With yesterday’s ADX at 30, today’s ADX = (30 × 13 + 40) ÷ 14 = 430 ÷ 14 = 30.7. One strong day nudges ADX by less than a point, which is why it reacts slowly.

Reading the levels

Below 20
Weak or no trend. Range and mean-reversion setups tend to fit better here.
20 to 25
The zone many traders use as a threshold. A move up through it suggests a trend is forming.
25 to 40
A clear trend. Pullback entries in the direction of the higher DI are the usual use.
Above 40
A strong, often extended trend. Fading it is risky; trailing stops matter more than new entries.

ADX

Strength only. A reading of 35 looks the same in a rally and in a sell-off.
Answers: is the market trending?

+DI and −DI

Direction. +DI above −DI means up moves have been larger; a crossover is a direction change in that balance.
Answers: which way?

Using it, logging it and where it misleads

  • The level bands above are conventions, not rules from the formula. Some traders use 20, others 25, and short intraday charts often need different levels from daily ones. Choose one and keep it fixed while you collect a sample.
  • As a regime filter: run breakout or trend-pullback setups only when ADX is above your threshold, and range setups only when it is below.
  • In the journal: record ADX and which DI was on top at entry. After 30 or more trades, split expectancy by ADX bucket to see whether the filter earns its keep.
  • Lag: ADX is smoothed twice, so it often confirms a trend after a good part of the move has happened. It is a filter, not an entry trigger.
  • Turning down from a high level means the one-sided pressure is easing. Price may consolidate rather than reverse.

A simple test of the filter: take one setup you already trade, say a pullback to the 20 EMA on the daily chart of liquid NSE stocks, and log ADX at every entry for two or three months without acting on it. Then split the trades into ADX below 20, 20 to 25 and above 25, and compare expectancy in R. If the low-ADX bucket clearly loses while the others pay, you have evidence for a written rule. If the buckets look similar, the filter only reduces your trade count, and you are better off without it.

For traders in India
Nifty’s weekly expiry falls on Tuesday, and event days such as RBI policy announcements and the Union Budget can produce one-day spikes that lift DX sharply. If you trade intraday, tag event and expiry sessions so a few unusual days do not decide whether your ADX filter works.

Reference guide

ContextValueReading
ADX used as a filter for whether to run a trend or a range setupFits its purposePick the threshold in advance and log the ADX value at every entry
Rising ADX read as bullishWrong readingADX rises in strong downtrends too; direction comes from +DI and −DI or from price
Falling ADX from 45 read as a reversal signalOverreachIt says the trend is losing strength; price can keep drifting the same way

Questions

What is a good ADX value?

Readings above 25 are commonly read as a trending market and below 20 as a range. These are conventions; test your own threshold on your setup and timeframe.

How is ADX calculated?

From directional movement (+DM, −DM) and true range, smoothed over 14 periods to give +DI and −DI. DX = 100 × |+DI − −DI| ÷ (+DI + −DI), and ADX is a 14-period Wilder smoothing of DX.

Does a high ADX mean the market will go up?

No. ADX measures strength, not direction. A strong downtrend produces a high ADX too. Check whether +DI or −DI is on top, or simply look at price.

What period should I use for ADX on Nifty?

Wilder’s default is 14 and most platforms start there. Some intraday traders shorten it, which makes the line faster and noisier. Whatever you choose, keep it constant across the trades you compare.

Related terms