On this page
- What is ADX?
- How the average directional index is calculated
- Step 1: directional movement
- Step 2: smooth and compare with the true range
- Step 3: DX and ADX
- Worked example
- How to add the ADX indicator on MT5
- ADX settings
- How to read ADX levels
- ADX trading strategy 1: +DI and -DI crossover with an ADX filter
- Rules for a buy
- Example: EUR/USD (H4)
- ADX trading strategy 2: pullback entries in a strong trend
- Example: gold (H1) downtrend
- ADX trading strategy 3: low ADX for range trading and breakouts
- ADX with other tools
- Best timeframes for the ADX indicator
- Common ADX mistakes
- 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:
| Line | What it shows | How to read it |
|---|---|---|
| ADX | Trend 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.
| Reading | Value |
|---|---|
| +DI | 32 |
| -DI | 12 |
| DX | 100 × (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.
- 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.
- Open a chart, for example EUR/USD on H4.
- Go to Insert → Indicators → Trend → Average Directional Movement Index. On the mobile app, tap the indicator (f) icon and choose Average Directional Movement Index.
- Keep the period at 14 and click OK.
- 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.
- 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 settings | Effect | Typical use |
|---|---|---|
| Period 7–10 | Faster, more signals, more noise | Short-term intraday charts |
| Period 14 | Wilder's default, balanced | Most traders, most timeframes |
| Period 20–30 | Slower, smoother | Swing 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 value | Trend strength | What many traders do |
|---|---|---|
| 0–20 | Weak or no trend | Avoid trend-following; consider range tools |
| 20–25 | Trend may be starting | Watch for a breakout |
| 25–40 | Trending | Trend-following setups work best |
| 40–50 | Strong trend | Stay with the trend; avoid fading it |
| Above 50 | Very strong, often stretched | Watch 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
- +DI crosses above -DI.
- ADX is above 20 or 25 and rising.
- Enter on the close of the crossover candle.
- Place the stop-loss level below the recent swing low.
- 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.
| Item | Level | Calculation |
|---|---|---|
| Entry | 1.1632 | Close after ADX moves above 25 |
| Stop-loss level | 1.1588 | Below the swing low at 1.1592 |
| Planned loss | 44 pips | 1.1632 – 1.1588 |
| Target | 1.1720 | 2 × 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).
- Confirm ADX above 25 with -DI above +DI for a downtrend (or +DI above -DI for an uptrend).
- Wait for price to pull back to a 20 or 50-period moving average, or to a former support and resistance level.
- Look for a reversal candle in the trend direction.
- 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.
| Item | Level | Calculation |
|---|---|---|
| Entry | $4,042 | Close of the engulfing candle |
| Stop-loss level | $4,056 | Above the pullback high |
| Planned loss per ounce | $14 | $4,056 – $4,042 |
| Target | $4,014 | 2 × 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
| Timeframe | How ADX behaves |
|---|---|
| D1 and H4 | Clearest readings; good for deciding the market type |
| H1 | Good for intraday trading in the London and New York sessions |
| M15 | Usable, but readings change quickly |
| M1 and M5 | Very 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
| Mistake | What happens | Better approach |
|---|---|---|
| Using ADX as a bullish signal | ADX rises in uptrends and downtrends | Check +DI and -DI for direction |
| Treating falling ADX as a reversal | Trend may just be pausing | Wait for price structure to change |
| Ignoring that ADX lags | Late entries after big moves | Combine with price action or breakouts |
| Trading every +DI/-DI cross | Many false signals in ranges | Require ADX above 20–25 |
| Using one fixed threshold on every market | Some pairs trend more than others | Review 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:
- Choose an account on the accounts page: Standard (minimum $50), Raw (minimum $250) or Zero (minimum $750).
- 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.
- 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.



