Levels & geometry

Price Channels · Channel

Parallel upper and lower boundaries — often the highest high and lowest low over N bars — that contain price and mark breakouts.

Works in most conditionsEngine-computed on a fixed sample series
14512096Price above Upper = strengthPrice below Upper = weakness
UpperMiddleLowerHow to read Channel on the chart — the callouts mark what to look for.

The formula

In their simplest form (Donchian channels) the upper rail is the highest high and the lower rail the lowest low over a lookback such as 20 bars, with the midline halfway between. The rails frame the range price has occupied and mark breakouts beyond it.

Upper = Highest High(N) Lower = Lowest Low(N) Mid = (Upper + Lower) ÷ 2
Worked example
LevelValue
Upper (highest high, 20)110.00
Lower (lowest low, 20)100.00
Midline (average)105.00

A close above 110 is a bullish channel breakout; the 105 midline is the mean price reverts toward inside the channel.

What it is

Price channels are two parallel lines — an upper and a lower boundary — that contain the range price has occupied, most commonly drawn as the highest high and the lowest low over a lookback window. They answer a trader's basic framing question: what territory has this market been trading in, and what would it take to break out of it? In their simplest and most popular form, the Donchian channel, the upper line is the highest high over the last N bars, the lower line the lowest low, with an optional midline halfway between. A channel can also be drawn by hand as two parallel trendlines bounding a sloped trend. For a beginner they are best pictured as a moving box or corridor around price whose walls mark where breakouts and reversals happen.

How it is calculated

The classic Donchian channel takes the highest high and the lowest low over a chosen lookback — 20 bars is the traditional default — and plots them as the upper and lower rails, with the midline being their average. Some implementations compute the channel from the prior N bars only, excluding the current bar, so that a new high can genuinely poke through the upper rail and define a breakout; others include the current bar, in which case price can touch but not exceed the boundary. A hand-drawn channel instead fits one trendline along a series of swing highs or lows and draws a parallel copy across the opposite extremes, framing a diagonal trend. Either way the construction is based purely on price extremes, with no smoothing of the body of the data. The width of the channel expands after a volatility spike and contracts during quiet consolidation.

Reading it, step by step

Price oscillating between the two rails describes a contained, range-bound market, while a close beyond the upper or lower boundary is the channel breakout that trend systems act on. The midline serves as a mean that price tends to revert toward while it stays inside the channel, offering a reference for pullback entries and partial-profit targets. A channel that is flat and horizontal signals a range, while a channel whose rails slope together signals a trend, and price riding the upper rail of an up-sloping channel shows persistent strength. Sudden widening of a high-low channel after a spike warns that volatility has jumped and the boundaries have moved. The essential read is binary at the edges: inside the rails is containment, a decisive close outside is a breakout.

Best timeframes

  • Scalping1m – 5m
  • Day trading5m – 15m
  • Swing1h – Daily20-bar common
  • PositionDaily – Weeklyturtle-style

The Donchian 20-bar channel is the classic default; longer lookbacks give fewer, higher-quality breakouts.

Price channels vs other band tools

Price ChannelsBollinger BandsKeltner Channels
BasisN-bar high/lowSMA ± std devEMA ± ATR
Width driven byExtremesVolatility (σ)Volatility (ATR)
Classic useBreakoutMean reversionTrend

Common price-action setups

How the signal typically plays out on the chart.

Upper-channel breakout

Price closes above the N-bar upper channel — the turtle-style long trigger; buy the breakout with a stop at the midline or lower rail.

Buy the break
Bullish breakout
Lower-channel breakdown

Price closes below the lower channel — short the breakdown with a stop at the midline, riding the new down-leg.

Sell the break
Bearish breakdown
Fade the rails

While the channel is flat, fade touches of the upper or lower rail back toward the midline, with a stop just beyond the rail.

Fade the rail
Back to midline

Best timeframes and settings

The 20-bar Donchian channel is the classic default and works across daily swing trading, intraday breakout trading, and the famous longer-term turtle systems that used 20-day and 55-day channels. A shorter lookback of 10 bars hugs price tightly and generates frequent, early breakout signals with more false breaks, while a longer lookback of 55 bars produces fewer, more significant breakouts that filter noise but arrive later. The trade-off is the universal breakout dilemma: tight channels catch moves early but whipsaw, wide channels confirm only major breaks but lag. Intraday traders often use shorter channels for opening-range and momentum breaks, while position traders favor longer ones for major trend entries. The right length depends on the instrument's volatility and the horizon being traded.

When and where to use it

Price channels are versatile across regimes — breakout traders use them to catch the start of trends, while range traders use the rails to fade a sideways market back toward the midline. They apply across equities, futures, forex, and crypto, and the Donchian form underpins many classic mechanical trend systems. In strongly trending markets the breakout interpretation dominates, while in quiet ranges the mean-reversion-to-midline interpretation works better, so the trader must first judge the regime. They are least reliable in choppy, transitional markets where breakouts fail just past the rail and reversals do not carry back to the midline. Use them to frame the range and define objective breakout and reversion levels, matched to the prevailing regime.

Strategies that use it

The turtle-style breakout strategy buys a close above the upper channel and sells or shorts a close below the lower channel, riding the resulting trend with a trailing exit — often a shorter opposite channel, such as exiting a long on a break of the 10-bar low. A range-fade strategy does the reverse in a flat channel, selling near the upper rail and buying near the lower rail while targeting the midline, valid only while the channel stays horizontal. A pullback strategy in a trending, sloped channel buys dips toward the midline or lower rail in an uptrend, using the channel structure to time entries within the trend. Across these, the stop typically sits on the opposite side of the rail or the midline, and volume or a trend filter is used to reduce false breakouts.

Combining it with other indicators

Support and resistance and the ADX are natural partners, since ADX confirms whether a breakout has trend strength behind it or is likely to fail in a range. Volume corroborates channel breakouts, because a break on heavy volume is far more trustworthy than one on thin participation. A moving average or the channel midline itself provides a trend-direction filter, so breakouts are taken only in the direction of the larger trend. Volatility tools like ATR or Bollinger Bands help judge whether the channel is compressing toward a squeeze that often precedes a breakout. The recurring logic is to use the channel for objective breakout and reversion levels while trend, volume, and volatility tools judge whether to trust each signal.

Where it fails

Channel breakouts whipsaw badly in choppy markets, triggering a buy just as price falls back inside the rail — the classic false breakout that punishes mechanical breakout traders. A rolling high-low channel also lags, and it can widen abruptly after a single spike bar, moving the boundary and distorting the read. Range-fade traders face the opposite risk, since fading the rail works until the day the range finally breaks, when the fade becomes a large loss. The remedies are confirmation (requiring a decisive close beyond the rail, volume, or an ADX trend reading), correct regime identification (breakout tactics in trends, fade tactics only in confirmed ranges), and disciplined stops with volatility-based sizing. The commonest mistake is applying breakout rules in a range or fade rules in a trend, using the wrong tactic for the regime.

A worked example

Suppose a stock has traded in a 20-day Donchian channel with the upper rail (the highest high of the prior 20 days) at 80, the lower rail at 74, and the midline at 77. For two weeks price ping-pongs between 74 and 80, and a range trader fades the rails toward 77. Then price closes decisively at 81 on volume 50 percent above average with ADX rising through 25 — a genuine breakout — so a trend trader buys the close at 81, places a stop back inside the channel near the midline at 77, and trails the position by exiting on any break of the 10-day low. Price runs to 88 over the next few weeks before a close below the 10-day low finally triggers the exit. Had the same poke above 80 come on weak volume with ADX flat, the break would more likely have failed back into the range, and the confirmation filters are what separated the real breakout from the trap.

Common mistakes

  • Buying channel breakouts in choppy markets, where price pokes out then falls back inside.
  • Forgetting the rolling high/low channel lags and can widen suddenly after a single spike.
  • Fading the rails in a strong trend, or chasing breakouts in a flat range — mismatched tactics.
  • Using too short a lookback, which turns every wiggle into a false breakout.
  • Entering on an intrabar poke rather than waiting for a close beyond the channel.