Technical Analysis

What is Donchian Channel?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionA Donchian channel plots the highest high and the lowest low of the last N bars, with an optional middle line halfway between them; 20 bars is the common default. If an illustrative Nifty futures chart’s 20-day high is 25,240 and its 20-day low 24,310, the channel runs from 24,310 to 25,240 and a trade above 25,240 is a 20-day breakout.
Formula
Upper = highest high of the last N bars; Lower = lowest low of the last N bars; Middle = (Upper + Lower) ÷ 2
Example
Illustrative Nifty futures, N = 20: Upper 25,240, Lower 24,310, Middle (25,240 + 24,310) ÷ 2 = 24,775; width 930 points

Named after Richard Donchian, an early trend-following fund manager, the channel is the simplest of the price envelopes: no averages or volatility maths, just the extremes of a fixed window. It became widely known through the Turtle trading rules of the 1980s, which bought 20-day or 55-day breakouts and exited on shorter-period channel breaks.

How it is calculated

  1. Choose the lookback N. 20 is the common default; 55 and 10 appear in the Turtle-style rules.
  2. Upper band: the highest high of the last N bars.
  3. Lower band: the lowest low of the last N bars.
  4. Middle line, if used: the average of the two bands.
  5. Decide whether the current bar is included. For breakout signals most traders compare today’s price with the channel of the previous N bars; otherwise the upper band moves up with every new high and price can never close above it.

Worked example on Nifty futures (illustrative)

Over the previous 20 sessions Nifty futures made a high of 25,240 and a low of 24,310. A trend follower using a 20-day entry and a 10-day exit places a buy-stop just above 25,240 and fills at 25,250. The 10-day low at that moment is 24,790, which is the exit level if price turns down.

Entry
25,250
10-day exit level
24,790
Points at risk
460
Risk on 1 lot of 65
₹29,900

For a ₹10,00,000 account risking 1% (₹10,000) per trade, ₹29,900 on one lot is about three times the budget, so this trade does not fit at all. The choices are a smaller instrument, a smaller risk distance under a different rule, or skipping the signal. Turtle-style rules handle this by sizing from a 20-day average true range so each position carries a similar rupee risk. Lot size per the current NSE circular; figures before charges.

How traders use it and log it

  • Breakout entries: buy above the upper band, sell short below the lower band, usually on daily charts.
  • Exits and trailing stops: a shorter channel (say 10 bars) trails a position entered on a longer one (say 20 bars).
  • Trend filter: only take longs while price sits in the upper half of the channel.
  • Journal fields: channel periods for entry and exit, distance to the exit at entry in points and rupees, and whether the breakout came after a narrow or wide channel.
  • Review: breakout systems typically have a low win rate and a few large winners, so judge them on expectancy across a large sample, not on the last five trades.
Common mistake
Abandoning a breakout system after a run of small losses in a sideways market. Those losses are the cost of being in the big trends when they arrive, and skipping signals at random breaks the system’s numbers.

Limits and when it misleads

  • Gaps: a breakout that happens on an overnight gap fills well beyond the band, so the real entry and the real risk differ from the chart level.
  • Wide exits: the opposite channel, or even a 10-bar channel, can sit far from entry after a strong run, so open profit given back on the exit can be large.
  • One extreme bar: a single spike high stays in the upper band for the full lookback, which can leave the channel misleadingly wide for N bars.
  • Crowded levels: 20-day highs and lows are widely watched, so stop orders cluster just beyond them and fills on breakouts can slip.

Donchian vs Bollinger and Keltner channels

ChannelBuilt fromTypical settingBest known for
DonchianHighest high and lowest low20 barsBreakout entries and trailing exits
Bollinger BandsMoving average ± standard deviations of closes20-period SMA ± 2Volatility squeezes and stretched prices
Keltner channelMoving average ± a multiple of ATRSettings vary, for example 20-period EMA ± 2 ATRSmoother trend envelope
For F&O traders in India
Holding a Donchian breakout in futures beyond expiry means rolling to the next contract. Nifty futures are monthly and expire on the last Tuesday; the roll costs charges, and the price gap between contracts can shift a channel drawn on a continuous futures chart. Many traders draw the channel on the spot index and trade the futures.

Reference guide

ContextValueReading
Breakout entries with a written opposite-channel exitComplete systemEntry and exit come from the same rule set, so they can be tested together
Breakout entries in a tight, sideways marketMany false startsNarrow channels get broken often; expect several small losses between trends
Stop distance ignored when sizingHidden riskThe exit can be hundreds of points away; size from that distance, not from the lot

Questions

How is the Donchian channel calculated?

The upper band is the highest high of the last N bars and the lower band the lowest low. The middle line is the average of the two. N = 20 is the common default.

What is the best setting for a Donchian channel?

There is no best setting. 20 bars is the default, and the Turtle-style rules used 20 or 55 days for entry with 10 or 20 days for exit. Longer periods give fewer, slower signals.

What is the difference between Donchian and Bollinger Bands?

Donchian bands are the actual highest high and lowest low of the period. Bollinger Bands are a 20-period moving average plus and minus two standard deviations, so they react to volatility rather than to price extremes.

Does the Donchian channel work for intraday trading on Nifty?

It can be plotted on any timeframe, but intraday channels are narrow and break often, especially in the quiet midday hours. Test it on your own trades with charges included before relying on it.

Related terms