Volatility
Donchian Channels
Donchian channels explained: highest high and lowest low, breakouts, turtle trading and Donchian breakout alerts.
4 min readUpdated
Donchian Channels draw the highest high and the lowest low of the last N bars. That is the whole indicator, and it is enough for one of the most famous trading rules ever: buy when the price breaks above the top of the channel, sell when it breaks below the bottom. The Turtle traders of the 1980s built their system on it.
What it measures
No averaging, no statistics: the extremes of the window. The channel steps rather than flows: it jumps when a new extreme is made and drops when an old one leaves the window.
Try it
The upper line climbs with every new high during the rise, flattens in the range, and the lower line falls step by step in the drop.
How Subtrigger computes it
| Output | Stream (BTC on Binance) | Meaning |
|---|---|---|
upper | ind:donchian_20_1m@binance.miniticker:BTCUSDT:upper | highest high of 20 bars |
lower | ind:donchian_20_1m@binance.miniticker:BTCUSDT:lower | lowest low of 20 bars |
The window includes the forming bar. Donchian is available for crypto (1-minute bars on all seven exchanges); it is not computed for stocks.
How to read it
- Breakouts. A new 20-bar high means the price is doing something it has not done for 20 minutes (on 1-minute bars): the start of a move, or at least a test.
- Trend. In an uptrend the upper line keeps rising and the price stays in the upper half. The middle of the channel, (upper + lower) / 2, is a simple trend line.
- Range. Upper minus lower is the range of the last N bars: narrow before breakouts, wide after big moves.
Alert ideas
A new 20-minute high on BTC: the price reaching the top of the channel. Because the forming bar is part of the window, "price at or above upper" means "this bar set a new high":
Alert idea
BTCUSDT Price · Binance ≥ BTCUSDT Donchian 20 high · 1m · Binance
A new 20-minute low on ETH:
Alert idea
ETHUSDT Price · Binance ≤ ETHUSDT Donchian 20 low · 1m · Binance
Choosing the period
- 20 bars: the Turtles' fast system ("System 1"), and Subtrigger's channel.
- 55 bars: the Turtles' slow system: fewer, bigger breakouts.
- 10 bars: often used as the exit channel, the opposite side of a shorter window.
For pros
- Channel width in ATRs ((upper − lower) / ATR) is a squeeze measure that works across markets.
- Stochastic connection. Stochastic %K is the position of the close inside the same 14-bar channel; Donchian gives you the channel itself.
- Exits. The classic trend-following exit is the opposite side of a shorter channel: long until the price breaks the 10-bar low.
Related
- ATR: to size stops for breakout trades.
- Bollinger Bands: a statistical envelope instead of extremes.
- Stochastic: where the close sits in the channel.
FAQ
Why can the price never be above the upper line?
The window includes the current bar, so a new high raises the upper line at once. Use "price at or above upper" to catch a new high.
Is Donchian available for stocks?
Not at the moment: it is computed for crypto pairs on 1-minute bars.
What is the Turtle system?
A trend-following system taught by Richard Dennis and William Eckhardt in 1983: buy 20-day (or 55-day) breakouts, size positions by ATR, exit on 10-day (or 20-day) breakdowns.
Keep reading
- VolatilityATRAverage true range explained: true range, Wilder smoothing, stop distances, position sizing and ATR alerts for volatility.
- VolatilityBollinger BandsBollinger Bands and %B explained: the bands, squeezes, band walks, mean reversion and Bollinger alerts on crypto and stocks.
- MomentumStochasticThe stochastic oscillator explained: %K and %D, the 20/80 zones, crossovers, how it differs from RSI and stochastic alerts.