CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

ADX and DMI explained

This guide shows what ADX, +DI and −DI measure, how they are calculated, how to set them up in MetaTrader and the market conditions where they give a false picture.

Extrade Pakistan editorial team ·

On this page
  1. The idea in plain words
  2. How ADX is calculated
  3. Default settings
  4. How to add ADX in MT4 and MT5
  5. A drawn example
  6. How traders use it
  7. Where ADX misleads
  8. Risk note
  9. Frequent questions

The idea in plain words

The Directional Movement system was designed by J. Welles Wilder. It has a set of lines in one window under the price chart:

The +DI and −DI lines together are called the DMI (directional movement index). The ADX line is built from them.

ADX tells you nothing about direction. A rising ADX can come with a falling market just as easily as a rising one. Direction comes from comparing +DI with −DI. Strength comes from ADX.

ADX is a lagging indicator. It is built from smoothed past data, so it confirms a move after the move has started. See leading vs lagging indicators for what that means in practice.

25ADX 14ADX+DI-DI
ADX: the strength of a trend, whatever its direction. The coloured lines show which side dominates. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

How ADX is calculated

For each candle:

  1. Upward move = current high minus previous high.
  2. Downward move = previous low minus current low.
  3. +DM equals the upward move if it is positive and larger than the downward move. Otherwise it is zero.
  4. −DM equals the downward move if it is positive and larger than the upward move. Otherwise it is zero.
  5. True Range (TR) is the largest of these: current high minus current low, the gap from the previous close to the current high, or the gap from the previous close to the current low. This is the same TR used in the ATR indicator.

Next, +DM, −DM and TR are smoothed over the chosen period with Wilder's smoothing. This is a slow form of exponential averaging.

The smoothing happens twice, first in the DI lines and then in ADX. That double smoothing is why ADX reacts slowly.

Default settings

The indicator has one main input, the period. MetaTrader fills in Wilder's original value by default, and most traders leave it there.

Many traders mark a "trend threshold" on the ADX scale with a horizontal level. They read readings above it as a trending market and readings below it as a weak or ranging one. No universal level exists. Check how ADX behaved on past data for the instrument and timeframe you trade before you rely on any line.

How to add ADX in MT4 and MT5

The versions are not identical. The standard MT4/MT5 ADX does not smooth exactly the way Wilder's original method does. The "Wilder" version in MT5 follows his calculation more closely. The same period can therefore give different readings on different platforms or charting sites. Pick one version and stay with it when you compare charts.

You can practise reading the indicator on a demo account before using it with real money.

A drawn example

The sketch below is illustrative and shows no real prices.

What to notice:

How traders use it

These are common uses, not signals:

Where ADX misleads

Risk note

No indicator removes risk. Trading leveraged forex and CFDs can lose money fast, sometimes more quickly than an indicator can react. Set position size and stop levels before you enter a trade. The risk management guide covers how.

Frequent questions

What does the ADX indicator show?

It shows the strength of price movement, without direction. Direction comes from comparing +DI with −DI.

What is the difference between ADX and DMI?

DMI is the pair of directional lines, +DI and −DI. ADX is a smoothed measure of the gap between them.

What are the usual ADX indicator settings?

Most traders keep the default period MetaTrader shows, which is Wilder's original value. Shorter periods react faster but give more noise. Longer periods are smoother but slower.

Does a falling ADX mean the trend has reversed?

No. It means the movement is losing strength. Price may move sideways, pull back or carry on more slowly.

How do I use ADX in forex?

Mostly as a filter. It helps you judge whether a pair is trending or ranging, and you combine it with price structure and other tools. It is not a signal on its own.

Why does my ADX look different from another chart?

Platforms use different smoothing methods. MT5 offers both a standard ADX and a Wilder version, and the two give different values.

Related pages