How strong is this trend? ADX, the directional indicators and Aroon
Short answerThe average directional index (ADX) tells you how one-sided recent price movement has been, not which way it went: it rises when price keeps extending in one direction, up or down, and falls when price chops sideways. Its companions, +DI and −DI, show which side has been winning. Aroon asks a related question with a clock instead of a ruler: how many bars ago were the highest high and the lowest low of the last 25 bars? Both describe a trend that has already happened. Both lag, and both can still read "strong" while a trend is turning: in this lesson's synthetic market, ADX peaked at 44.4 two bars after the closing high and was still 39.6 when price had fallen 6.9% from the top.
A trend-strength reading helps you decide which kind of rule fits the chart in front of you: trend-following entries and trailing stops lose money in ranges, and range tactics get run over by trends. The failure cases below show when not to trust that decision.
Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so ADX, the directional indicators and Aroon are taught here for reading charts (as of 26 November 2026).
Average directional index (ADX) and the directional indicators: how one-sided is the movement?#
The average directional index (ADX) measures how one-sided recent price movement has been, on a scale of 0 to 100, without saying whether it was up or down. J. Welles Wilder Jr. introduced it in his 1978 book New Concepts in Technical Trading Systems, together with the plus directional indicator (+DI) and the minus directional indicator (−DI). It uses each bar's high, low and close, no volume, and the default lookback is 14 bars. +DI and −DI are the shares of recent true range that came from upward and from downward extensions. ADX is a smoothed measure of how far apart they are, so a rising ADX means one side is pulling further ahead, whichever side that is.
Three ideas build the indicator:
- Directional movement. Each bar, compare today's high with yesterday's high (the up move) and yesterday's low with today's low (the down move). Only the larger of the two counts, and only if it is positive. That value becomes +DM if it was the up move or −DM if it was the down move. The other is zero.
- True range. The bar's full movement, including any gap from the previous close: the largest of high − low, |high − previous close| and |low − previous close|. It is the input to the average true range (ATR), whose canonical lesson is How much does this market usually move? ATR and historical volatility.
- Smoothing twice. +DM, −DM and true range are averaged over 14 bars to give +DI and −DI. Their gap, the directional index (DX), is then averaged over another 14 bars to give ADX. The second smoothing makes ADX steady, and slow.
A common rule of thumb, which StockCharts attributes to Wilder, reads ADX above 25 as a strong trend and below 20 as no trend, with the band between as a gray zone. Many analysts use 20 alone. These are conventions, not measured boundaries.
ADX needs no volume, so it works on indexes and other series that publish only prices. On a daily stock chart, an overnight gap enters true range through the previous close and enters directional movement through the highs and lows, so one large gap stays in the smoothed sums for many bars. A crypto pair that trades every day rarely gaps between candles, but its daily candle closes at a time the venue chooses, so platforms with different cutoffs show different highs, lows and ADX values. Fourteen daily bars are 14 sessions, almost three weeks, on a US stock chart and 14 calendar days on a crypto chart.
Calculating ADX step by step#
ADX is built in four steps: one-bar directional movement and true range, smoothing into +DI and −DI, the gap between them (DX), and an average of DX (ADX). This example uses ten invented bars and a 5-bar period instead of 14, so the sums stay short. The method is the same.
| Bar | High | Low | Close | +DM | −DM | True range |
|---|---|---|---|---|---|---|
| 0 | 50.0 | 48.0 | 49.0 | – | – | – |
| 1 | 51.0 | 48.5 | 50.5 | 1.0 | 0 | 2.5 |
| 2 | 52.5 | 50.0 | 52.0 | 1.5 | 0 | 2.5 |
| 3 | 52.0 | 49.5 | 50.0 | 0 | 0.5 | 2.5 |
| 4 | 53.5 | 50.0 | 53.0 | 1.5 | 0 | 3.5 |
| 5 | 54.5 | 49.5 | 54.0 | 1.0 | 0 | 5.0 |
| 6 | 54.0 | 52.5 | 53.0 | 0 | 0 | 1.5 |
| 7 | 55.5 | 53.0 | 55.0 | 1.5 | 0 | 2.5 |
| 8 | 56.0 | 54.0 | 55.5 | 0.5 | 0 | 2.0 |
| 9 | 55.5 | 52.0 | 52.5 | 0 | 2.0 | 3.5 |
Four bars show every rule:
- Bar 1, an ordinary up bar. Up move = 51.0 − 50.0 = 1.0. Down move = 48.0 − 48.5 = −0.5. The up move is larger and positive, so +DM = 1.0 and −DM = 0. True range = max(51.0 − 48.5, |51.0 − 49.0|, |48.5 − 49.0|) = max(2.5, 2.0, 0.5) = 2.5.
- Bar 5, an outside bar. Its high rose by 54.5 − 53.5 = 1.0 and its low fell by 50.0 − 49.5 = 0.5. Both moves are positive, so only the larger counts: +DM = 1.0, −DM = 0. True range = 54.5 − 49.5 = 5.0.
- Bar 6, an inside bar. Up move = 54.0 − 54.5 = −0.5 and down move = 49.5 − 52.5 = −3.0. Neither is positive, so both are 0.
- Bar 9, a down bar. Down move = 54.0 − 52.0 = 2.0 and up move = 55.5 − 56.0 = −0.5, so −DM = 2.0. True range = max(55.5 − 52.0, |55.5 − 55.5|, |52.0 − 55.5|) = 3.5. Here the bar's own range and the drop from the previous close happen to be equal. After a gap the previous close matters more, as the exercise at the end shows.
Smoothing directional movement into +DI, −DI and ADX#
Wilder's smoothing starts with a plain sum of the first n one-bar values. On each later bar it removes one nth of the running sum and adds the new bar's value. With n = 5, the sums at bar 5 cover bars 1 to 5: +DM(5) = 1.0 + 1.5 + 0 + 1.5 + 1.0 = 5.0, −DM(5) = 0.5 and TR(5) = 2.5 + 2.5 + 2.5 + 3.5 + 5.0 = 16.0. Then:
- +DI = 100 × 5.0 ÷ 16.0 = 31.25, shown as 31.3.
- −DI = 100 × 0.5 ÷ 16.0 = 3.125, shown as 3.1.
- DX = 100 × |31.25 − 3.125| ÷ (31.25 + 3.125) = 81.8.
At bar 6, +DM(5) = 5.0 − 5.0 ÷ 5 + 0 = 4.0, −DM(5) = 0.5 − 0.1 + 0 = 0.4 and TR(5) = 16.0 − 3.2 + 1.5 = 14.3. The table continues the same way (bar 9's sums rounded to three decimals).
| Bar | +DM(5) | −DM(5) | TR(5) | +DI | −DI | DX |
|---|---|---|---|---|---|---|
| 5 | 5.0 | 0.5 | 16.0 | 31.3 | 3.1 | 81.8 |
| 6 | 4.0 | 0.4 | 14.3 | 28.0 | 2.8 | 81.8 |
| 7 | 4.7 | 0.32 | 13.94 | 33.7 | 2.3 | 87.3 |
| 8 | 4.26 | 0.256 | 13.152 | 32.4 | 1.9 | 88.7 |
| 9 | 3.408 | 2.205 | 14.022 | 24.3 | 15.7 | 21.4 |
The first ADX(5) is the average of the first five DX values: (81.8 + 81.8 + 87.3 + 88.7 + 21.4) ÷ 5 = 72.2, on bar 9. After that, ADX = (previous ADX × 4 + today's DX) ÷ 5. Notice what one down bar did: DX fell from 88.7 to 21.4, but ADX, which averages DX, stayed high. That steadiness is the point of the second smoothing, and also the source of the lag.
With the standard 14-bar period, the first +DI and −DI appear on bar 14 (the 15th bar) and the first ADX on bar 27 (the 28th bar).
Variant used. This lesson follows Wilder's method as StockCharts documents it, with the first smoothed sums made of the first 14 one-bar values. TA-Lib, a widely used open-source library, starts its sums one bar earlier, and its source notes that Wilder's book rounded intermediate values for hand calculation, which the library does not. These differences fade as bars accumulate: on the chart below, a TA-Lib-style start changes the quoted ADX readings by less than 0.1 point.
Reading ADX on a chart#
Read ADX's level and slope for strength, and +DI against −DI for direction. In the synthetic market below, ADX rose above 25 in both the rise and the fall, so a high ADX said "strong trend" both times, and only the DI lines told the two apart. The data are daily bars of a market that trades every day, designed to show a range, a rise, a fall and another range. ADX starts on bar 27 and stays between 10.5 and 16.6 in the opening range: no side dominates. Price then rises from a close of 94.19 on bar 52 to 123.89 on bar 89, falls 26.0% to 91.69 on bar 122 and settles into a range.
- A, bar 64. ADX closes above 25 for the first time in the rise, at 27.0. +DI is 46.9 and −DI 13.2, so the strength is on the up side. The close is 113.22.
- B, bar 91. ADX peaks at 44.4, two bars after the closing high of 123.89.
- C, bar 126. During the fall ADX climbs to 50.1, higher than it ever was in the rise, while −DI is 40.0 and +DI 7.9. A high ADX here describes a strong downtrend.
One common way to use the system, which StockCharts describes as Wilder's, combines the pieces: take a +DI crossing above −DI as a buy signal only when ADX shows a trend, and the reverse for sells. Others use ADX only as a filter, choosing trend-following tools when it is high and range tools when it is low. Either way, the reading comes after the bars that produced it.
When ADX misleads#
ADX misleads most often at the ends of trends. Because it is smoothed twice, it confirms a trend late, peaks after the price extreme and can stay high while price reverses, so a high reading at a turn can describe the trend that is ending. Figure 2 zooms in on the same synthetic rise and turn.
- Late confirmation. When ADX first closed above 25 on bar 64, price had already covered 64% of the rise from 94.19 to 123.89. A trader waiting for ADX to confirm the trend would have bought most of the way up.
- A peak after the top. ADX peaked on bar 91, after the closing high on bar 89. A falling ADX told the reader the rise was losing one-sidedness only once the top was already in.
- A high reading at the start of a reversal. On bar 93 the close was 115.30, 6.9% below the top, yet ADX was 39.6 and +DI (28.2) was still above −DI (27.5). Read literally, that is a strong uptrend. −DI overtook +DI only on bar 95, with ADX still at 34.7.
- No gap between the two trends. ADX stayed above 25 from bar 64 all the way through bar 126. Its lowest reading after the top was 26.3, on bar 109. Someone watching ADX alone saw one long "strong trend" and could miss that the trend had changed direction.
The lesson from these failures is to read ADX together with price and with +DI and −DI, and to expect it to describe the last few weeks of bars, not the next one.
Aroon: how long since the last high and low?#
Aroon measures a trend by time rather than distance: how many bars have passed since the highest high and since the lowest low of the lookback window. Tushar Chande introduced it in the September 1995 issue of Technical Analysis of Stocks & Commodities. The name comes from a Sanskrit word for the first light of dawn, because it was meant to show the start of a trend. It uses only highs and lows, and the default lookback is 25 bars. Aroon up = 100 × (25 − bars since the 25-bar high) ÷ 25 and Aroon down is the same for the low, each from 0 to 100. The Aroon oscillator is Aroon up − Aroon down, from −100 to +100.
The readings follow directly from the formula. Aroon up at 100 means the current bar made the window's highest high. Each bar without a new high subtracts exactly 4 points (100 ÷ 25), so a line falling in a straight diagonal means "no new extreme lately", whatever price is doing. StockCharts summarizes the usual interpretation: Aroon up near 100 with Aroon down low suggests an uptrend, the reverse a downtrend, and both lines low suggest consolidation.
Aroon counts bars, not hours or days. On a US stock chart, weekends and holidays have no bars, so 25 daily bars span about five weeks of sessions. On a crypto pair that trades every day, 25 daily bars are 25 calendar days. On intraday stock charts the window can straddle an overnight break, and a gap at the open can set a new high or low immediately.
Calculating Aroon step by step#
Aroon only needs a count of bars. With a period of n, the window holds the current bar and the n bars before it, n + 1 bars in all, as in TA-Lib. This example uses the same ten bars as the ADX example with n = 5, so each window holds six bars.
| Bar | Highest high in window (bars ago) | Lowest low in window (bars ago) | Aroon up | Aroon down |
|---|---|---|---|---|
| 5 | 54.5 on bar 5 (0) | 48.0 on bar 0 (5) | 100 | 0 |
| 6 | 54.5 on bar 5 (1) | 48.5 on bar 1 (5) | 80 | 0 |
| 7 | 55.5 on bar 7 (0) | 49.5 on bar 5 (2) | 100 | 60 |
| 8 | 56.0 on bar 8 (0) | 49.5 on bar 5 (3) | 100 | 40 |
| 9 | 56.0 on bar 8 (1) | 49.5 on bar 5 (4) | 80 | 20 |
Each value is 100 × (5 − bars ago) ÷ 5. On bar 6, the high of 54.5 was one bar ago, so Aroon up = 100 × (5 − 1) ÷ 5 = 80. On bar 9, the oscillator is 80 − 20 = 60.
Bar 7 shows a tie: the low of 49.5 occurred on bars 3 and 5. This lesson, like TA-Lib, counts from the most recent occurrence, 2 bars ago, which gives 60. Counting from the older bar 3, 4 bars ago, would give 20, so check how your platform breaks ties if two readings disagree. With the default of 25, the window holds 26 bars, and a high exactly 25 bars old still counts, giving Aroon up = 0.
Reading Aroon on a chart#
Figure 3 shows Aroon(25) on the same synthetic market as Figure 1. In the rise, Aroon up sits at or near 100 and Aroon down drifts to 0: price keeps making new highs and no new lows. After each high, Aroon up falls in a straight line, 4 points a bar, until the next one.
- D, bar 88. Aroon up is 100 and Aroon down 0, an oscillator of +100. On this reading the uptrend is as strong as Aroon can show.
- E, bar 98. Aroon down jumps from 20 to 100 because bar 98's low, 106.08, is the lowest of the last 26 bars. Aroon up has fallen to 64, since the top high was 9 bars earlier, and the oscillator turns negative (−36) for the first time since the top. By then the close, 108.02, was 12.8% below the high close. The DI lines had crossed three bars earlier: on bar 98, −DI was 40.4 and +DI 18.2.
Aroon reacts the moment a new extreme prints, with no smoothing, so it can turn faster than ADX. But it needs a new 26-bar low before Aroon down can rise at all, and here that took a 12.8% fall.
When Aroon misleads#
Aroon misleads in ranges, because any new high or low in the window, however small, counts as fully as a breakout. Figure 4 shows the final range of the synthetic market, bars 133 to 170, between 92.72 and 103.98.
Price opened the range at a close of 99.40 on bar 133 and ended it at 98.22 on bar 170. Along the way, Aroon up reached 100 on bar 147, when a high of 103.98 set a new 26-bar high, and the oscillator read +100, the strongest uptrend reading it can give. Twenty bars later, on bar 167, Aroon down reached 100 and the oscillator read −80, and it went as low as −84. A trader treating +100 as "strong uptrend" and −80 as "strong downtrend" would have been whipsawed while price went nowhere. Over the same stretch, from bar 147 on, ADX stayed between 16.0 and 22.2, a correct description of a market with no dominant side.
The opposite failure happens in slow trends: if each new high is only marginal, Aroon up still reads 100, the same as after a powerful breakout. Aroon measures when, not how far.
How ADX and Aroon compare#
ADX and Aroon both describe trend strength after the fact, but they measure different things and fail in different ways. ADX measures distance: how much of the recent movement was one-sided. Aroon measures time: how recently the extremes occurred. In the synthetic examples, ADX was late at the turns but steady in the range, while Aroon responded to every new extreme, including meaningless ones inside the range.
| ADX with +DI and −DI | Aroon | |
|---|---|---|
| Measures | How one-sided recent movement was | Bars since the highest high and lowest low |
| Inputs | High, low, close | High, low |
| Default lookback | 14 bars, smoothed twice | 25 bars, no smoothing |
| Direction | +DI versus −DI | Aroon up versus Aroon down |
| Typical failure | Late confirmation, high readings into a reversal | Full-strength readings from small new extremes in a range |
Neither forecasts the next bar. Their use is to describe the market you are looking at, so you can judge whether a trend-following or a range-trading idea fits it, as discussed in Is this market trending or stuck in a range?.
Check your understanding: ADX and Aroon#
Part 1, ADX. Yesterday a daily bar had a high of 80.0, a low of 77.0 and a close of 79.0. Today the market gapped up: high 83.0, low 80.5, close 82.0.
- What are today's +DM, −DM and true range?
- On another chart, ADX(14) is 38 and rising, +DI is 14 and −DI is 33. A friend says ADX shows a strong market to buy. What does the reading actually say?
Part 2, Aroon. On a daily chart with Aroon(25), the highest high in the window was 7 bars ago and the lowest low 20 bars ago.
- What are Aroon up, Aroon down and the oscillator?
- Price then moves sideways for five bars without a new high or a new low. What are the three readings now?
Show the answers
Answer.
Part 1:
- Up move = 83.0 − 80.0 = 3.0. Down move = 77.0 − 80.5 = −3.5, which is negative. So +DM = 3.0 and −DM = 0. True range = max(83.0 − 80.5, |83.0 − 79.0|, |80.5 − 79.0|) = max(2.5, 4.0, 1.5) = 4.0. The gap makes the true range larger than the bar's own 2.5 range.
- ADX at 38 and rising says the trend is strong and getting more one-sided. −DI above +DI says that trend is down. The reading describes a strengthening fall, not a buying opportunity, and like any ADX reading it describes the bars already printed.
Part 2:
- Aroon up = 100 × (25 − 7) ÷ 25 = 72. Aroon down = 100 × (25 − 20) ÷ 25 = 20. Oscillator = 72 − 20 = +52.
- The high is now 12 bars old: Aroon up = 100 × (25 − 12) ÷ 25 = 52. The low is now 25 bars old, still inside the 26-bar window: Aroon down = 0. The oscillator is 52 − 0 = +52, unchanged, even though both lines fell. The oscillator alone hides that no new extreme has printed for five bars.
Related lessons#
- Before this lesson: Is this market trending or stuck in a range? and How much does this market usually move? ATR and historical volatility, which explains true range.
- Next: Where would a trailing stop sit? Parabolic SAR, Supertrend and the Chandelier Exit, which uses Wilder's other trend tool.
- See also: What does MACD show, and why does it lag?, Why do two traders read the same chart differently? and What is look-ahead bias, and how does it get into a backtest?