Donchian Channel (DC)

Donchian Channel
Indicator

VolatilityOn the price chartFree on ChartLabs

The Donchian Channel draws the highest high and lowest low of the last 20 bars, with a midline between them. It maps the recent range and every break out of it.

Developed by Richard Donchian in the 1960s. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIDonchian Channelchartlabs.co/charts
Atlas reads it

Price just made a new 20-bar low and is pushing the lower band down.

Upper 69,954 · Basis 67,299 · Lower 64,644

Atlas reads it

Price just made a new 20-bar low and is pushing the lower band down.

Upper 69,954 · Basis 67,299 · Lower 64,644

Illustration on simulated data.

Donchian Channel (DC)What is the Donchian Channel indicator?

The Donchian Channel draws three lines on the price chart. The blue upper band is the highest high of the last 20 bars and the blue lower band is the lowest low. The orange basis sits halfway between them, with a light blue fill across the channel.

The bands only move when price makes a new extreme or an old one drops out of the window. That gives them their step shape: flat while price trades inside the range, then a jump when a bar sets a new 20-bar high or low.

Because the current bar is part of the window, a new high pushes the upper band up with it. Price touching the upper band means a new 20-bar high; touching the lower band means a new 20-bar low. Many breakout systems are built on exactly that.

Breakout systems

The Turtle traders of the 1980s are known for trading 20 and 55 day breakouts and exiting on a 10 or 20 day break the other way. Those rules are Donchian Channels with different lengths.

Donchian, Bollinger or Keltner?

Donchian uses raw highs and lows. Bollinger Bands use the standard deviation of closes, Keltner Channels use ATR around an EMA. Donchian bands never cut through a candle's high or low.

Donchian Channel signalsFive patterns to know.

1Bullish

New 20-bar high

Price pushes the upper band higher. The market has moved above everything it did in the last 20 bars.

2Bearish

New 20-bar low

Price drops through the old range and drags the lower band down. Sellers have broken the recent floor.

3Bullish

Riding the upper band

New highs keep coming and the upper band steps up bar after bar. The basis rises behind them.

Narrowest channel in view
4Inconclusive

A narrow channel

The bands sit close together. The market is quiet, and the next break out of the range is often larger.

Upper band flat: no new highs
5Inconclusive

Upper band goes flat

No new highs for many bars, so the upper band holds level. The advance has paused.

Donchian Channel formulaHow it is calculated.

Upper=HH20Lower=LL20Basis=Upper+Lower2
STEP 1

Take the window

Look at the last 20 bars, including the current one.

STEP 2

Find the extremes

The upper band is the highest high (HH) in the window and the lower band is the lowest low (LL).

STEP 3

Split the range

The basis is the midpoint of the two. No value is drawn until 20 bars exist.

Donchian Channel settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length201 to 5,000 (typical 10 to 55)How many bars the channel covers. Longer channels break less often and mark bigger ranges.
Upper and LowerBlue #2962FF, 1 pxAny colour and widthColour and width of the two bands.
BasisOrange #FF6D00, 1 pxAny colour and widthColour and width of the middle line.
FillLight blue at 5%Any colourThe shading between the upper and lower bands.
Setting
Length
Default
20
Range
1 to 5,000 (typical 10 to 55)
What it changes
How many bars the channel covers. Longer channels break less often and mark bigger ranges.
Setting
Upper and Lower
Default
Blue #2962FF, 1 px
Range
Any colour and width
What it changes
Colour and width of the two bands.
Setting
Basis
Default
Orange #FF6D00, 1 px
Range
Any colour and width
What it changes
Colour and width of the middle line.
Setting
Fill
Default
Light blue at 5%
Range
Any colour
What it changes
The shading between the upper and lower bands.
2022 fresh breakouts
70,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

Donchian Channel strategiesUse it in 3 setups.

The 20-bar breakout

Ifprice makes a new20-bar highexit ona new20-bar low

This is the classic channel breakout. Each break is judged against the bands of the bar before, because the current bar moves the band with it.

Top of the moveLow under the 10-bar line

Faster exit on a 10-bar low

Enter ona20-bar highexit ona10-bar low

A shorter exit channel gives back less of a move. The dashed orange 10-bar lower band is drawn for illustration; add a second Donchian Channel with Length 10 to see it.

Narrowest channel in view

Break out of a narrow channel

Ifthe channel is narrowandprice breaks a bandthenfollow that side

Quiet ranges often end with a larger move. Traders often wait for the break rather than guess its direction.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

Donchian Channel mistakesCommon mistakes.

New 20-bar highBack under the basis

Treating every new high as a breakout

Here a new 20-bar high slipped back under the basis a few bars later. Many breaks stall or reverse before a trend shows up, so traders often decide in advance how much a failed break may cost.

Top of the moveFirst new 20-bar low

Waiting for the 20-bar low to exit

The lower band can sit far under price at the top of a move. Exiting on it can give back a large part of the gain.

Shorting the upper band in a trend

In a trend every new high lifts the band with it. The upper band is not a ceiling; it moves.

Donchian Channel combinationsPair it with these.

Donchian Channel FAQQuestions traders ask.

What are the default Donchian Channel settings?

Length 20, the same as TradingView: the highest high and lowest low of the last 20 bars, with the midpoint as the basis.

How do you trade a Donchian breakout?

A common rule enters when price makes a new 20-bar high and exits on a new low over the same or a shorter length. It is a trend-following rule, so it gives many small losses in ranges.

Why does price never close above the upper band?

The current bar is part of the window. If it makes a new high, the upper band rises to that high, so the high and the band are equal.

What is the Turtle trading system?

A breakout method taught by Richard Dennis and William Eckhardt in the 1980s. It used 20 and 55 day highs and lows to enter and 10 and 20 day ones to exit.

Donchian Channel or Bollinger Bands?

Donchian uses the raw highest high and lowest low. Bollinger Bands use the standard deviation of closes. Donchian shows the range; Bollinger shows how unusual the latest close is.

What does the middle line mean?

It is the halfway point of the 20-bar range. Price above it sits in the upper half of the range; below it, the lower half.

What length should I use?

20 is the default. 55 is common for longer-term breakouts and 10 for exits. Longer lengths break less often.

Does the Donchian Channel work on crypto?

Yes. Crypto tends to trend in bursts, which suits breakout rules, but ranges still produce false breaks.

Does the Donchian Channel repaint?

No. Values on closed bars never change. On the live bar the bands move if it sets a new high or low.

Who created the Donchian Channel?

Richard Donchian, an early pioneer of trend-following futures funds, developed the idea in the 1960s.

Related indicatorsMore volatility tools.

All volatility indicators

Try Donchian Channel on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
DC (20)