← Glossary

Indicators

Donchian Channel

The highest high and lowest low of the last N bars. The channel behind classic breakout systems like the Turtles' rules.

The Donchian channel tracks the extremes of a rolling window:

upper(N) = highest high of the last N bars
lower(N) = lowest low  of the last N bars

With N = 20, the upper line is the 20-bar high. A close above it means the market just did something it hadn't done in 20 bars, which is the definition of a breakout.

The breakout logic

Donchian breakouts are the oldest systematic trend entry; the 1980s Turtle rules traded 20- and 55-day channels. Buy the N-bar-high break, then run a trailing exit, often the opposite channel (exit longs at the 10-bar low) or an ATR stop. The premise is that large trends must, by construction, begin with a channel break. You accept many small failed breakouts as the price of never missing a big trend.

The refinement that matters

Raw channel breaks in crypto's choppy conditions produce constant false signals. The standard filter is volatility expansion: only take the break when the breakout bar's range exceeds some multiple of ATR (say 1.25×), which is evidence that real participation crossed the level rather than drift. This trades some late entries for a much better signal-to-noise ratio. It's also exactly the kind of one-parameter refinement worth verifying with forward-walk analysis instead of a single backtest.

On AlphaProve

The whole Turtle pattern maps onto the no-code builder: donchian sits in the indicator list, the breakout entry is a condition comparing price to the upper channel, and the volatility filter from the section above becomes a second clause in an AND group (bar range greater than a multiple of atr). For the exit, the config's trailing stop takes an ATR multiple directly, so the opposite-channel or ATR trail you would run after entry is a field rather than code.