Volatility indicators

Donchian Channel: Formula, Turtle Rules, and a Breakout Test on Five Markets

How the Donchian channel turns the 20-day high and low into breakout signals, what the Turtle rules added, every breakout on a recent Bitcoin chart with what came next, and how the bare breakout fared on five markets.

· Founder of PatternsWizard
Checked 12 min read
Donchian Channel(20) on Bitcoin, daily, August 30, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. How the Donchian channel is calculated
  2. How traders read the channel
  3. The Turtle rules
  4. The channel on a real chart
  5. A breakout test on five markets
  6. Does it work?
  7. Tested on our bench
  8. 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 Donchian channel draws the highest high and the lowest low of the last 20 bars around price, with a middle line halfway between. When price trades above the upper line it has made a new 20-day high; below the lower line, a new 20-day low. That simple rule was the entry signal of the Turtle traders, and it is still the core of many trend-following systems. Below: the formula, the Turtle rules as published by former Turtles, every breakout on a recent Bitcoin chart with what followed, and a test of three channel lengths on five markets over 9 to 33 years.

Donchian Channel(20) on daily Bitcoin

Donchian Channel(20) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Upper, highest high of the previous 20 bars (solid line, second color)
  • Lower, lowest low of the previous 20 bars (solid line)
  • Middle, (upper + lower) / 2 (dashed line)
  • Close above the upper line (new 20-bar closing breakout, first day)
  • Close below the lower line (first day)
  • Shaded area between the bands
Donchian Channel(20) on Bitcoin, daily, July 1, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

How the Donchian channel is calculated

StockCharts publishes the indicator as Price Channels and notes that it was developed by Richard Donchian. The upper line is the 20-day high, the lower line the 20-day low and the centerline their average. StockCharts builds the channel from the bars before the current one: a 20-day channel for October 21 uses the 20 days that end on October 20. That is what makes a break possible. If the current bar were included, its own high would set the upper line, and price could touch the line but never close above it.

Which bars set the Donchian channel

Which bars set the Donchian channel: a row of candles in a shaded window. The upper line is the highest high of these previous bars, the lower line their lowest low, and the middle line halfway between. Today's bar, outside the window, rises above the upper line: a breakout. Today's own high does not count in the lines.
Schematic, not market data.

The lines only move when an old extreme drops out of the window or a new one is set, which is why they look like steps. The channel width, upper minus lower, is a plain measure of how far price has ranged over the period: it widens in volatile markets and narrows in quiet ones. Unlike Bollinger Bands or the Keltner channel, there is no average or volatility formula behind it, only the extremes.

How traders read the channel

What you seeThe usual reading
Price above the upper lineA new high for the period: a trend follower's buy signal
Price below the lower lineA new low for the period: a sell or short signal
Price crossing the middle lineHalfway between the extremes; some traders use it as a trailing exit
Upper line rising, lower line flatHigher highs without lower lows: an uptrend
Channel narrowingThe range is shrinking: a quiet market

StockCharts adds that the channel can also be used to spot overbought and oversold levels inside a larger trend, for example a pullback to the lower line in an uptrend. That is a different use from the breakout, and the two give opposite instructions at the same line, so pick one before the trade.

Donchian Channel(20) on the daily S&P 500 ETF

Donchian Channel(20) on S&P 500 ETF, dividend-adjusted prices, daily, May 8, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Upper, highest high of the previous 20 bars (solid line, second color)
  • Lower, lowest low of the previous 20 bars (solid line)
  • Middle, (upper + lower) / 2 (dashed line)
  • Close above the upper line (new 20-bar closing breakout, first day)
  • Close below the lower line (first day)
  • Shaded area between the bands
Donchian Channel(20) on S&P 500 ETF, dividend-adjusted prices, daily, May 8, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

The same channel on the S&P 500 ETF, over its last 120 sessions from May 8 to October 28, 2026, shows a market that rose (from 733.90 to 772.31 on our adjusted closes): it closed above the upper line on 14 days and below the lower line on only 3, on July 29, September 10 and September 16.

The Turtle rules

The best-known use of the channel is the system taught to the Turtle traders by Richard Dennis and William Eckhardt. The rules published in 2003 by former Turtles describe two entries, each based on Donchian's channel breakout:

  • System 1: enter on a 20-day breakout, a price above the high or below the low of the preceding 20 days. Exit longs on a 10-day low and shorts on a 10-day high. A System 1 breakout was skipped if the previous breakout would have been a winner, but a 55-day breakout was always taken so that a big trend was not missed.
  • System 2: enter on a 55-day breakout, exit on a 20-day breakout against the position.
  • Entries during the day: the Turtles entered when the level was exceeded during the day, not at the close or the next open; when the market opened through the level, they entered at the open.
  • Position size and stops: N, a 20-day average of the true range, set the size of each unit so that a 1 N move was 1% of account equity, and stops were placed 2 N from the entry, so a stopped-out unit lost about 2%. N is an average true range by another name; see also position sizing.

The channel is the entry; most of the system is in the exits, the stops and the sizing. A plain channel breakout without them is not the Turtle system, which is why the test below calls itself a breakout test.

Entry on the long channel, exit on the short one

Entry on the long channel, exit on the short one: a price line with two step lines. The solid step line is the high of a longer window of previous bars; the dashed one, drawn after the entry, is the low of a shorter window. A green dot marks the buy where price rises above the long-window high; a red dot marks the exit where price later falls below the short-window low.
Schematic, not market data. Window lengths are schematic; the first Turtle system exited on a window half as long as its entry window.

The channel on a real chart

The 120-day Bitcoin chart above shows the daily Donchian(20) from July 1 to October 28, 2026, using the 20 bars before each day. The marks show the first close outside the channel; a close that stays outside on the following days does not get a new mark. There were five, and this is everything that followed each one, with the classic exit, the first close below the low of the previous 10 days after an upside break, or above the high of the previous 10 days after a downside break.

First close outsideCloseChannel line10 bars later20 bars laterFirst 10-day exit
Above, July 14, 202665,043.9864,700−1.39%−2.34%September 15 at 75,644.48, +16.30%
Above, July 21, 202666,556.1665,799−5.51%−3.89%September 15, +13.66%
Above, August 19, 202669,334.7965,474.46+12.83%+13.16%September 15, +9.10%
Below, September 15, 202675,644.4876,046.58+11.18%+13.38%September 18 at 80,883.87, −6.93% for a short
Above, September 21, 202686,62082,300−2.01%−3.29%October 8 at 81,754.45, −5.62%

Read as a single long-or-short position on the closes, starting flat on July 1 (the last short, opened on the downside close of May 22, had been closed on June 14), the window held three trades. The long from July 14 went nowhere for a month, then rode the August rally and was closed on September 15 for +16.30%. The same close was a new 20-day low; the short taken there lost 6.93% in three days as price jumped, and the upside break on September 21 lost 5.62% before its exit on October 8. No signal was open on October 28. Two of the three trades lost, and the one winner paid for both: that is the usual shape of a breakout system, a minority of trades carrying the result. Bitcoin itself rose from 60,024 to 81,343.50 over the window, +35.52%, against about +2.16% for the three trades compounded.

Donchian(20) on daily Bitcoin, July 1 to October 28, 2026

Donchian(20) on daily Bitcoin, July 1 to October 28, 2026. Long, July 14 to September 15: +16.30%; Short, September 15 to September 18: −6.93%; Long, September 21 to October 8: −5.62%; The three trades, compounded: +2.16%; Bitcoin itself over the window: +35.52%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Entries and exits on closes outside the 20-day channel and the 10-day exit channel, before costs.

A breakout test on five markets

We ran the bare channel breakout on five daily series, long only and then short only, with three entry and exit pairs: 10/5, 20/10 (Turtle System 1 without the skip rule) and 55/20 (System 2). Entries and exits are taken during the day as in the Turtle rules: at the channel level, or at the open when the market gaps through it. No stops, no filters, no position sizing (the whole account in each trade), no costs and no interest on cash. Every system and the buy-and-hold line start on the same day, the 56th bar of each series, so that the 55-day channel exists; equity is marked to market each day, and a position still open on October 28, 2026 is valued at that close. A trade cannot be closed on the bar it was opened, and after an exit a new entry is possible only from the next bar. A short's return is (entry − exit) / entry, and returns are compounded trade by trade; an open short is valued at 1 + (entry − close) / entry.

Market, from20/10 long: trades, winners, total, worst drawdown55/20 longBuy and hold
S&P 500 ETF, April 20, 1993202, 51.5%, +416.2%, −34.2%105, 49.5%, +280.2%, −29.9%+3,053.1%, −55.2%
Gold ETF, February 8, 2005122, 47.5%, +247.9%, −19.5%54, 51.9%, +210.2%, −24.8%+805.3%, −45.6%
20+ year Treasury ETF, October 16, 2002123, 41.5%, +100.0%, −25.6%55, 49.1%, +52.4%, −36.6%+114.5%, −48.4%
Commodity ETF, April 26, 2006108, 44.4%, +101.2%, −34.5%47, 46.8%, +160.2%, −34.0%+66.5%, −76.4%
Bitcoin, October 11, 201765, 46.2%, +3,310.6%, −46.3%31, 51.6%, +3,239.8%, −65.2%+1,587.1%, −83.2%

20/10 long breakout against buy and hold: final value per $1

20/10 long breakout against buy and hold: final value per $1. S&P 500 ETF, from April 20, 1993: 20/10 long breakout $5.16, Buy and hold $31.53; Gold ETF, from February 8, 2005: 20/10 long breakout $3.48, Buy and hold $9.05; 20+ year Treasury ETF, from Oct. 16, 2002: 20/10 long breakout $2.00, Buy and hold $2.15; Commodity ETF, from April 26, 2006: 20/10 long breakout $2.01, Buy and hold $1.67; Bitcoin, from October 11, 2017: 20/10 long breakout $35.11, Buy and hold $16.87. Our computation; the inputs and the method are in the text. Logarithmic scale: equal distances mean equal ratios, and each power of ten sits the same distance from the next.
  • 20/10 long breakout
  • Buy and hold
Our computation; the inputs and the method are in the text. Logarithmic scale: equal distances mean equal ratios, and each power of ten sits the same distance from the next.To October 28, 2026, before costs, ETF prices adjusted for dividends. On this logarithmic scale the S&P 500 ETF buy-and-hold bar looks about twice as long as the system's but stands for six times the money.

Trades and winners count closed trades. Positions open on October 28, 2026, valued in the totals at that close: the 20/10 long on the Treasury ETF since October 22 (entry 81.00, −0.01%), the 20/10 long on the commodity ETF since October 16 (33.52, +0.81%) and the 55/20 long on it since August 17 (30.57, +10.53%); among the 20/10 shorts, the S&P 500 ETF since October 23 (758.79, −1.78%), gold since September 10 (396.45, +5.79%) and Bitcoin since October 24 (79,800, −1.93%). ETF prices are adjusted for dividends, which favors buy and hold, since the system holds the ETF only part of the time. Three things stand out:

Worst drawdown: 20/10 long breakout against buy and hold

Worst drawdown: 20/10 long breakout against buy and hold. S&P 500 ETF: 20/10 long breakout −34.2%, Buy and hold −55.2%; Gold ETF: 20/10 long breakout −19.5%, Buy and hold −45.6%; 20+ year Treasury ETF: 20/10 long breakout −25.6%, Buy and hold −48.4%; Commodity ETF: 20/10 long breakout −34.5%, Buy and hold −76.4%; Bitcoin: 20/10 long breakout −46.3%, Buy and hold −83.2%. Our computation; the inputs and the method are in the text.
  • 20/10 long breakout
  • Buy and hold
Our computation; the inputs and the method are in the text.Largest fall from a previous equity high, marked to market each day, same start dates as the table.
  • Smaller drawdowns everywhere. The long breakout was in the market 38% to 51% of the days with the 20/10 pair, and its worst drawdown was smaller than buy and hold's on all five markets, at both lengths.
  • Beating buy and hold depends on the market. In this test before costs, both lengths beat buy and hold on the commodity ETF and on Bitcoin, the two markets with the deepest buy-and-hold drawdowns. On the S&P 500 ETF and gold they made far less, and on long Treasuries somewhat less (+100.0% and +52.4% against +114.5%). On the S&P 500 ETF the 20/10 system spent 12.1 years under its previous equity high, from January 8, 1999 to February 7, 2011.
  • Short breakouts mostly lost. With the 20/10 pair, shorting new lows lost 78.3% on the S&P 500 ETF, 56.2% on gold and 29.7% on Treasuries, and gained 16.1% on the commodity ETF and 41.0% on Bitcoin. The shorter 10/5 pair did worse on the stock ETF (−87.3%). Markets that rise over time punish a system that sells every new low.

20/10 short breakout: total result

20/10 short breakout: total result. S&P 500 ETF: −78.3%; Gold ETF: −56.2%; 20+ year Treasury ETF: −29.7%; Commodity ETF: +16.1%; Bitcoin: +41.0%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Shorting every new 20-day low and covering on a new 10-day high, same start dates, before costs and borrowing fees.

The faster 10/5 pair traded about twice as often as 20/10 and its long side ended at +146.1% on the S&P 500 ETF, +463.9% on gold, +36.7% on Treasuries, +97.6% on the commodity ETF and +1,650.2% on Bitcoin, from the same start dates. With costs, the extra trades would cut into that.

Does it work?

The test above is one family of rules, on five markets, before costs. It shows what a bare channel breakout does: it cuts drawdowns by sitting out long declines, and it wins or loses against buy and hold depending on whether the market trends hard in both directions. It is not a test of the full Turtle system, which traded a diversified futures portfolio with sizing, stops and the skip rule. Our bench tested the shorter and the longer Turtle breakouts across markets after costs, entering at the close and comparing each trade with the other assets of the same market over the same bars (see our methodology): the shorter breakout in both directions and the longer downside breakout lagged the market, and the longer upside breakout showed no edge. The results are in the section below. The channel pattern page has those statistics for a drawn channel, a different object from this indicator.

For other channel tools, see the Keltner channel, Bollinger Bands and the STARC Bands, or the full list of volatility indicators.

Data from our test bench

Tested on our bench

We coded the 4 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): 3 did worse than the market, 1 showed no edge.

Donchian 20-bar breakout (exit 10), bullishLagged the market

Entry: Close above the highest high of the previous 20 bars. Exit: Close below the lowest low of the previous 10 bars (above the 10-bar high for shorts), Turtle exit.

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 404,467 times on 2,335 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 21 bars on each asset.

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

A trade lasted 20 bars at the median, half of them between 11 and 34 bars.

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

Signals
404,4672,335 assets, 1970 to 2026
Average trade
+0.91%before costs; median −1.80%
Winning trades
39%profit factor 1.26
Median hold
20 barshalf between 11 and 34
Vs the market, after costs
−0.50%95% interval −0.74% to −0.29%

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 signal49.0%50.1%51.0%52.7%53.9%
Random dates50.8%52.3%53.0%54.2%55.4%

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 2011134,857−0.68%
2011 to 2020134,801−0.18%
2020 to 2026134,809−0.35%

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.50%
Entry at the next bar's open−0.51%Holds
Trading costs doubled−0.60%Holds
1% most extreme trades trimmed on each side−0.78%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 402,975 trades hit the target first, for +0.11 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: −85.5% on GME, signal of 2021-01-27.

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.

Donchian 20-bar breakout (exit 10), bullish: real trade on LTC/USDT, 2026-07-18, daily chart
Most recentLTC 2026-07-18 daily chartBought at the close of 2026-07-18 (47.01), sold 11 bars later, when the exit rule fired (45.45): −3.3% before costs.Against the other crypto pairs over the same bars, after costs: +3.3%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), bullish: real trade on TNDM, 2018-04-04, daily chart
Best tradeTNDM 2018-04-04 daily chartBought at the close of 2018-04-04 (5.41), sold at the maximum holding time, 100 bars later (38.37): +609.2% before costs.Against the other stocks over the same bars, after costs: +534.4%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), bullish: real trade on GME, 2021-01-27, daily chart
Worst tradeGME 2021-01-27 daily chartBought at the close of 2021-01-27 (86.88), sold 9 bars later, when the exit rule fired (12.58): −85.5% before costs.Against the other stocks over the same bars, after costs: −86.6%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), bullish: real trade on AVY, 2010-04-06, daily chart
Typical tradeAVY 2010-04-06 daily chartBought at the close of 2010-04-06 (25.88), sold 22 bars later, when the exit rule fired (25.43): −1.7% before costs.Against the other stocks over the same bars, after costs: +2.4%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily357,539+0.55%39%−0.49%Lagged the market
ETFsdaily15,686+0.33%41%−0.14%No edge found
Indicesdaily8,920+0.81%43%n/aNot measured
Forexdaily3,562−0.09%35%−0.10%No edge found
Cryptodaily15,062+10.70%32%−1.32%No edge found
Commoditiesdaily3,698+0.39%37%−0.61%No edge found
All markets4-hour123,234+0.17%32%−0.67%Lagged the market
Forex4-hour21,181−0.03%36%−0.06%No edge found
Crypto4-hour102,053+0.21%31%−0.80%Lagged the market
All marketsweekly90,722+5.54%44%−0.49%No edge found
Stocksweekly81,829+5.60%44%−0.39%No edge found
ETFsweekly3,745+3.20%48%−0.05%No edge found
Indicesweekly2,194+2.78%47%−0.21%No edge found
Forexweekly624−0.44%32%n/aNot measured
Cryptoweekly1,577+18.33%26%n/aNot measured
Commoditiesweekly753+2.69%38%−3.34%No edge found
Donchian 20-bar breakout (exit 10), bearishLagged the market

Entry: Close below the lowest low of the previous 20 bars. Exit: Close below the lowest low of the previous 10 bars (above the 10-bar high for shorts), Turtle exit.

In detail, all markets pooled

On daily bars, the rule fired 289,208 times on 2,356 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 29 bars on each asset.

The average trade returned −1.80% before costs and the median trade −3.44%; 31% of trades made money, and the gains added up to only 0.66 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 28 bars.

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

Signals
289,2082,356 assets, 1970 to 2026
Average trade
−1.80%before costs; median −3.44%
Winning trades
31%profit factor 0.66
Median hold
17 barshalf between 10 and 28
Vs the market, after costs
−0.60%95% interval −0.75% to −0.44%

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.2%46.6%45.6%44.8%43.6%
Random dates48.3%47.7%47.2%46.5%45.7%

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 201296,419−0.58%
2012 to 202196,461−0.35%
2021 to 202696,328−0.56%

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.60%
Entry at the next bar's open−0.55%Holds
Trading costs doubled−0.70%Holds
1% most extreme trades trimmed on each side−0.54%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 286,247 trades hit the target first, for −0.18 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: −474.1% on GXS/USDT, signal of 2021-09-28.

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.

Donchian 20-bar breakout (exit 10), bearish: real trade on ATOM/USDT, 2026-07-19, daily chart
Most recentATOM 2026-07-19 daily chartSold short at the close of 2026-07-19 (1.48), bought back 23 bars later, when the exit rule fired (1.44): +2.8% before costs.Against the other crypto pairs over the same bars, after costs: −2.6%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), 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 89 bars later, when the exit rule fired (4.73): +99.2% before costs.Against the other stocks over the same bars, after costs: +99.0%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), bearish: real trade on QURE, 2025-09-23, daily chart
Worst tradeQURE 2025-09-23 daily chartSold short at the close of 2025-09-23 (13.66), bought back 1 bar later, when the exit rule fired (47.50): −247.7% before costs.Against the other stocks over the same bars, after costs: −249.6%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low
Donchian 20-bar breakout (exit 10), bearish: real trade on ON, 2018-12-19, daily chart
Typical tradeON 2018-12-19 daily chartSold short at the close of 2018-12-19 (16.43), bought back 11 bars later, when the exit rule fired (17.00): −3.5% before costs.Against the other stocks over the same bars, after costs: −0.3%.Donchian 20 highDonchian 20 lowDonchian 10 highDonchian 10 low

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily247,029−2.09%30%−0.50%Lagged the market
ETFsdaily9,167−1.34%28%−0.23%No edge found
Indicesdaily4,950−1.26%28%n/aNot measured
Forexdaily3,666−0.28%33%−0.28%Lagged the market
Cryptodaily21,153+0.94%46%−2.02%Lagged the market
Commoditiesdaily3,243−0.91%33%−0.69%No edge found
All markets4-hour144,905−0.42%39%−0.60%Lagged the market
Forex4-hour20,237−0.06%35%−0.09%Inconclusive
Crypto4-hour124,668−0.48%39%−0.69%Lagged the market
All marketsweekly42,744−8.08%27%−1.42%Inconclusive
Stocksweekly37,183−7.92%26%−1.28%No edge found
ETFsweekly1,258−3.74%27%−0.08%No edge found
Indicesweekly661−4.44%25%−1.19%Lagged the market
Forexweekly659−1.19%29%n/aNot measured
Cryptoweekly2,408−22.69%32%n/aNot measured
Commoditiesweekly575−5.21%31%−4.90%Lagged the market
Donchian 55-bar breakout (exit 20), bullishNo edge found

Entry: Close above the highest high of the previous 55 bars. Exit: Close below the lowest low of the previous 20 bars (above the 20-bar high for shorts), Turtle exit.

In detail, all markets pooled

On daily bars, the rule fired 263,027 times on 2,304 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 32 bars on each asset.

The average trade returned +1.94% before costs and the median trade −2.23%; 40% of trades made money, and the gains added up to 1.44 times the losses.

A trade lasted 36 bars at the median, half of them between 21 and 64 bars. 9% of trades never met the exit rule and were closed at the maximum holding time.

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

Signals
263,0272,304 assets, 1970 to 2026
Average trade
+1.94%before costs; median −2.23%
Winning trades
40%profit factor 1.44
Median hold
36 barshalf between 21 and 64
Vs the market, after costs
−0.56%95% interval −1.03% 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 signal48.7%49.7%50.6%52.1%53.3%
Random dates50.9%52.4%53.2%54.4%55.7%

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 201187,692−0.85%
2011 to 201987,714−0.21%
2019 to 202687,621−0.34%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 36% of 262,409 trades hit the target first, for +0.09 R per trade on average against +0.16 R for the same trade at random dates of the same assets: a small difference from random dates that does not survive the correction for the number of tests.

Worst single trade of the whole test: −88.1% on BNED, signal of 2024-05-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.

Donchian 55-bar breakout (exit 20), bullish: real trade on REYN, 2026-06-05, daily chart
Most recentREYN 2026-06-05 daily chartBought at the close of 2026-06-05 (22.26), sold 57 bars later, when the exit rule fired (24.20): +8.7% before costs.Against the other stocks over the same bars, after costs: +0.6%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bullish: real trade on DOGE/USDT, 2021-01-28, daily chart
Best tradeDOGE 2021-01-28 daily chartBought at the close of 2021-01-28 (0.0365), sold at the maximum holding time, 100 bars later (0.6371): +1,645.5% before costs.Against the other crypto pairs over the same bars, after costs: +181.4%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bullish: real trade on BNED, 2024-05-22, daily chart
Worst tradeBNED 2024-05-22 daily chartBought at the close of 2024-05-22 (111.6), sold 12 bars later, when the exit rule fired (13.23): −88.1% before costs.Against the other stocks over the same bars, after costs: −88.0%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bullish: real trade on JEF, 2019-12-12, daily chart
Typical tradeJEF 2019-12-12 daily chartBought at the close of 2019-12-12 (16.82), sold 50 bars later, when the exit rule fired (16.46): −2.2% before costs.Against the other stocks over the same bars, after costs: +2.9%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily233,459+1.41%40%−0.53%No edge found
ETFsdaily10,979+0.66%42%−0.20%No edge found
Indicesdaily6,280+1.36%44%n/aNot measured
Forexdaily2,035−0.29%33%−0.32%No edge found
Cryptodaily7,993+21.11%33%−2.28%No edge found
Commoditiesdaily2,281+1.52%40%−0.82%No edge found
All markets4-hour63,967+1.22%34%−0.97%Lagged the market
Forex4-hour12,756−0.02%36%−0.03%No edge found
Crypto4-hour51,211+1.53%33%−1.20%Lagged the market
All marketsweekly66,594+9.34%46%n/aNot measured
Stocksweekly60,476+9.42%45%n/aNot measured
ETFsweekly2,920+6.32%50%n/aNot measured
Indicesweekly1,740+8.63%51%+1.81%No edge found
Forexweekly349−1.41%28%n/aNot measured
Cryptoweekly657+26.72%25%n/aNot measured
Commoditiesweekly452+6.03%47%n/aNot measured
Donchian 55-bar breakout (exit 20), bearishLagged the market

Entry: Close below the lowest low of the previous 55 bars. Exit: Close below the lowest low of the previous 20 bars (above the 20-bar high for shorts), Turtle exit.

In detail, all markets pooled

On daily bars, the rule fired 147,797 times on 2,348 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 57 bars on each asset.

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

A trade lasted 30 bars at the median, half of them between 19 and 50 bars. 4% of trades never met the exit rule and were closed at the maximum holding time.

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

Signals
147,7972,348 assets, 1970 to 2026
Average trade
−3.51%before costs; median −5.37%
Winning trades
30%profit factor 0.56
Median hold
30 barshalf between 19 and 50
Vs the market, after costs
−0.97%95% interval −1.17% to −0.76%

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.5%46.9%45.8%44.3%42.6%
Random dates48.4%47.8%47.4%46.7%46.0%

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 201249,285−1.03%
2012 to 202149,328−0.63%
2021 to 202649,184−0.94%

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.97%
Entry at the next bar's open−0.94%Holds
Trading costs doubled−1.07%Holds
1% most extreme trades trimmed on each side−0.85%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 145,907 trades hit the target first, for −0.18 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: −917.0% on UNFI/USDT, signal of 2022-05-11.

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.

Donchian 55-bar breakout (exit 20), bearish: real trade on ATOM/USDT, 2026-07-19, daily chart
Most recentATOM 2026-07-19 daily chartSold short at the close of 2026-07-19 (1.48), bought back 25 bars later, when the exit rule fired (1.50): −1.7% before costs.Against the other crypto pairs over the same bars, after costs: −10.3%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bearish: real trade on CYN, 2024-12-13, daily chart
Best tradeCYN 2024-12-13 daily chartSold short at the close of 2024-12-13 (492.0), bought back 93 bars later, when the exit rule fired (5.07): +99.0% before costs.Against the other stocks over the same bars, after costs: +98.7%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bearish: real trade on AIG, 2009-03-05, daily chart
Worst tradeAIG 2009-03-05 daily chartSold short at the close of 2009-03-05 (4.32), bought back 9 bars later, when the exit rule fired (17.02): −294.3% before costs.Against the other stocks over the same bars, after costs: −231.0%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low
Donchian 55-bar breakout (exit 20), bearish: real trade on CRL, 2009-12-08, daily chart
Typical tradeCRL 2009-12-08 daily chartSold short at the close of 2009-12-08 (31.96), bought back 14 bars later, when the exit rule fired (33.70): −5.4% before costs.Against the other stocks over the same bars, after costs: 0.0%.Donchian 55 highDonchian 55 lowDonchian 20 highDonchian 20 low

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily126,120−3.92%28%−0.80%Lagged the market
ETFsdaily4,465−1.82%28%−0.04%No edge found
Indicesdaily2,357−2.14%28%n/aNot measured
Forexdaily2,056−0.57%31%−0.61%Lagged the market
Cryptodaily11,004−0.56%48%−3.39%Lagged the market
Commoditiesdaily1,795−1.36%31%−1.59%No edge found
All markets4-hour79,476−1.12%39%−0.82%Lagged the market
Forex4-hour11,859−0.04%36%−0.07%No edge found
Crypto4-hour67,617−1.31%39%−0.95%Lagged the market
All marketsweekly20,181−14.96%27%−2.00%No edge found
Stocksweekly17,332−14.76%27%−1.89%No edge found
ETFsweekly589−6.16%31%n/aNot measured
Indicesweekly311−7.16%25%−0.19%No edge found
Forexweekly358−1.49%33%n/aNot measured
Cryptoweekly1,305−43.50%33%n/aNot measured
Commoditiesweekly286−10.78%31%−4.27%Inconclusive

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 Donchian channel?

A channel drawn at the highest high and the lowest low of the last 20 bars (the length can be changed), with a middle line halfway between. StockCharts publishes it as Price Channels and credits it to Richard Donchian.

What is the best setting for the Donchian channel?

20 bars is the usual default and the Turtle System 1 entry; 55 bars was the System 2 entry. In our test, neither length was better on every market: 20/10 made more than 55/20 on the S&P 500 ETF, gold and Treasuries, less on the commodity ETF and about the same on Bitcoin.

Is the Donchian channel a trend or a volatility indicator?

Both. Its signals are trend-following breakouts, and its width, the distance between the highest high and the lowest low, measures how far price has ranged over the period.

What is the Donchian channel strategy?

The classic one buys a break above the upper line and sells a break below a shorter channel, for example a 20-day entry with a 10-day exit as in Turtle System 1. Most of the result comes from a few long trends, so most trades lose a little.

What is the difference between the Donchian channel and Bollinger Bands?

The Donchian channel uses only the highest high and lowest low, so its lines move in steps. Bollinger Bands use a moving average and the standard deviation of closes, so they move every bar and contract in quiet markets around the average rather than around the range.

Why does the Donchian channel use the previous bars?

So that a breakout can happen. If the current bar is in the window, its own high sets the upper line and price can never close above it.

Sources

  1. StockCharts ChartSchool, Price Channels
  2. The Original Turtle Trading Rules (OriginalTurtles.org, 2003), PDF copy
  3. 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 volatility indicators articles