This lesson starts a new module of the strategy library: the Donchian channel breakout. Before we look at the strategy, we need the tool it's built on. By the end of this lesson, you'll be able to work out the three lines of a Donchian channel by hand. You'll explain why they move in steps instead of curves. You'll also spot the one detail about today's candle that trips up a lot of tests.
1 of 7
What you'll learn
- Draw a Donchian channel. Top is the highest high, bottom the lowest low of N candles.
- Choose N. 20 is common, and it works on any timeframe.
- Read its steps. The lines move only on a new extreme or when an old one drops out.
- Watch its width. Wide in busy stretches, narrow in quiet ones.
- Use the channel from before today. Then price can close above the top line.
Exercise
- On a daily chart of MES1!, add Donchian Channels.
- Pick one day and work out the top line by hand from the last 20 highs.
- Check whether it matches the line on that day or the day before.
Quick check
1. What is the top line of a 20-candle Donchian channel?
2. The top line steps down, but price didn't fall. Why?
3. If the channel counts today's candle, can today close above the top line?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
A Donchian channel is three lines over the candles: the highest high of the last N candles, the lowest low of the same candles, and a middle line halfway between them.
- A Lines at the highest high and lowest low of the last few candles, with a middle line halfway between. Named after Richard Donchian.More in the glossary has three lines: the top is the highest high of the last N One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary, the bottom is the lowest low, and the middle is halfway between. It's named after Richard Donchian, whom you met in Auction theory and rules-based trading.
- N is a choice. 20 is common: on a daily chart, 20 trading days is about a month. The channel works on any How much time each candle covers, such as 1 minute or 1 hour.More in the glossary.
- The lines move in flat steps. They change only when price makes a new extreme, or when the old extreme drops out of the window.
- The distance between the lines shows how far price has travelled over N candles: wide in a busy, How much and how quickly price moves. A market that swings a lot is called volatile.More in the glossary stretch, narrow in a quiet one. See What volatility is.
- Many platforms count the current candle in the N. Then the top line sits on today's high and price can never close above it. Breakout rules compare price with the channel from the N candles before today.
Worked example
Made-up numbersWorking out a 5-candle channel
Made-up numbers · A small futures contract on the S&P 500, traded at CME Group. Each point is worth $5, and its smallest step of 0.25 is worth $1.25.More in the glossary · daily
- Highest high of the last 5 candles: 5,841.00
- Lowest low: 5,795.00
- Middle: (5,841 + 5,795) ÷ 2 = 5,818.00
- Two days later the 5,841 candle drops out: the top steps down to 5,838.00
The top changed because an old high got too old to count, not because price moved.
Your turn
DrillLast 5 highs: 5,842.50 · 5,851.00 · 5,847.25 · 5,855.75 · 5,849.00 · Last 5 lows: 5,820.25 · 5,831.50 · 5,828.00 · 5,836.75 · 5,833.25
Read more
The trading guide Donchian Channels, and Adding an indicator in TradingView.
Trading is risky. You can lose money. This lesson explains how a strategy is built and tested. It isn't advice, and it doesn't say the strategy works.