Donchian Channels Explained: Simple Breakout Trading
Donchian Channels are three lines plotted straight from recent price extremes: the highest high of the last N periods, the lowest low of the last N periods, and the midpoint between them. Traders use them to define a breakout mechanically, so a push above the upper line is a buy trigger and a break of the lower line is a sell or exit trigger.
A Donchian Channel is a pure price channel with no smoothing and no volatility formula: the upper band is simply the highest price of the lookback window and the lower band is the lowest. Nothing to tune except the number of periods.
That simplicity is the appeal and the weakness. Below: how the lines are built, a worked trade, a settings table, and why most of these breakouts fail.
The three lines
Upper and lower channel
The upper line is the highest high of the last N periods. Set N to 20 on a daily chart and it is the highest price touched in 20 sessions, flat until a new high prints. The lower line is the lowest low of the same window. Whether the current bar counts differs by platform, which changes when a signal appears.
Middle line
The average of the upper and lower lines. Note what it is not: a moving average of closes. It is the midpoint of the recent range, driven by two extreme prices, so it moves in steps. Traders use it as a trailing stop or as the divider between the halves of the range.
What the channel tells you
Width tells you volatility. A narrow channel means the last N sessions sat inside a tight range. Width is in rupees, so compare a stock against its own history.
A flat channel means no new extremes. Both lines horizontal for several sessions says price is coiled, and those edges usually match hand-drawn support and resistance.
A stepping channel means a trend. An upper line ratcheting higher while the lower stays put is new highs without new lows.
Worked example: one full breakout trade
Take a stock at Rs 1,240 on a daily chart, 20 period setting. Over 20 sessions the highest high was Rs 1,248 and the lowest low Rs 1,180.
So the upper channel is 1,248, the lower is 1,180, and the middle line is (1,248 plus 1,180) divided by 2, or Rs 1,214. Width is Rs 68, about 5.5% of price. Price breaks out and you buy at Rs 1,250.
Stop option one, the middle line at Rs 1,214: risk is Rs 36 per share. Stop option two, a volatility stop: if the 14 period Average True Range is Rs 22, two ATR below entry is Rs 1,206 and risk becomes Rs 44. The ATR indicator puts stops in rupees rather than percentages.
Sizing off that stop: accept Rs 5,000 of loss and 5,000 divided by 36 equals 138 shares. That is 138 multiplied by 1,250, or Rs 1,72,500 of capital for Rs 5,000 of defined risk.
Exit on a break of the 10 period lower channel. If that has trailed up to Rs 1,305 when price breaks it, the gain is Rs 55 per share, so 138 shares return Rs 7,590, about 1.5 times risk. Illustrative numbers only.
Settings reference
| Lookback | What it captures | Typical use | Trade-off |
|---|---|---|---|
| 10 periods | Very recent extremes | Trailing exit for an open position | Exits early, too twitchy for entries |
| 20 periods | About one month of daily bars | Standard breakout entry | Frequent signals, many fail |
| 55 periods | About a quarter of highs and lows | Slower, higher conviction entry | Late entries, wider stops |
| 20 in, 10 out | Classic trend following pair | Complete system with a defined exit | Gives back a slice of every trend |
Intraday, these numbers mean different things. A 20 period channel on a 5 minute chart covers 100 minutes, so expect more signals and more noise.
A system you can define in six lines
- Plot a 20 period Donchian Channel on a liquid stock or index, daily chart.
- Go long only on a close above the upper channel, not an intraday poke through it.
- Set the stop at the middle line or two ATR below entry, whichever suits your risk budget.
- Size so that entry to stop equals a rupee loss decided in advance.
- Trail the stop with the 10 period lower channel as the trade moves your way, and skip new longs while the middle line is falling.
Notice what the rules do not contain: no opinion, no news, no target. Breakout systems earn from a few large trends and lose small amounts often, so they have to be followable in a bad week.
Why do so many Donchian breakouts fail?
Because the upper band is a level everyone can see, and one wick creates a signal.
- Intraday pokes. Price crosses the line for two minutes, triggers stops, then closes back inside the range.
- Flat markets. In a sideways range price touches both bands repeatedly, so you buy the top and sell the bottom of one range. This is the main way traders lose money with channels.
- Stale extremes. One spike 19 sessions ago can hold the band artificially high, so the level has no current relevance.
- No liquidity filter. On a thin counter the breakout may be one large order, and your fill will be worse than the print.
Our note on the false breakout and head fake separates a trap from a genuine expansion. Rising volume and a close in the top quarter of the day’s range are the filters worth adding first.
Risk note: no channel setting predicts anything by itself. Breakout trading brings frequent small losses and needs strict stops.
How is Donchian different from Bollinger Bands and Keltner Channels?
All three draw an envelope around price, but the maths changes what a touch means.
Bollinger Bands use a moving average plus and minus a multiple of standard deviation, so they breathe with volatility and a touch often reads as a stretched condition. Keltner Channels use a moving average plus and minus a multiple of ATR, which makes them smoother and better for trend following.
Donchian ignores averages and volatility formulas. A touch of the upper band is not a stretched reading, it is a new high. That is why it is a breakout tool first and an overbought tool never.
Frequently Asked Questions
What is the best Donchian setting for intraday trading?
There is no single best number, and anyone quoting one is fitting the past. On 5 or 15 minute charts, lookbacks of 10 to 20 periods are common for entries, with a shorter channel for exits. Test any setting over several months on the instrument you trade, choppy stretches included.
Does the current bar count in the calculation?
Platforms differ, and it matters. If the current bar is included, price can never exceed the upper band, so a signal only confirms after the bar closes. If it is excluded, price can trade above the band intraday and give a live signal. Check your software before building rules on either behaviour.
Can Donchian Channels be used for short trades?
Yes, symmetrically. A close below the lower channel is the trigger, the middle line or two ATR above entry is the stop, and a break of the shorter upper channel is the exit. Shorting in the cash market has settlement constraints, so many traders use futures or options instead.
Do Donchian Channels work on indices as well as stocks?
They behave better on indices and liquid large caps, because the highs and lows reflect broad participation rather than one order. On illiquid counters the bands come from prints you could not have transacted at, which makes signals unreliable and fills poor.
How is the middle line different from a 20 day moving average?
The middle line is the midpoint of the highest high and lowest low, so two extreme prices drive it completely. A 20 day moving average uses every close in the window. In a trend the two can sit far apart, and the middle line moves in visible steps while the average slopes gradually.
Key Takeaways
- The upper band is the highest high of N periods, the lower band the lowest low, the middle line their midpoint.
- A touch of the upper band means a new high, not an overbought reading, unlike a Bollinger Band touch.
- The classic pairing is 20 periods in, 10 out, trading away part of every trend for a defined exit rule.
- Size off the stop: entry Rs 1,250 with a stop at Rs 1,214 is Rs 36 of risk per share, so a Rs 5,000 budget allows 138 shares.
- Require a close beyond the band plus rising volume to filter out the intraday pokes behind most failed signals.
- In a sideways range the indicator whipsaws at both edges, so check the middle line’s direction first.




