Strategy briefing

Understand what this strategy is actually betting on before you touch the parameter panel.

01
Start with the intuition
02
Use category and difficulty as context
03
Compare before optimizing
01
Map the strategy to a regime thesis
02
Read the math as a constraint system
03
Use parameters to test fragility, not creativity
Learning linkup

Read the model brief like a skeptic

Open Learning Hub

The Intuition

Donchian Channel Breakout is the direct ancestor of modern trend-following. Richard Donchian pioneered systematic commodity trading in the 1950s–70s using channel rules. The strategy that became famous is the "Turtle System," taught by Richard Dennis and William Eckhardt to their "Turtle Traders" in 1983: buy on a new 20-day high, sell short on a new 20-day low.

The insight is elegant: a new N-day high means the asset is at its highest price in N days. Every seller who bought in the past N days is now sitting on a loss; they may accelerate selling (creating downward pressure) or be squeezed out if the price continues higher. Every buyer in the past N days is in profit and becoming more conviction buyers. A new high thus reflects a genuine balance-of-power shift — momentum.

The Turtles proved the system worked across diversified commodity futures: crude oil, corn, gold, currencies, treasury bonds. Their success (several Turtles became very wealthy traders) generated intense interest in systematic trend-following, which eventually became the backbone of the CTA (Commodity Trading Advisor) industry, now managing hundreds of billions in assets.

Key assumptions: (1) New price extremes are meaningful signals, not noise. (2) The channel captures the dominant trend duration — 20 days suits medium-term swings; 55 days (the Turtles' "System 2") suits longer-term trends. (3) The asset is liquid enough for position entry and exit at the channel boundaries without significant market impact. (4) Risk is managed through position sizing and trailing stops (the original Turtle system used ATR-based stops not implemented in this basic version).

The strategy suffers in range-bound markets: the asset repeatedly breaks above the 20-day high then falls back, generating a series of losing trades. The Turtles countered this with two systems (20-day and 55-day channels) and diversification across uncorrelated markets. The worst-case scenario is a market in an extended range with brief false breakouts — exactly the environment that characterised many commodity markets in the mid-2000s as carry-driven range trading dominated.

The Math

Read this as a compact model summary: what the signal sees, what it ignores, and where fragility can creep in.

UpperCh(t) = max(High[t-n : t])
LowerCh(t) = min(Low[t-n : t])

Signal(t) = +1  if Close(t) >= UpperCh(t)   [new n-day high]
          = -1  if Close(t) <= LowerCh(t)   [new n-day low]

Parameters

ParameterTypeDefaultDescription
window int 20 Lookback period for channel calculation (days)

Source Code

Live source — fetched from engine/strategies/donchian.py

Loading source…

Further Reading

  • Faith, C. (2003). Way of the Turtle. McGraw-Hill.
  • Covel, M. (2009). The Complete TurtleTrader. Harper Business.
  • Donchian, R. (1960). High Finance in Copper. Financial Analysts Journal, 16(6), 133–142.
Run This Strategy →

Related Volatility Strategies

Use nearby strategies to compare the same market hypothesis under different signal constructions.