# Understanding Donchian Channels: Formula, Calculation, and Trading Uses

## What Are Donchian Channels?

Donchian Channels are a vital tool in technical analysis, offering a historical view of price volatility by charting a security's highest and lowest prices over a set period. Simple yet effective, these channels aid in spotting market trends and indicating potential buy or sell moments, enabling traders to navigate complex markets with confidence.

![](https://www.investopedia.com/thmb/J_5EygT5e0Qk3skYmGN3l7TOCwM=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/DonchianChannels-5c5361ab46e0fb0001be5f35.png)

*TradingView.*

### Key Takeaways

*   Donchian channels help traders identify potential market trends by plotting the highest highs and lowest lows over a specified period.
*   These channels can indicate bullish and bearish extremes that suggest opportunities for price breakouts or reversals.
*   Donchian channels are often combined with other technical indicators like MACD to provide a comprehensive analysis of market conditions.
*   The simplicity and effectiveness of Donchian channels make them popular among traders in various markets, including stocks and forex.
*   Despite their usefulness, traders should be aware of the limitations of Donchian channels, such as generating false signals during sideways markets.

## Calculating Donchian Channels: A Comprehensive Guide

Technical analysis in trading evaluates and predicts future price moves and trends for securities. One tool often employed is the Donchian channel. While the mathematical formula behind it is straightforward, many online trading platforms and technical analysis apps calculate and plot the Donchian channel for you. While convenient, understanding the basics helps you know the tool's benefits and limits.

Basically, the Donchian channel is formed by identifying the highest and lowest prices of a security over a set time. This can be adjusted based on your trading strategy, though the most common is 20 periods (the typical number of trading days in a month). The upper channel line is drawn at the highest price reached during a period, while the lower channel line is at the lowest price. There's also a middle line, which represents the average of these two extremes. Here's the formula and then how it works.

### Donchian Channels Formula Explained

$\begin{aligned}&\text{UC = Highest High in Last }N\text{ Periods}\\&\text{Middle Channel} = ((UC+LC)/2)\\&\text{LC = Lowest Low in Last }N\text{ periods}\\&\textbf{where:}\\&UC=\text{Upper channel}\\&\begin{aligned}N=&\text{ Number of minutes, hours, days,}\\&\text{ weeks, months}\end{aligned}\\&\begin{aligned}\text{Period}=&\text{Minutes, hours, days, weeks,}\\&\text{months}\end{aligned}\\&LC=\text{Lower channel}\end{aligned}$

The upper channel is the highest price over set periods, while the lower channel is the lowest. The middle channel averages them, showing the midpoint.  

### High Channel

1.  Choose the period (N minutes/hours/days/weeks/months).
2.  Approximate the high point for each minute, hour, day, week, or month over that period.
3.  Choose the highest point.
4.  Plot the result.

### Low Channel

1.  Choose the period (N minutes/hours/days/weeks/months).
2.  Compare the low point for each minute, hour, day, week, or month over that period.
3.  Choose the lowest point.
4.  Plot the result.

### Center Channel

1.  Choose the period (N minutes/hours/days/weeks/months).
2.  Compare high and low points for each minute, hour, day, week, or month over that period.
3.  Add the lowest low point to the highest high point and divide by two.
4.  Plot the result.

## Understanding Insights From Donchian Channels

Donchian channels depict the relationship between the current price and trading ranges over set periods. Three values build a visual map of price over time, like [Bollinger Bands](https://www.investopedia.com/trading/using-bollinger-bands-to-gauge-trends/), signaling the extent of bullishness and bearishness for the chosen period. The top line shows the extent of bullish energy, the highest prices achieved for the period. The middle line identifies the period's median or mean reversion price, highlighting the middle ground. The bottom line shows the extent of bearish energy and the lowest price for the period.

## Practical Example: Using Donchian Channels Effectively

![Image](https://www.investopedia.com/thmb/CQaxZqNQhFb06TZ1W9wAljBSaRc=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/dotdash_final_Donchian_Channels_Definition_Dec_2020-01-955f3ee68a244bbf8dab9e5f6363a6a0.jpg)

*— Image by Sabrina Jiang © Investopedia 2021*

In this example, the Donchian channel is the shaded area bound by the upper green and the lower red lines, using 20 days for the band construction over N periods. As the price moves to its highest point in the last 20 days or more, the price bars “push” the green line higher. As the price drops to its lowest point in 20 days or more, the price bars “push” the red line lower.

When the price decreases for 20 days from a high, the green line will be horizontal and then start dropping. Conversely, when the price rises from a low for 20 days, the red line will be horizontal for 20 days and then start rising.

## Real-World Applications of Donchian Channels

Donchian channels have several applications for traders in stocks, forex, commodities, and other markets. They can help identify potential breakouts and reversals in price, which are the moments when traders are called on to make strategic decisions. These strategies can help you capitalize on price trends while having pre-defined entry and exit points to secure gains or limit losses. Using the Donchian channel can thus be part of a disciplined approach to managing trades.

### Assessing Volatility

The width of the area enclosed within the upper and lower lines reveals the asset's volatility. A wider channel signifies high volatility and larger swings in price during the period, implying the asset has a high potential for price fluctuations. A narrow channel shows lower volatility, meaning the asset could be more stable or is in the midst of consolidating previous gains or losses.

When an asset price keeps trading within a narrow range of the Donchian channel, signaling potential consolidation, a breakout could be more likely to occur once the price moves above or below the outer lines.

### Finding Support and Resistance Levels

An important use of Donchian channels is to determine support and resistance levels. The upper band shows the asset's highest price, acting as a resistance level. The lower band, showing the lowest price, serves as the support level.  

### Identifying a Breakout

A breakout above the upper band suggests an upward trend and a potential buying opportunity. Meanwhile, should the price go below the lower band, this could be the time for selling or shorting the asset.

Determining when a breakout happens involves watching for when the price moves beyond the upper or lower band. You can usually confirm a breakout once the price closes at a point above or below the upper or lower channels.

### Following Trends

Beyond using the channels for signs of a breakout, they are used to follow trends and strategize accordingly. For example, you might consider buying a long position on a security when the price stays near or touches the upper band, signaling upward momentum. Alternatively, a short position might be in order if there's a similar movement at or near the lower channel.

The middle line is useful, too, since it allows you to have another means for seeing relative support or resistance in the asset prices.

### Stop-loss Orders

Donchian channels can be a risk management tool for locking in profits or stopping a slide in losses. For example, if you are holding a long position, you might want to follow a common approach: setting your stop-loss just below the lower Donchian channel band. Should the price plunge beneath that point, there might be a reversal or breakdown in the trend. This could be where you put the stop-loss to limit your risk.

If you have shorted an asset, you would place a stop-loss at a point above the upper band. Should the price go above this level, you might have an upward trend. A stop-loss there would protect you from further losses.

You can also use the Donchian channel for trailing stop-loss orders. For a long position, you can gradually push the stop-loss upward, trailing below the lower band when it's rising. If you're in a short position, you can adjust it lower, trailing just above the descending upper band.

### Take-profit Orders

Whether you have a long or short position, the middle line of the Donchian channel can help you determine where to put a [take-profit](https://www.investopedia.com/terms/t/take-profitorder.asp) order, which is a limit order identifying the price at which you'll get out of a position and pocket the profit. Secure profits if the price crosses the mid-channel, especially if it was a support or resistance before.

Another strategy would involve waiting for the asset's price to hit up against the opposite band of the channel. In a long position, this would mean using the upper band for taking profits, and in a short position, similarly for the lower band.  

## Integrating Donchian Channels With Other Technical Indicators

Donchian Channels can be blended with other technical analysis tools to [bolster a trading strategy](https://www.investopedia.com/ask/answers/121714/how-are-donchian-channels-used-when-building-trading-strategies.asp). Here are several ways to do so:

**Moving averages and volume**: Moving averages are used to smooth out price data for a period by creating a constantly updated average price. You can lay them over a Donchian channel to confirm or isolate trends. Also, you can use volume charts to confirm the solidity of a breakout signaled by the Donchian channel.

**Relative strength index (RSI)**: This measures how rapid price shifts occur. Often, technical analysts use this data, scored between 0 and 100, to recognize when there's too much buying or selling of a security. You can use RSI with a Donchian channel to initiate or back off trades. For example, a breakout beyond the upper band, with a high RSI, could suggest an overtraded security and signal the need for caution before buying. Alternatively, a breakout below the lower band and a low RSI could indicate the security is oversold, a signal of a potential buying opportunity.

**Moving average convergence divergence (MACD)**: Using MACD with Donchian Channels combines trend and momentum strategies. MACD measures momentum by comparing two moving averages and can be used to confirm signals from a Donchian channel. For example, should a price break the upper Donchian band, signaling a bullish trend, a bullish MACD crossover (when the line in the MACD crosses above the signal line) could indicate how strong the trend is. Likewise, should the price drop beneath the lower Donchian channel and come with a bearish MACD crossover, this would signal that the move downward is a strong trend.

## Comparing Donchian Channels and Bollinger Bands

Donchian channels plot the highest high and lowest low over N periods while Bollinger Bands plot a simple moving average for N periods plus or minus the standard deviation of the price for N periods times two. This results in a more balanced calculation that reduces the impact of big high or low prints.

## Limitations of Donchian Channels: What Traders Need to Know

Donchian channels share common chart limitations, like periods that might not reflect the market or false signals. There's also the risk of looking for cues to confirm what you wish were the case or have previously concluded. Here are some potential issues in using Donchian channels:

**False breakouts**: When a price breaks above or below the Donchian channel, this could suggest a trend, and then it quickly reverses direction. In the meantime, this might have led to a premature and unprofitable set of trades before the reversal.

**Lagging indicator**: Donchian channel charts are, at best, lagging indicators. They depict past price changes but don't predict them. The Donchian channel might not supply signals fast enough to trade on in a highly volatile market.

**Sideways markets**: Donchian channels, like most technical analysis tools, are clearest when dealing with trending markets. In sideways markets where trading is within a tight range with no evident trendline, the price might touch the upper and lower bands frequently, potentially leading to false signals for trend-following strategies.

**Overreliance on them**: Donchian channels should be used with other technical analysis tools to confirm signals and check your conclusions against the broader market.

**The wrong period setting**: Donchian channels give you the best information when you have chosen the right number of periods to calculate the high and low bands. But, of course, this leads to the question of how to know the number of periods to use. That comes from experience since there are no one-size-fits-all directions to give. What works for certain assets or markets might not work well in another.

## How Do Donchian Channels Differ From Other Moving Average Indicators?

Donchian channels, unlike standard moving average indicators, focus on the highest and lowest price points over a set time frame. While moving averages give a smoothed average price trend, Donchian channels create a band enclosing the extreme highs and lows. This can be particularly useful for identifying breakout points and the size of volatility.

  

## How Do I Pick the Number of Periods for a Donchian Channel?

Selecting the right number of periods for Donchian channels is crucial and should match your trading strategy, your trading horizon, and the market’s volatility. Fewer periods will be more responsive to price moves, which is better for short-term trading. A higher number of periods gives you a wider overview of market trends, which is better for long-term trading strategies. You should also consider the asset or market involved, the range in price for the market or asset over time, and your risk tolerance when setting the number of periods.

## What Is Technical Analysis?

Technical analysis evaluates investments and trading prospects by examining statistical trends in past trading activity, such as price moves and volume. The assumption behind technical analysis is that future prices for an asset are better discerned through its historical value in the market, its level of volatility, and volume traded than fundamental analyses related to a company's financials and industry conditions. While few traders rely wholly on technical or fundamental analysis tools, these are two different ways of evaluating the value of an asset, industry, or market.

## The Bottom Line

Donchian channels help traders spot market trends and potential breakouts, making them a beneficial instrument in technical analysis. They are particularly effective when combined with other technical tools such as RSI and MACD to provide a more comprehensive view of market trends and momentum. Traders should apply Donchian channels alongside other analysis methods to confirm signals, particularly in sideways markets, where these channels may present challenges. By integrating these tools into a disciplined trading strategy, traders can better manage risks and capitalize on market opportunities.

> **Article Sources**
>
> 1.  P. J. Kaufman. "Trading Systems and Methods," Pages 307-316. John Wiley & Sons, 2019.
>     
> 2.  TradingView. "[Donchian Channels](https://www.tradingview.com/scripts/donchianchannels/)."