Free trial
Menu
Strategy guide

Explore Donchian Channel Breakout Rules

A Donchian channel marks the highest high and the lowest low of the last N periods. A Donchian breakout strategy buys when the price makes a new N-period high and sells when it makes a new N-period low. It is one of the oldest and simplest trend-following systems, best known as the basis of the Turtle Traders' rules in the 1980s.

QuantPower Research · Updated 3 Nov 2026 · 4 min read

This guide explains how the channel works, the classic rules, a worked example, why breakout systems have low win rates, and how to automate and test a Donchian strategy.

At a glance

Donchian channel breakout
StyleLong-term trend following
InstrumentsIndex futures, stocks, commodities
TimeframeUsually daily candles
IndicatorHighest high and lowest low of the last N periods
EntryA break of the N-period high or low
ExitA break of a shorter channel in the opposite direction

How the Donchian channel works

The channel was developed by Richard Donchian, a pioneer of systematic trend following.

  • Upper line: the highest high of the last N periods, such as 20 days.
  • Lower line: the lowest low of the last N periods.
  • Middle line: the average of the two, used by some as a reference.

When the price breaks above the upper line, it has made a new 20-day high, a simple sign of upward momentum.

The classic rules

The best-known version comes from the Turtle Traders, trained by Richard Dennis and William Eckhardt in 1983:

  1. Entry: buy when the price exceeds the 20-day high; sell short when it falls below the 20-day low.
  2. Exit: exit longs when the price falls below the 10-day low; exit shorts when it rises above the 10-day high.
  3. Stop: a stop at 2 times the 20-day ATR from entry.
  4. Size: set the position so that a one-ATR move equals a fixed small share of capital.
  5. Longer system: a slower version used a 55-day breakout with a 20-day exit.

The exit channel is shorter than the entry channel so that the strategy exits faster than it enters, protecting part of the gains.

A worked example

This is a hypothetical example, not a result.

  • A stock's 20-day high is ₹1,240. The 20-day ATR is ₹28.
  • The stock trades at ₹1,242, a new 20-day high. The algo buys 50 shares at ₹1,242, with a stop at 2 × ATR below, ₹1,186. The risk is 50 × ₹56 = ₹2,800.
  • The stock trends to ₹1,390 over two months. The 10-day low rises with it, to ₹1,352.
  • The price falls to ₹1,351, below the 10-day low. The algo sells at ₹1,351, for a gain of 50 × ₹109 = ₹5,450 before costs.
Donchian channel rules: buy ₹1,242 on a new 20-day high, stop ₹1,186 at 2 × ATR, exit on a close below the rising 10-day low (illustration)

Why breakout systems have low win rates

Many breakouts fail. The price makes a new high, then falls back. A Donchian system typically wins far less than half the time, sometimes a third or less, and depends on a few large trends to pay for many small losses. That makes it psychologically hard to follow by hand, and well suited to automation, which follows the rules through the losing streaks.

Settings and variations

SettingsBehaviour
20-day entry, 10-day exitThe classic short-term Turtle system
55-day entry, 20-day exitSlower, fewer and longer trades
Intraday channels, such as the last 30 candlesFaster signals for intraday trading, with more noise

Variations include a trend filter, such as trading only in the direction of the 200-day moving average, or skipping a breakout if the previous breakout was a winner, as one Turtle rule did.

When Donchian breakouts work, and when they fail

Works best when: markets make long, sustained trends, such as strong bull runs or prolonged declines.

Struggles when: markets move sideways for months, producing breakout after breakout that reverses.

Position sizing with ATR

Sizing by ATR keeps risk consistent across instruments and volatility levels. If you are willing to lose 1% of a ₹10 lakh account, or ₹10,000, on a one-ATR move, and the ATR is ₹28, you can hold about 357 shares. Our ATR volatility strategy and position size calculator explain this method.

Automating a Donchian strategy

Breakout systems trade rarely and lose often, which makes discipline the hardest part. QuantPower's strategy builder lets you set breakout conditions, ATR-based stops and channel exits, and run the strategy as a bot. Test it over a long history in the backtesting engine and in paper trading before going live.

Start your free trial

Connect your broker, build a strategy and test it on paper before a single live order goes out.

Backtesting tips

  • Use a long history. Trend-following results depend on a few big trends, so short tests can be misleading.
  • Include costs and slippage, especially on breakout entries, which often fill at worse prices.
  • Check the longest losing streak and the maximum drawdown.
  • Test across instruments. A trend-following idea should work on more than one market.

Frequently asked questions

What is a Donchian channel?

A channel drawn from the highest high and the lowest low of a set number of periods.

What did the Turtle Traders use?

A 20-day breakout entry with a 10-day exit, and a slower 55-day breakout with a 20-day exit, with stops and position sizes based on ATR.

Do Donchian breakouts work on Indian stocks?

Breakout strategies are used on Indian stocks and index futures. Like all trend-following systems, they do well in trending periods and poorly in sideways markets.

Why is the exit channel shorter than the entry channel?

So the strategy exits a fading trend faster than it would enter a new one, keeping more of the gains.

Sources

  • Faith, C. (2007). Way of the Turtle. McGraw-Hill
  • Wilder, J. W. (1978). New Concepts in Technical Trading Systems. Trend Research (Average True Range)
The example on this page is hypothetical and for illustration. Trading involves substantial risk. This guide is for education and is not investment advice.