Trend indicators

Directional Movement Index (DMI) and ADX: Wilder's Formula, How to Read +DI, −DI and ADX, and a Test on Real Prices

J. Welles Wilder's DMI from its documented formula: how +DI, −DI and the Average Directional Index are built, what 20 and 25 mean, and what the crossing rule gave with and without an ADX filter on daily Bitcoin and the S&P 500 ETF.

· Founder of PatternsWizard
Checked 10 min read
DMI(14), ADX(14) on Bitcoin, daily, August 30, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. How +DI, −DI and ADX are calculated
  2. How to read the three lines
  3. Crossings with and without an ADX filter
  4. The crossings on the chart above
  5. Does it work?
  6. Tested on our bench
  7. Frequently asked questions

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 153 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

The Directional Movement Index (DMI) is J. Welles Wilder's system of three lines: +DI measures how much of the recent range came from upward moves, −DI how much came from downward moves, and the Average Directional Index (ADX) measures how strong the trend is, whatever its direction. +DI above −DI points to an uptrend, −DI above +DI to a downtrend, and an ADX above 25 says the trend is strong enough to trade, below 20 that there is none. Wilder published it in his 1978 book New Concepts in Technical Trading Systems with a 14-period setting. Below we compute it on real daily prices and run the crossing rule with and without an ADX filter, on daily Bitcoin from August 23, 2025 and the S&P 500 ETF from February 10, 2025, both to October 28, 2026.

+DI, −DI and ADX on daily Bitcoin

DMI(14), ADX(14) on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • +DI(14) (solid line)
  • −DI(14) (solid line, second color)
  • ADX(14) (dashed line)
DMI(14), ADX(14) on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

How +DI, −DI and ADX are calculated

Directional movement compares each bar with the one before. If today's high minus yesterday's high is larger than yesterday's low minus today's low, and positive, the bar has plus directional movement (+DM) equal to that difference and no minus movement; in the opposite case it has minus directional movement (−DM). An inside bar has neither.

Plus and minus directional movement between two bars

Plus and minus directional movement between two bars: two cases, each with yesterday's bar and today's bar. In the first, today's high is well above yesterday's high and today's low a little below yesterday's low: the up move is larger, so it counts as plus DM and minus DM is zero. In the second, the down move is larger: it counts as minus DM and plus DM is zero.
+DM
today's high minus yesterday's high, when it is the larger move and positive
−DM
yesterday's low minus today's low, when it is the larger move and positive
Schematic, not market data.

Only the larger of the two moves counts, even when both are positive, as in the first case above: an outside bar that reaches far above yesterday's high and a little below its low counts as pure upward movement. Wilder then smooths +DM, −DM and the true range over 14 bars with his own running sum, and divides: +DI is the share of the true range made of upward movement, −DI the share made of downward movement.

How to read the three lines

What you seeWhat it means
+DI above −DIUpward movement dominates: an uptrend over the period
−DI above +DIDownward movement dominates: a downtrend
ADX above 25A strong trend, in Wilder's reading as StockCharts reports it
ADX below 20No trend
ADX risingThe trend, up or down, is strengthening
ADX falling from a high levelThe trend is losing strength, not necessarily reversing

The ADX has no direction: a strong downtrend lifts it as much as a strong uptrend. That is why it is read together with the two DI lines and never alone. Between 20 and 25 is a gray zone, and StockCharts notes that many analysts use 20 as the key level. Over our test periods the ADX was below 25 on 64% of the days on the S&P 500 ETF (275 of 432) against 42% on Bitcoin (183 of 432), which is one reason the filter removed a larger share of the ETF's crossings.

+DI, −DI and ADX on the daily S&P 500 ETF

DMI(14), ADX(14) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • +DI(14) (solid line)
  • −DI(14) (solid line, second color)
  • ADX(14) (dashed line)
DMI(14), ADX(14) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

Crossings with and without an ADX filter

StockCharts describes Wilder's signals as +DI crossing above −DI for a buy and −DI crossing above +DI for a sell, with the ADX above 25 to confirm a trend, and the signal day's low or high as the initial stop. We tested the crossing part on our two daily series: enter at the next open after a crossing, exit at the next open after the opposite crossing, before costs, with Wilder's 14-bar settings. Without a filter the position is reversed at each crossing; with a filter a crossing is taken only if the ADX is at or above the threshold on the signal day, and the trade is still closed at the next opposite crossing. The test starts once the smoothing has settled, on August 23, 2025 for Bitcoin and February 10, 2025 for the S&P 500 ETF (dividend-adjusted prices), and runs to October 28, 2026.

Market and filterTradesWinning tradesResultBars in a position
Bitcoin, no filter2510 of 24+52.63%430 of 432
Bitcoin, ADX ≥ 20145 of 14+20.69%243
Bitcoin, ADX ≥ 2582 of 8−0.71%88
Bitcoin, ADX ≥ 3051 of 5+2.61%77
S&P 500 ETF, no filter399 of 38−3.49%429 of 432
S&P 500 ETF, ADX ≥ 20124 of 12+2.89%160
S&P 500 ETF, ADX ≥ 2562 of 6+2.99%77
S&P 500 ETF, ADX ≥ 3021 of 2+0.73%21

Over the same periods, from the close of the first day to the close of October 28, 2026, holding Bitcoin lost 29.53% and holding the ETF gained 30.19%. The unfiltered results include a short still open on October 28, 2026 on each market. The filter cut the number of trades, as it should, but the two markets did not agree on the rest. On Bitcoin the share of winners fell as the threshold rose, from 10 of 24 to 1 of 5, and the result fell from +52.63% to a loss of 0.71% at 25. On the ETF it rose, from 9 of 38 to 2 of 6 at 25, and a small loss became a small gain, on very few trades. Part of the reason is visible on the chart: the ADX is a smoothed average of a smoothed ratio, so at the start of a new trend it is still low.

DI crossing rule, total result by ADX filter

DI crossing rule, total result by ADX filter. No filter: Bitcoin, from Aug. 23, 2025 +52.63%, S&P 500 ETF, from Feb. 10, 2025 −3.49%; ADX at or above 20: Bitcoin, from Aug. 23, 2025 +20.69%, S&P 500 ETF, from Feb. 10, 2025 +2.89%; ADX at or above 25: Bitcoin, from Aug. 23, 2025 −0.71%, S&P 500 ETF, from Feb. 10, 2025 +2.99%; ADX at or above 30: Bitcoin, from Aug. 23, 2025 +2.61%, S&P 500 ETF, from Feb. 10, 2025 +0.73%. Our computation; the inputs and the method are in the text.
  • Bitcoin, from Aug. 23, 2025
  • S&P 500 ETF, from Feb. 10, 2025
Our computation; the inputs and the method are in the text.Daily bars to October 28, 2026, Wilder's 14-bar settings, entry and exit at the next open, before costs. Holding Bitcoin lost 29.53% and holding the ETF gained 30.19% over the same periods.

The crossings on the chart above

The chart shows daily Bitcoin from February 21 to October 28, 2026. On February 21 the unfiltered system was short, from a crossing on January 20; that short was closed on March 5 with a gain of 17.82%. Every crossing that traded in the window, unfiltered and with the 25 filter:

Crossings (signal day)ADX on the signal dayTrades and results, entry at the next openTaken with the 25 filter
January 20 short, open on February 2131.1+17.82%, closed March 5Yes
Six, March 4 to March 2643.7 falling to 16.6Six losing or flat trades, −0.05% to −6.27%The first three (43.7, 38.7, 31.5)
April 6 long13.7+11.83%, to May 19No
May 18 short, May 20 long25.7, 22.5−0.71%, −2.60%May 18 only
May 22 short20.4+8.21%, to August 20No
August 19 long19.1+19.95%, to October 14, the August and September rallyNo
Five, October 13 to 2229.6 to 18.3+1.48%, +1.33%, −1.28%, −3.18%, and a short still open on October 28, up 0.09%October 13 only

With the 25 filter, the system also held the January 20 short (ADX 31.1) at the start of the window and closed it on March 5 at +17.82%, the best filtered trade of the period, entered on January 21 at 88,427.66 and exited at 72,666.77, after a low close of 62,909.86 in between. It then took the three March crossings at ADX readings of 43.7, 38.7 and 31.5, the late moves of the decline, and lost on all three; it took the May 18 short (ADX 25.7, −0.71%) and the October 13 short (ADX 29.6, +1.48%). It skipped the April 6, May 22 and August 19 crossings, the three largest gains among the trades opened in the window, because the ADX was below 25 on their signal days. In this window the filter kept one strong trend, three late entries and two small trades, and missed the three trends that started from a low ADX.

Bitcoin crossings in the chart window: taken or skipped by the 25 filter

Bitcoin crossings in the chart window: taken or skipped by the 25 filter. Jan. 20 short, ADX 31.1, taken: +17.82%; Mar. 4 long, ADX 43.7, taken: −6.27%; Mar. 6 short, ADX 38.7, taken: −2.69%; Mar. 10 long, ADX 31.5, taken: −2.99%; Apr. 6 long, ADX 13.7, skipped: +11.83%; May 18 short, ADX 25.7, taken: −0.71%; May 22 short, ADX 20.4, skipped: +8.21%; Aug. 19 long, ADX 19.1, skipped: +19.95%; Oct. 13 short, ADX 29.6, taken: +1.48%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Signal days of 2026; each trade enters at the next open and exits at the next open after the opposite crossing. Highlighted: the trades the filter skipped.

Does it work?

The tables above cover two markets, about 14 months of Bitcoin and 20 months of the ETF, before costs, without Wilder's stop on the signal bar; they show how the rules behave, not that they work. Our bench tested the DI crossings, the crossings filtered by the ADX and the ADX rising through its strong-trend level across markets after costs (see our methodology): none beat the market. Most lagged it, and the rest were inconclusive. The results are in the section below. For other trend strength tools see the Aroon indicator and the Choppiness Index, or the full list of trend indicators.

Data from our test bench

Tested on our bench

We coded the 6 strategies taught on this page, buy and sell side, and ran them on stocks, ETFs, indices, forex, crypto and commodities. With all markets pooled (daily bars): 4 did worse than the market, 2 were inconclusive or not measured.

+DI / -DI cross, bullishLagged the market

Entry: +DI(14) closes above -DI(14). Exit: Opposite signal (stop and reverse).

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 384,148 times on 2,352 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 22 bars on each asset.

The average trade returned +0.54% before costs and the median trade −1.14%; 32% of trades made money, and the gains added up to 1.26 times the losses.

A trade lasted 5 bars at the median, half of them between 2 and 15 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.19% per trade after costs (95% interval −0.25% to −0.13%).

Signals
384,1482,352 assets, 1970 to 2026
Average trade
+0.54%before costs; median −1.14%
Winning trades
32%profit factor 1.26
Median hold
5 barshalf between 2 and 15
Vs the market, after costs
−0.19%95% interval −0.25% to −0.13%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.3%51.9%52.3%53.6%55.0%
Random dates50.7%52.0%52.7%53.7%54.8%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012128,124−0.05%
2012 to 2021128,099−0.11%
2021 to 2026127,925−0.11%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.19%
Entry at the next bar's open−0.23%Holds
Trading costs doubled−0.30%Holds
1% most extreme trades trimmed on each side−0.39%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 39% of 382,484 trades hit the target first, for +0.17 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −85.0% on SUNE, signal of 2025-04-07.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

+DI / -DI cross, bullish: real trade on SOL/USDT, 2026-07-20, daily chart
Most recentSOL 2026-07-20 daily chartBought at the close of 2026-07-20 (77.85), sold 3 bars later, when the exit rule fired (75.88): −2.5% before costs.Against the other crypto pairs over the same bars, after costs: −0.4%.+DI-DIADX
+DI / -DI cross, bullish: real trade on BNB/USDT, 2021-01-28, daily chart
Best tradeBNB 2021-01-28 daily chartBought at the close of 2021-01-28 (42.53), sold at the maximum holding time, 100 bars later (646.1): +1,419.3% before costs.Against the other crypto pairs over the same bars, after costs: +143.7%.+DI-DIADX
+DI / -DI cross, bullish: real trade on SUNE, 2025-04-07, daily chart
Worst tradeSUNE 2025-04-07 daily chartBought at the close of 2025-04-07 (10.00), sold 83 bars later, when the exit rule fired (1.50): −85.0% before costs.Against the other stocks over the same bars, after costs: −87.7%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily337,302+0.48%32%−0.18%Inconclusive
ETFsdaily12,375+0.36%35%−0.04%No edge found
Indicesdaily6,321+0.57%36%n/aNot measured
Forexdaily4,083−0.04%30%−0.09%No edge found
Cryptodaily20,445+1.85%22%−0.64%No edge found
Commoditiesdaily3,622+0.29%29%−0.26%No edge found
All markets4-hour160,862+0.10%27%−0.30%Lagged the market
Forex4-hour23,182−0.003%31%−0.04%No edge found
Crypto4-hour137,680+0.12%26%−0.34%Lagged the market
All marketsweekly67,790+2.89%35%−0.39%No edge found
Stocksweekly60,699+2.87%35%−0.36%No edge found
ETFsweekly2,293+1.91%40%−0.05%No edge found
Indicesweekly1,266+2.58%41%+0.10%No edge found
Forexweekly773−0.40%26%−0.44%Lagged the market
Cryptoweekly1,989+7.90%21%n/aNot measured
Commoditiesweekly770+1.75%29%−1.43%No edge found
+DI / -DI cross, bearishInconclusive

Entry: +DI(14) closes below -DI(14). Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 387,813 times on 2,355 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 22 bars on each asset.

The average trade returned −0.57% before costs and the median trade −1.45%; 26% of trades made money, and the gains added up to only 0.76 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 4 bars at the median, half of them between 2 and 13 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.14% per trade after costs (95% interval −0.18% to −0.11%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
387,8132,355 assets, 1970 to 2026
Average trade
−0.57%before costs; median −1.45%
Winning trades
26%profit factor 0.76
Median hold
4 barshalf between 2 and 13
Vs the market, after costs
−0.14%95% interval −0.18% to −0.11%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.7%47.3%46.4%45.9%45.3%
Random dates48.1%47.4%46.9%46.0%45.1%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012129,413+0.03%
2012 to 2021129,153−0.07%
2021 to 2026129,247−0.09%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 385,544 trades hit the target first, for −0.15 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −342.6% on DOGE/USDT, signal of 2021-01-26.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

+DI / -DI cross, bearish: real trade on TRX/USDT, 2026-07-16, daily chart
Most recentTRX 2026-07-16 daily chartSold short at the close of 2026-07-16 (0.3233), bought back 2 bars later, when the exit rule fired (0.3258): −0.8% before costs.Against the other crypto pairs over the same bars, after costs: −2.2%.+DI-DIADX
+DI / -DI cross, bearish: real trade on CYN, 2024-12-09, daily chart
Best tradeCYN 2024-12-09 daily chartSold short at the close of 2024-12-09 (624.0), bought back 98 bars later, when the exit rule fired (5.07): +99.2% before costs.Against the other stocks over the same bars, after costs: +99.0%.+DI-DIADX
+DI / -DI cross, bearish: real trade on DOGE/USDT, 2021-01-26, daily chart
Worst tradeDOGE 2021-01-26 daily chartSold short at the close of 2021-01-26 (0.008247), bought back 2 bars later, when the exit rule fired (0.0365): −342.6% before costs.Against the other crypto pairs over the same bars, after costs: −341.4%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily339,742−0.66%26%−0.12%No edge found
ETFsdaily12,376−0.36%24%−0.02%No edge found
Indicesdaily6,327−0.22%25%n/aNot measured
Forexdaily4,092−0.08%29%−0.09%No edge found
Cryptodaily21,629+0.61%35%−0.60%Lagged the market
Commoditiesdaily3,647−0.52%27%−0.30%Inconclusive
All markets4-hour161,956+0.04%31%−0.27%Lagged the market
Forex4-hour23,131−0.01%29%−0.04%No edge found
Crypto4-hour138,825+0.05%31%−0.31%Lagged the market
All marketsweekly70,105−2.47%23%−0.12%No edge found
Stocksweekly62,696−2.47%23%−0.07%No edge found
ETFsweekly2,312−1.56%20%+0.03%No edge found
Indicesweekly1,266−1.26%19%+0.06%No edge found
Forexweekly776−0.38%28%−0.37%Lagged the market
Cryptoweekly2,296−6.21%31%n/aNot measured
Commoditiesweekly759−1.82%26%−1.27%Inconclusive
DI cross with ADX above 25, bullishLagged the market

Entry: +DI crosses above -DI while ADX(14) is at or above 25. Exit: Opposite DI cross.

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 54,652 times on 2,318 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 155 bars on each asset.

The average trade returned +0.33% before costs and the median trade −1.33%; 31% of trades made money, and the gains added up to 1.13 times the losses.

A trade lasted 5 bars at the median, half of them between 2 and 15 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.57% per trade after costs (95% interval −0.69% to −0.45%).

Signals
54,6522,318 assets, 1970 to 2026
Average trade
+0.33%before costs; median −1.33%
Winning trades
31%profit factor 1.13
Median hold
5 barshalf between 2 and 15
Vs the market, after costs
−0.57%95% interval −0.69% to −0.45%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.8%50.4%50.7%52.2%54.3%
Random dates50.5%51.8%52.4%53.4%54.3%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201218,218−0.38%
2012 to 202018,217−0.40%
2020 to 202618,217−0.62%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.57%
Entry at the next bar's open−0.59%Holds
Trading costs doubled−0.67%Holds
1% most extreme trades trimmed on each side−0.75%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 54,251 trades hit the target first, for +0.15 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −66.5% on DEXE/USDT, signal of 2026-06-22.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

DI cross with ADX above 25, bullish: real trade on DOT/USDT, 2026-07-10, daily chart
Most recentDOT 2026-07-10 daily chartBought at the close of 2026-07-10 (0.8770), sold 2 bars later, when the exit rule fired (0.8440): −3.8% before costs.Against the other crypto pairs over the same bars, after costs: −2.2%.+DI-DIADX
DI cross with ADX above 25, bullish: real trade on SOL/USDT, 2021-01-23, daily chart
Best tradeSOL 2021-01-23 daily chartBought at the close of 2021-01-23 (3.51), sold at the maximum holding time, 100 bars later (45.91): +1,208.8% before costs.Against the other crypto pairs over the same bars, after costs: +100.1%.+DI-DIADX
DI cross with ADX above 25, bullish: real trade on MSTR, 2000-03-01, daily chart
Worst tradeMSTR 2000-03-01 daily chartBought at the close of 2000-03-01 (176.9), sold 13 bars later, when the exit rule fired (86.75): −51.0% before costs.Against the other stocks over the same bars, after costs: −52.4%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily47,024+0.27%32%−0.46%Lagged the market
ETFsdaily1,304+0.18%34%−0.34%Inconclusive
Indicesdaily885+0.57%39%n/aNot measured
Forexdaily631−0.20%28%−0.24%Lagged the market
Cryptodaily4,278+1.05%22%−2.00%Lagged the market
Commoditiesdaily530−0.13%28%−0.46%No edge found
All markets4-hour30,866−0.15%27%−0.53%Lagged the market
Forex4-hour4,233+0.01%31%−0.02%No edge found
Crypto4-hour26,633−0.18%26%−0.61%Lagged the market
All marketsweekly10,183+2.36%33%−0.82%Inconclusive
Stocksweekly9,272+2.59%33%−0.76%Inconclusive
ETFsweekly297+3.36%45%+0.49%No edge found
Indicesweekly179+2.89%43%+0.08%No edge found
Forexweekly93−0.82%25%−0.63%Inconclusive
Cryptoweekly252−6.41%20%n/aNot measured
Commoditiesweekly90−3.24%20%−3.15%Lagged the market
DI cross with ADX above 25, bearishLagged the market

Entry: -DI crosses above +DI while ADX is at or above 25. Exit: Opposite DI cross.

In detail, all markets pooled

On daily bars, the rule fired 64,703 times on 2,339 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 131 bars on each asset.

The average trade returned −0.80% before costs and the median trade −1.59%; 26% of trades made money, and the gains added up to only 0.70 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 5 bars at the median, half of them between 2 and 14 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.32% per trade after costs (95% interval −0.40% to −0.24%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
64,7032,339 assets, 1970 to 2026
Average trade
−0.80%before costs; median −1.59%
Winning trades
26%profit factor 0.70
Median hold
5 barshalf between 2 and 14
Vs the market, after costs
−0.32%95% interval −0.40% to −0.24%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.1%45.8%45.5%45.2%45.4%
Random dates48.2%47.5%47.1%46.3%45.5%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201221,568−0.25%
2012 to 202021,568−0.16%
2020 to 202621,567−0.25%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.32%
Entry at the next bar's open−0.30%Holds
Trading costs doubled−0.43%Holds
1% most extreme trades trimmed on each side−0.35%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 27% of 64,114 trades hit the target first, for −0.18 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −73.6% on EDU/USDT, signal of 2026-04-19.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

DI cross with ADX above 25, bearish: real trade on BCH/USDT, 2026-07-15, daily chart
Most recentBCH 2026-07-15 daily chartSold short at the close of 2026-07-15 (223.1), bought back 23 bars later, when the exit rule fired (214.8): +3.7% before costs.Against the other crypto pairs over the same bars, after costs: −3.6%.+DI-DIADX
DI cross with ADX above 25, bearish: real trade on CYN, 2024-12-09, daily chart
Best tradeCYN 2024-12-09 daily chartSold short at the close of 2024-12-09 (624.0), bought back 98 bars later, when the exit rule fired (5.07): +99.2% before costs.Against the other stocks over the same bars, after costs: +99.0%.+DI-DIADX
DI cross with ADX above 25, bearish: real trade on SRPT, 2016-04-21, daily chart
Worst tradeSRPT 2016-04-21 daily chartSold short at the close of 2016-04-21 (11.02), bought back 8 bars later, when the exit rule fired (18.02): −63.5% before costs.Against the other stocks over the same bars, after costs: −65.0%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily55,610−0.80%26%−0.29%Lagged the market
ETFsdaily1,494−0.77%20%−0.30%Lagged the market, fragile
Indicesdaily969−0.71%21%n/aNot measured
Forexdaily619−0.10%29%−0.10%No edge found
Cryptodaily5,423−0.85%34%−0.76%Inconclusive
Commoditiesdaily588−0.78%27%−0.41%No edge found
All markets4-hour32,113−0.47%30%−0.43%Lagged the market
Forex4-hour4,277+0.01%31%−0.02%No edge found
Crypto4-hour27,836−0.55%29%−0.49%Lagged the market
All marketsweekly14,537−3.43%21%−0.63%Lagged the market
Stocksweekly13,259−3.31%21%−0.56%Inconclusive
ETFsweekly391−3.01%15%−0.41%No edge found
Indicesweekly223−2.73%13%−0.19%No edge found
Forexweekly92−0.61%32%−0.75%No edge found
Cryptoweekly457−10.44%27%n/aNot measured
Commoditiesweekly115−1.38%25%−1.82%No edge found
ADX rises through 25, bullishInconclusive

Entry: ADX(14) closes above 25 after a close at or below it, with +DI above -DI. Exit: Opposite DI cross.

In detail, all markets pooled

On daily bars, the rule fired 79,980 times on 2,332 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 106 bars on each asset.

The average trade returned +0.98% before costs and the median trade −1.67%; 38% of trades made money, and the gains added up to 1.29 times the losses.

A trade lasted 19 bars at the median, half of them between 10 and 31 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.37% per trade after costs (95% interval −0.56% to −0.17%).

Signals
79,9802,332 assets, 1970 to 2026
Average trade
+0.98%before costs; median −1.67%
Winning trades
38%profit factor 1.29
Median hold
19 barshalf between 10 and 31
Vs the market, after costs
−0.37%95% interval −0.56% to −0.17%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.9%50.4%51.1%52.6%53.6%
Random dates50.6%52.0%52.7%53.7%54.8%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201226,665−0.45%
2012 to 202026,664−0.14%
2020 to 202626,651−0.20%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 79,613 trades hit the target first, for +0.13 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −75.3% on NOM/USDT, signal of 2026-01-25.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

ADX rises through 25, bullish: real trade on UNI/USDT, 2026-07-11, daily chart
Most recentUNI 2026-07-11 daily chartBought at the close of 2026-07-11 (3.66), sold 32 bars later, when the exit rule fired (3.58): −2.2% before costs.Against the other crypto pairs over the same bars, after costs: +7.4%.+DI-DIADX
ADX rises through 25, bullish: real trade on BNB/USDT, 2021-02-04, daily chart
Best tradeBNB 2021-02-04 daily chartBought at the close of 2021-02-04 (55.96), sold 98 bars later, when the exit rule fired (571.1): +920.6% before costs.Against the other crypto pairs over the same bars, after costs: +144.6%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily69,760+0.62%39%−0.35%Inconclusive
ETFsdaily2,218+0.45%41%−0.02%No edge found
Indicesdaily1,246+1.00%44%n/aNot measured
Forexdaily749−0.21%32%−0.17%No edge found
Cryptodaily5,254+6.41%32%−0.78%No edge found
Commoditiesdaily753+0.63%37%−0.43%No edge found
All markets4-hour36,572+0.29%30%−0.55%Inconclusive
Forex4-hour4,723−0.03%35%−0.06%No edge found
Crypto4-hour31,849+0.34%30%−0.62%Inconclusive
All marketsweekly17,478+7.92%44%+2.45%No edge found
Stocksweekly15,632+5.80%44%+0.39%No edge found
ETFsweekly532+3.44%50%−0.04%No edge found
Indicesweekly284+3.15%48%+0.34%No edge found
Forexweekly139−0.68%27%n/aNot measured
Cryptoweekly728+91.99%29%n/aNot measured
Commoditiesweekly163+3.41%37%−3.73%No edge found
ADX rises through 25, bearishLagged the market

Entry: Same with -DI above +DI. Exit: Opposite DI cross.

In detail, all markets pooled

On daily bars, the rule fired 62,875 times on 2,315 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 135 bars on each asset.

The average trade returned −1.51% before costs and the median trade −3.25%; 30% of trades made money, and the gains added up to only 0.69 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 17 bars at the median, half of them between 10 and 29 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.45% per trade after costs (95% interval −0.58% to −0.31%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
62,8752,315 assets, 1970 to 2026
Average trade
−1.51%before costs; median −3.25%
Winning trades
30%profit factor 0.69
Median hold
17 barshalf between 10 and 29
Vs the market, after costs
−0.45%95% interval −0.58% to −0.31%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal46.7%45.8%45.1%45.1%43.5%
Random dates48.2%47.6%47.1%46.4%45.6%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201120,959−0.43%
2011 to 202120,959−0.21%
2021 to 202620,957−0.39%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.45%
Entry at the next bar's open−0.39%Holds
Trading costs doubled−0.55%Holds
1% most extreme trades trimmed on each side−0.44%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 26% of 62,192 trades hit the target first, for −0.17 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −209.2% on IDEX/USDT, signal of 2022-05-12.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

ADX rises through 25, bearish: real trade on ATOM/USDT, 2026-06-28, daily chart
Most recentATOM 2026-06-28 daily chartSold short at the close of 2026-06-28 (1.57), bought back 43 bars later, when the exit rule fired (1.40): +11.0% before costs.Against the other crypto pairs over the same bars, after costs: +10.3%.+DI-DIADX
ADX rises through 25, bearish: real trade on AIG, 2008-09-11, daily chart
Best tradeAIG 2008-09-11 daily chartSold short at the close of 2008-09-11 (216.4), bought back at the maximum holding time, 100 bars later (12.70): +94.1% before costs.Against the other stocks over the same bars, after costs: +90.9%.+DI-DIADX

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily54,078−1.65%29%−0.34%Lagged the market
ETFsdaily1,841−1.55%25%−0.24%No edge found
Indicesdaily1,122−1.01%27%n/aNot measured
Forexdaily783−0.38%33%−0.39%Lagged the market
Cryptodaily4,489−0.14%41%−1.85%Lagged the market
Commoditiesdaily562−1.09%33%−0.72%No edge found
All markets4-hour34,064−0.09%38%−0.39%Lagged the market
Forex4-hour4,705−0.01%35%−0.06%No edge found
Crypto4-hour29,359−0.10%38%−0.44%Lagged the market
All marketsweekly10,046−8.43%25%−0.77%No edge found
Stocksweekly9,025−8.67%25%−0.61%No edge found
ETFsweekly347−5.98%25%−2.10%Inconclusive
Indicesweekly215−1.76%30%+0.37%No edge found
Forexweekly150−1.57%29%n/aNot measured
Cryptoweekly206−26.31%25%n/aNot measured
Commoditiesweekly103−9.49%22%−7.36%Lagged the market

Each strategy enters at the close of the signal bar and exits at the exit it teaches, without a stop. The test compares the asset with an equal-weight basket of the other assets of its market over exactly the same bars, net of trading costs; for a sell signal, beating the market means the asset did worse than the others. A result is shown as beating or lagging the market only when it survives a correction for the number of tests and holds in both halves of the history; it is marked fragile when entering at the next open, doubling costs or trimming extreme trades removes it. Daily index bars are not compared with other indices, because their closes fall at different hours; “Not measured” also covers samples too small to test. Rules were fixed before any result was seen. How we test

Frequently asked questions

What is the difference between DMI and ADX?

The DMI is the whole system; the ADX is one of its three lines. +DI and −DI give the direction, the ADX the strength of the trend. The ADX is computed from the two DI lines.

How do you read the DMI indicator?

Check which DI line is on top for the direction, then the ADX for the strength: above 25 a strong trend, below 20 none, in Wilder's reading. A crossing of the DI lines is the classic signal; a rising ADX says the move has force behind it.

What are the best DMI settings?

Wilder's 14 periods are the standard. Shorter periods make the lines cross more often; longer ones make the ADX even slower to react. We have no evidence that another setting is better.

Is an ADX of 25 a good filter?

It is the threshold Wilder is reported to use. On our two daily series it removed most crossing trades; it lowered the share of winners on Bitcoin and raised it on the S&P 500 ETF, on only six trades. On the 2026 Bitcoin chart it kept a January short that gained 17.82%, but skipped the three largest gains among trades opened in the window, because the ADX was still low when those trends started.

Can the ADX tell whether the trend is up or down?

No. The ADX only measures strength; a strong fall raises it as much as a strong rise. The direction comes from +DI and −DI.

What is DX in the DMI?

The directional index, the raw daily value 100 × |+DI − −DI| / (+DI + −DI). The ADX is its 14-period Wilder average, which is the line charts show.

Sources

  1. StockCharts ChartSchool, Average Directional Index (ADX)
  2. StockCharts ChartSchool, Average True Range (ATR)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All trend indicators articles