Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

Variations and when it struggles: Donchian channel breakout

Lesson 91 of 179 in The strategy libraryModule 17: Donchian channel breakout

Strategies · The strategy library

Variations and when it struggles: Donchian channel breakout

Wildflower Trading School · Lesson 3.2.17.4

Wildflower

Last time, you put a channel breakout into rules. Now the variations traders make to it, and the kind of market where it struggles. By the end of this lesson, you'll know what changing the channel length does, and three other common changes. And you'll have watched a sideways market turn one breakout after another into a loss, with the numbers to show what that costs.

1 of 7

What you'll learn

  • Choose channel lengths first. Trying many and keeping the best is overfitting.
  • Size by volatility. A stop and size based on average true range keep dollar risk steady.
  • Add a trend filter. For example, only long above a 200-day average. It removes trades.
  • Spot sideways markets. Breakouts reverse and losses pile up, again and again.
  • Count costs and gaps. More signals mean more costs, and price can gap past a stop.

Exercise

  1. On a daily MES1! chart, find a sideways stretch of at least two months.
  2. Add 20-day and 10-day Donchian channels and count how often price closed beyond the 20-day lines.

Quick check

  1. 1. What usually happens when you shorten the channel?

  2. 2. Why do channel breakouts struggle in sideways markets?

  3. 3. You test twelve channel lengths and keep the best-looking one. What's the risk?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Test it yourself: Donchian channel breakout” is waiting next time.

Read the full notes

Channel breakouts are changed through the channel length, the stop and size, trend filters and long-only rules, and they struggle in sideways markets, where breakouts reverse and losses pile up.

  • Shorter N: more signals, sooner, more false ones, more costs. Longer N: fewer, later, fewer false ones. 55 and 20 is another common pair. Pick lengths before testing; trying many and keeping the best is .
  • Volatility-sized stop and size: a stop at a multiple of the , and a that keeps the dollar risk the same. See Position sizing with ticks and tick values.
  • Trend filter: for example, only long above a 200-day . Long only on stock indexes is a judgement about the past. Each change removes trades.
  • Sideways markets are where channel breakouts struggle: price breaks out, turns back, and the exit takes a loss, again and again. That's a . See Trend, range or in between.
  • Every trade pays , and a daily chart can past a stop overnight. More signals in a sideways market means more costs.

Worked example

Made-up numbers

What a sideways stretch cost

Made-up numbers · · 60 sideways days · $5 a

  1. 10-day entry, 5-day exit: four trades, all losses: 52 + 9.50 + 69.75 + 29.75 = 161 points = $805
  2. 20-day entry, 10-day exit: two trades, both losses: 68.75 + 27.75 = 96.50 points

Fewer signals meant fewer losses in this stretch. In a trend, the same slowness means a later entry. Costs come on top.

Your turn

Drill

Three losing trades on one Micro S&P 500 contract: 12 points, 18.50 points and 7.50 points · $5 a point

Read more

When it struggles: moving average crossover, and the trading guides Market regimes, Overfitting a trading strategy and Slippage and commissions in a backtest.

Trading is risky. You can lose money. This lesson explains how a strategy is built and tested. It isn't advice, and it doesn't say the strategy works.