don chian channel

Donchian Channel Formula: How It’s Calculated (with Examples)

The Donchian Channel is a technical indicator used to identify breakouts and trend directions. While it’s popular among traders, many beginners don’t understand how it’s calculated. In this post, we’ll break down the Donchian Channel formula, explain what each band means, and show you how to apply it effectively.


What Is the Donchian Channel?

The Donchian Channel plots three lines on a chart:

  • Upper Band: The highest price over a defined number of periods
  • Lower Band: The lowest price over the same number of periods
  • Middle Line: The average of the upper and lower bands

This forms a channel around price movement that visually represents volatility and breakout levels.


Donchian Channel Formula

Here’s the simple formula used to calculate the Donchian Channel:

  • Upper Band = Highest High over N periods
  • Lower Band = Lowest Low over N periods
  • Middle Band = (Upper Band + Lower Band) ÷ 2

Example (20-period Donchian Channel):

  • Highest High in last 20 bars = $120
  • Lowest Low in last 20 bars = $100
  • Middle = ($120 + $100) ÷ 2 = $110

So the bands would be:

  • Upper Band: $120
  • Lower Band: $100
  • Middle Band: $110

What the Bands Tell You

  • Upper Band: Resistance or breakout level
  • Lower Band: Support or breakdown level
  • Middle Band: Midpoint, useful for pullbacks and exits

These values shift with each new candle, forming a dynamic price channel.


Why the Formula Matters

Understanding the formula helps you:

  • Adjust the period based on market conditions
  • Backtest your strategy with more precision
  • Interpret signals with greater confidence

Shorter periods make the channel more sensitive, while longer periods filter out noise.


Recommended Settings Based on Formula

Trading StylePeriodUse Case
Scalping10Quick intraday breakouts
Day Trading15–20Fast setups with clarity
Swing Trading20–50Trend-following confirmation

Conclusion

The Donchian Channel formula is easy to understand and powerful when applied correctly. It gives you a simple way to detect support, resistance, and trend strength. By adjusting the lookback period, you can tailor the indicator to fit your unique trading style.

Whether you’re trading stocks, forex, or crypto, mastering this formula helps you make more informed trading decisions.


FAQs

Q1: What is the default period used in the Donchian Channel formula?
The most common default is 20 periods.

Q2: Does the Donchian Channel repaint?
No. It uses fixed highs and lows over historical data.

Q3: Can I use custom periods?
Yes. You can use 10, 30, 50, or any value based on your strategy.

Q4: Is the formula the same for all platforms?
Yes. The core calculation is universal, though visuals may differ.

Q5: Is the middle band always useful?
It’s optional, but many traders use it for pullbacks or trend exits.

Scroll to Top