The Donchian channel, explained

The simplest channel there is: a line at the highest high of the last 20 bars and a line at the lowest low. No averages, no formulas beyond that.

IN ONE LINEPrice touching the top line has just made a new 20-bar high. Touching the bottom: a new 20-bar low.

4 short lessons · about 3 minutes

Price with a 20-bar Donchian channel · 5-minuteIllustration
  • 20-bar high
  • 20-bar low
  • Midline

Lesson 1 · Lines in steps

The lines only move when a high or low enters or leaves the window

The top line is the highest high of the last 20 bars. It jumps up the moment price makes a new one, and it only drops when the old high is more than 20 bars back. So the lines move in flat steps.

Steps up, then the old high drops outIllustration

KEYA flat line isn't support or resistance being "respected". It's just an old high or low still inside the window.

Lesson 2 · New highs and lows

Touching the top line means a new 20-bar high

That's the whole idea behind classic channel breakout systems: a market making new 20-bar highs is, by definition, going up. Many traders simply read the channel as "at the high", "at the low" or "in the middle".

A range, then out the topIllustration

KEYA push through the top line is a new 20-bar high. Whether it keeps going is a different question.

Lesson 3 · Width

A narrow channel is a quiet market. A wide one is a busy one.

The distance between the lines is the 20-bar range. When it narrows, price has been moving less. After a big move it widens, and it takes 20 bars for that move to drop out.

Narrow

Price has stayed in a tight range for 20 bars.

Wide

A big move happened somewhere in the last 20 bars.

KEYWidth is a simple volatility read, like ATR, but over the whole window instead of per bar.

Lesson 4 · What to look for

Three questions to ask the channel

  1. Where is price?

    At the top line, at the bottom line, or in the middle of the 20-bar range.

  2. Is a line stepping?

    The top line stepping up: new highs keep coming.

  3. How wide is it?

    Narrow: quiet. Wide: a big move inside the window.

The settings

20 bars is the classic. A longer window (55) gives fewer, bigger breakouts.

Not an average

Unlike Bollinger or Keltner, nothing is smoothed. The lines are exact past highs and lows. The squeeze →

Keep the chart calm

Many traders hide the lines and just read "at the 20-bar high" or "low" from a readout.

THE RECAP
  • The top line is the highest high of the last 20 bars; the bottom line, the lowest low.
  • The lines move in steps, as highs and lows enter and leave the window.
  • Touching a line means a new 20-bar high or low.
  • The width is the 20-bar range: narrow is quiet, wide is busy.
Education only · Not financial advice

Charts on this page are illustrations drawn for teaching. Prices are made-up sample data; the channel is the standard formula run on them. Not real market data and not any product's output. Education only, not financial advice.