Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

What a Donchian channel is

Lesson 88 of 179 in The strategy libraryModule 17: Donchian channel breakout

Strategies · The strategy library

What a Donchian channel is

Wildflower Trading School · Lesson 3.2.17.1

Wildflower

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

  1. On a daily chart of MES1!, add Donchian Channels.
  2. Pick one day and work out the top line by hand from the last 20 highs.
  3. Check whether it matches the line on that day or the day before.

Quick check

  1. 1. What is the top line of a 20-candle Donchian channel?

  2. 2. The top line steps down, but price didn't fall. Why?

  3. 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

Make a free account and we'll remember where you are, so “The idea of buying a new high” is waiting next time.

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 has three lines: the top is the highest high of the last N , 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 .
  • 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, 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 numbers

Working out a 5-candle channel

Made-up numbers · · daily

  1. Highest high of the last 5 candles: 5,841.00
  2. Lowest low: 5,795.00
  3. Middle: (5,841 + 5,795) ÷ 2 = 5,818.00
  4. 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

Drill

Last 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.