Donchian Width

Donchian Width
Indicator

VolatilitySeparate panelFree on ChartLabs

Donchian Width is the gap between the highest high and the lowest low, as a percent of the midpoint. It shows how wide the channel is.

Created by Richard Donchian, 1960. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIDonchian Widthchartlabs.co/charts
Atlas reads it

DonchianWidth 7.87

Pane

Atlas reads it

DonchianWidth 7.87

Pane

Illustration on simulated data.

Donchian WidthWhat is the Donchian Width indicator?

Donchian Width measures the channel, not the price inside it. Over the last 20 bars it takes the highest high and the lowest low, and writes the gap as a percent of the midpoint between them.

The window is partial, so the first bar already has a value. One bar from 100 to 110 is 9.524 at three decimals, which is 100 times 10 divided by 105. A midpoint of 0 leaves the bar empty.

The line is #00ACC1, two pixels, in its own panel. There is no source: the channel uses highs and lows. Richard Donchian set out the channel in High Finance in Copper, Financial Analysts Journal (1960).

From the first bar

The window uses whatever bars exist, so the line starts on bar 1 rather than waiting for 20.

Highs and lows

A close-only channel would miss wicks. This one uses the high and the low.

Donchian Width signalsFive patterns to know.

1Inconclusive

Width rising

The high-low channel is a larger share of its midpoint than it was.

2Inconclusive

Width falling

The channel is narrowing. Price has been covering less ground.

3Inconclusive

One bar opens the channel

A new high or a new low widens the gap in a single bar.

4Inconclusive

Width steady

The highest high and the lowest low have not changed.

5Inconclusive

Width near a low

The channel is tight. That says the range is small, not which way price leaves it.

Donchian Width formulaHow it is calculated.

DW=100×HH−LL(HH+LL)/2
STEP 1

Find the channel

The upper edge is the highest high of the window. The lower edge is the lowest low. The current bar is included.

STEP 2

Find the middle

The midpoint is the average of those two prices.

STEP 3

Write the percent

The line is 100 times the gap divided by that midpoint. One bar from 100 to 110 is 9.524 at three decimals.

Donchian Width settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length201 to 5,000Bars in the high-low window. The Signal lens changes this.
PricesHigh and lowFixedThere is no source menu. The channel is built from highs and lows.
Line#00ACC1FixedOne line, two pixels, three decimals, in its own panel.
Setting
Length
Default
20
Range
1 to 5,000
What it changes
Bars in the high-low window. The Signal lens changes this.
Setting
Prices
Default
High and low
Range
Fixed
What it changes
There is no source menu. The channel is built from highs and lows.
Setting
Line
Default
#00ACC1
Range
Fixed
What it changes
One line, two pixels, three decimals, in its own panel.
2054 bars in the channel
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 Width strategiesUse it in 3 setups.

A narrow channel, then a break

WhileDWis fallingthe channel is narrowing

A falling width says the range is shrinking. Traders often wait for a close outside the Donchian channel before they pick a side.

A new high or low

Ifprice makes a new high or lowthenDWjumps

The channel just got wider. The width says how large that break was against the midpoint.

An unchanged channel

WhileDWis flatthe edges have not moved

Neither a new high nor a new low has printed. The channel is the same box as the bar before.

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

Donchian Width mistakesCommon mistakes.

Reading the percent as a direction

A wide channel can be a rally or a selloff. The line only says how large the box is.

Expecting every pinch to break

A narrow channel says the range is small. Price can stay there.

Using a zero midpoint

If the high and the low average to 0, that bar is empty.

Donchian Width combinationsPair it with these.

Donchian Width FAQQuestions traders ask.

What is the Donchian Width setting?

One length, default 20. There is no source. The channel uses the high and the low.

When does the line start?

On the first bar. The window uses the bars it has, so it does not wait for 20.

What is the one-bar example?

A bar from 100 to 110 is 9.524 at three decimals: 100 times 10, divided by the midpoint 105.

How is this different from the Donchian Channel?

The channel draws the prices. This line turns the gap into a percent of the midpoint, in its own panel.

What if the midpoint is zero?

That bar is empty. The line does not divide by zero.

Does it repaint?

No. A closed bar stays. The live bar moves until it closes, because its high and low can still change.

Who created the channel?

Richard Donchian, in High Finance in Copper, Financial Analysts Journal (1960).

What timeframe can I use?

Any. Twenty bars is a short box on a one-minute chart and a month of sessions on a daily chart.

Related indicatorsMore volatility tools.

All volatility indicators

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

Works in your browser and on iPhone too.

Example market1h
Donchian Width