Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure
Education10 min read

ADX indicator guide: how the average directional index measures trend strength

Learn the ADX indicator: what the average directional index measures, +DI and -DI, MT5 ADX settings, how to read ADX levels and simple strategy examples.

ADX indicator below an EUR/USD H4 chart with ADX rising above 25 and +DI crossing above -DI at 1.1632 (example prices)
On this page
  1. What is ADX?
  2. How the average directional index is calculated
  3. Step 1: directional movement
  4. Step 2: smooth and compare with the true range
  5. Step 3: DX and ADX
  6. Worked example
  7. How to add the ADX indicator on MT5
  8. ADX settings
  9. How to read ADX levels
  10. ADX trading strategy 1: +DI and -DI crossover with an ADX filter
  11. Rules for a buy
  12. Example: EUR/USD (H4)
  13. ADX trading strategy 2: pullback entries in a strong trend
  14. Example: gold (H1) downtrend
  15. ADX trading strategy 3: low ADX for range trading and breakouts
  16. ADX with other tools
  17. Best timeframes for the ADX indicator
  18. Common ADX mistakes
  19. Practise the ADX indicator with Xellion

The ADX indicator answers a question that most other indicators skip: is there a trend worth trading at all? ADX stands for average directional index. It measures the strength of a trend on a scale from 0 to 100, without saying whether that trend is up or down. Its two companion lines, +DI and -DI, show the direction.

This matters because many strategies only work in one type of market. A moving average crossover or breakout system does well in strong trends and loses repeatedly in ranges. An overbought and oversold system does the opposite. The average directional index helps you decide which type of market is in front of you before you pick a tool. This guide explains what ADX is, how it is calculated, how to add it on MT5, how to read ADX levels, and three ADX trading strategy examples on forex and gold. All prices in this article are example prices.

What is ADX?

When traders ask "what is ADX", the short answer is: a trend strength indicator. The ADX indicator was developed by J. Welles Wilder and published in 1978 in his book "New Concepts in Technical Trading Systems", the same book that introduced the RSI indicator and the average true range. Wilder called the complete system the directional movement system. On many platforms it is also called the directional movement index, or DMI.

The system has three lines:

LineWhat it showsHow to read it
ADXTrend strength (0–100)Rising = trend strengthening; falling = trend weakening
+DI (positive directional indicator)Strength of upward movement+DI above -DI = buyers in control
-DI (negative directional indicator)Strength of downward movement-DI above +DI = sellers in control

The key idea: ADX tells you how strong, and +DI and -DI tell you which way.

How the average directional index is calculated

You do not need to calculate ADX by hand, since MT5 does it for you, but knowing the steps helps you read it.

Step 1: directional movement

For each candle:

  • Up move = current high – previous high.
  • Down move = previous low – current low.
  • If the up move is larger than the down move and greater than zero, +DM equals the up move; otherwise +DM is zero.
  • If the down move is larger than the up move and greater than zero, -DM equals the down move; otherwise -DM is zero.

So each candle counts as either upward directional movement, downward directional movement, or neither.

Step 2: smooth and compare with the true range

+DM, -DM and the true range (the same true range used in the ATR indicator) are smoothed over 14 periods. Then:

  • +DI = 100 × smoothed +DM ÷ smoothed true range
  • -DI = 100 × smoothed -DM ÷ smoothed true range

Step 3: DX and ADX

  • DX = 100 × |+DI – -DI| ÷ (+DI + -DI)
  • ADX = a smoothed average of DX over 14 periods

Because DX uses the difference between +DI and -DI, it rises whenever one side dominates, whether that side is buyers or sellers. That is why ADX shows trend strength but not direction.

Worked example

All figures are example figures.

ReadingValue
+DI32
-DI12
DX100 × (32 – 12) ÷ (32 + 12) = 45.5

A DX of about 45 means one side is clearly dominant. If DX stays around this level for several candles, ADX will climb towards it, signalling a strong trend. Since +DI is above -DI, the trend is up.

How to add the ADX indicator on MT5

ADX is a standard indicator on MetaTrader 5, so there is nothing to download.

  1. Open MT5 and log in (server Xellion-Live). New to the platform? Follow our MT5 download, login and setup guide for Android, iPhone, PC and web.
  2. Open a chart, for example EUR/USD on H4.
  3. Go to Insert → Indicators → Trend → Average Directional Movement Index. On the mobile app, tap the indicator (f) icon and choose Average Directional Movement Index.
  4. Keep the period at 14 and click OK.
  5. ADX and the +DI and -DI lines appear in a window below the chart. Add a horizontal level at 25 in the Levels tab for quick reference.
  6. Save the chart as a template.

MT5 also lists Average Directional Movement Index Wilder, which uses Wilder's original smoothing. Values differ slightly from the standard version, but both are read in the same way. Pick one and stay consistent.

ADX settings

ADX settingsEffectTypical use
Period 7–10Faster, more signals, more noiseShort-term intraday charts
Period 14Wilder's default, balancedMost traders, most timeframes
Period 20–30Slower, smootherSwing trading on H4 and D1

Start with 14. A shorter period makes ADX react sooner but produces more false readings during choppy sessions.

How to read ADX levels

ADX valueTrend strengthWhat many traders do
0–20Weak or no trendAvoid trend-following; consider range tools
20–25Trend may be startingWatch for a breakout
25–40TrendingTrend-following setups work best
40–50Strong trendStay with the trend; avoid fading it
Above 50Very strong, often stretchedWatch for exhaustion

These levels are guidelines, not fixed rules. Some traders use 20 as the trend threshold, others 25.

Three more points matter as much as the level itself:

  • Direction of ADX. A rising ADX means the trend is gaining strength, whichever way it points. A falling ADX means the trend is losing strength, even if the level is still above 25.
  • ADX turning down from a high level. When ADX peaks above 40 and turns down, the trend often pauses or moves into a range. It does not necessarily reverse.
  • ADX does not equal direction. A falling market with a rising ADX is a strengthening downtrend. Always check +DI and -DI.

ADX trading strategy 1: +DI and -DI crossover with an ADX filter

This is Wilder's original idea, with an ADX filter to avoid weak signals.

Rules for a buy

  1. +DI crosses above -DI.
  2. ADX is above 20 or 25 and rising.
  3. Enter on the close of the crossover candle.
  4. Place the stop-loss level below the recent swing low.
  5. Exit or trail the stop if -DI crosses back above +DI or ADX turns down sharply.

Reverse the rules for a sell.

Example: EUR/USD (H4)

All prices are example prices.

  • EUR/USD has been ranging; ADX sits at 18.
  • Price breaks above resistance at 1.1620. On the next H4 candle, +DI crosses above -DI, and ADX rises from 18 to 24, then 27 on the following candle.
  • The entry candle closes at 1.1632. The last swing low is 1.1592.
ItemLevelCalculation
Entry1.1632Close after ADX moves above 25
Stop-loss level1.1588Below the swing low at 1.1592
Planned loss44 pips1.1632 – 1.1588
Target1.17202 × stop distance

The ADX filter made the difference here: earlier +DI and -DI crosses while ADX was below 20 would have been inside the range.

ADX trading strategy 2: pullback entries in a strong trend

When ADX is above 25 and rising, pullbacks against the trend are often bought (in an uptrend) or sold (in a downtrend).

  1. Confirm ADX above 25 with -DI above +DI for a downtrend (or +DI above -DI for an uptrend).
  2. Wait for price to pull back to a 20 or 50-period moving average, or to a former support and resistance level.
  3. Look for a reversal candle in the trend direction.
  4. Enter with a stop beyond the pullback extreme.

Example: gold (H1) downtrend

All prices are example prices.

  • Gold (XAU/USD) is falling on H1. ADX reads 34 and rising; -DI is well above +DI.
  • During the New York session, around 8:00 pm IST, price pulls back to the 20-period moving average near $4,048 and prints a bearish engulfing candle closing at $4,042.
ItemLevelCalculation
Entry$4,042Close of the engulfing candle
Stop-loss level$4,056Above the pullback high
Planned loss per ounce$14$4,056 – $4,042
Target$4,0142 × stop distance

On most MT5 accounts, 1 lot of gold is 100 ounces, so at 0.01 lot each $1 move is worth about $1. A $14 stop at 0.01 lot is a planned loss of about $14, before costs.

ADX trading strategy 3: low ADX for range trading and breakouts

A low ADX is useful information too.

  • ADX below 20 and flat: the market is ranging. Range tools such as the RSI or stochastic oscillator, buying near support and selling near resistance, tend to work better than trend-following.
  • ADX rising from below 20 to above 25: the range may be ending. Combined with a close outside the range, this is a common breakout confirmation.

Many traders treat a long spell of very low ADX as a coiled spring: the quieter the market, the more likely a larger move eventually follows. ADX cannot tell you which direction, so wait for the break and for +DI or -DI to take the lead.

ADX with other tools

The ADX indicator strategy works best when combined with structure and timing tools:

  • Trend structure: Dow theory defines a trend as higher highs and higher lows. ADX measures how strong that trend is. See Dow theory explained.
  • Order blocks: continuation order blocks tend to hold better when ADX is above 25. Read order block trading.
  • Elliott wave: wave 3 is often the strongest wave, and ADX frequently reaches its highest readings during it. See the Elliott wave theory guide.
  • Price action: use price action trading signals such as pin bars and engulfing candles for entries once ADX confirms a trend.
  • Momentum: RSI tells you whether price is stretched; ADX tells you whether the trend is strong enough that "overbought" may simply mean strong.

For the wider picture, see our guide to technical analysis in forex.

Best timeframes for the ADX indicator

TimeframeHow ADX behaves
D1 and H4Clearest readings; good for deciding the market type
H1Good for intraday trading in the London and New York sessions
M15Usable, but readings change quickly
M1 and M5Very noisy; ADX crosses 25 often

ADX on intraday charts follows the Indian trading day. On most forex pairs, it tends to stay low during early IST morning hours and often rises after the London open (about 1:30 pm IST in winter) and during the London–New York overlap (roughly 6:30 pm to 9:30 pm IST in winter). Scalping is not permitted at Xellion, so use ADX on M15 and higher timeframes where trends have time to develop.

Common ADX mistakes

MistakeWhat happensBetter approach
Using ADX as a bullish signalADX rises in uptrends and downtrendsCheck +DI and -DI for direction
Treating falling ADX as a reversalTrend may just be pausingWait for price structure to change
Ignoring that ADX lagsLate entries after big movesCombine with price action or breakouts
Trading every +DI/-DI crossMany false signals in rangesRequire ADX above 20–25
Using one fixed threshold on every marketSome pairs trend more than othersReview each market's typical ADX on a demo

News can also push ADX higher in a single candle. Check the economic calendar before entering around US data, often released at about 7:00 pm IST in winter.

Practise the ADX indicator with Xellion

The ADX indicator is built into MetaTrader 5 (server Xellion-Live), and you can follow positions on the Xellion app for iOS and Android or on WebTrader. A free demo account lets you test ADX levels, +DI and -DI crosses and pullback entries with live prices and no real money.

When you are ready to go live:

  1. Choose an account on the accounts page: Standard (minimum $50), Raw (minimum $250) or Zero (minimum $750).
  2. Fund it on the funding page: UPI deposits are instant from $50, bank transfer from $100 and crypto from $10. Bank withdrawals typically take about 15–20 minutes and crypto withdrawals are instant.
  3. Decide the market type first. Check ADX, choose a trend or range approach, then size the trade from your stop-loss level.

CFDs are complex instruments and carry a high risk of losing money. Not investment advice.

What is the ADX indicator?

The ADX indicator, or average directional index, measures trend strength on a scale of 0 to 100. It does not show direction; the +DI and -DI lines that come with it show whether buyers or sellers are in control.

What is a good ADX value?

Many traders treat ADX above 25 as a trending market and below 20 as a weak trend or range. Readings above 40 suggest a strong trend, and above 50 a very strong, possibly stretched one.

What are the best ADX settings?

The standard ADX setting is 14 periods, Wilder's original choice and the MT5 default. Shorter periods react faster but give more false signals; longer periods suit swing trading.

Does a high ADX mean price will go up?

No. A high ADX only means the trend is strong. The trend can be up or down. Check whether +DI or -DI is on top.

What is the difference between ADX and DMI?

DMI, the directional movement index, usually refers to the full system of +DI, -DI and ADX. ADX is the single line within it that measures trend strength.

Is the ADX indicator available on MT5?

Yes. Average Directional Movement Index is a standard MT5 indicator under Insert, Indicators, Trend. MT5 also includes a Wilder version with the original smoothing.

Can ADX be used for gold trading?

Yes. ADX works on gold (XAU/USD) the same way as on forex pairs, helping you tell trending sessions from ranging ones before you choose a strategy.

This article is general information and education, not investment advice. CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage.

Ready to put it into practice?
Open an account in minutes, or practise on a free demo first.

Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Blog articles are general information and education, not investment advice. Risk disclosure