This is a cached version of https://investopedia.com/donchian-channels-formula-8415235 from 2/28/2026, 3:15:02 PM.
Donchian Channels: Formula, Calculations, and Uses
Donchian channels is a technical analysis tool used to identify trading entry and exit points, and are best used in conjunction with other indicators.
Top Stories World's Healthiest Country Are You Saving Enough? 8 European Villages For An Affordable Retirement Buffett's Warning About AI Table of Contents Expand Table of Contents What Are Donchian Channels? Formulas What Do They Tell You? Examples Differences Limitations Special Considerations FAQs The Bottom Line Investopedia / Julie Bang Close What Are Donchian Channels? Donchian channels are technical indicators primarily used to identify breakout points and retracements, which are key for traders looking to capture significant trends. This technical analysis tool—which is commonly used among commodity traders—was developed by Richard Donchian, a pioneer in managed futures. Key Takeaways Donchian channels are a popular technical analysis tool that is most commonly used by commodity traders.The Donchian channel consists of the highest and lowest security prices over a specific number of periods.Donchian channels offer several practical applications for traders and investors.Donchian channels can be combined with moving averages, volume indicators, and moving average convergence/divergence (MACD) to develop a more complete picture of an asset's market.Donchian channels can help you identify trends and breakout signals, but period length, market conditions, risk, and their relevance to other indicators must be considered. The Formulas For Donchian Channels Three bands must be calculated to create a Donchian Channel: the upper, lower, and middle bands. Each band is a series of connected points for each trading period. Each band represents that period's high and low prices—the middle band represents the high and low's average. The period used by the analyst can be any trading period, such as 30 minutes, one day, one month, or six months. Many traders use 20 days, representing the usual number of trading days in one month. The formulas use these variables: NPeriods: The number of periods selected, such as 20 daysMax: The highest high price during the chosen periodsMin: The lowest low price during the chosen periods The Upper Band The upper band is calculated by identifying the highest high price of the asset over a number of periods (N). U p p e r B a n d = m a x ( H i g h o v e r t h e l a s t N p e r i o d s ) Upper Band = max(High over the last N periods) UpperBand=max(HighoverthelastNperiods) The Lower Band This is the lowest low price of the asset over the same number of periods (N). L o w e r B a n d = m i n ( l o w o v e r t h e l a s t N p e r i o d s ) Lower Band = min(low over the last N periods) LowerBand=min(lowoverthelastNperiods) The Middle Band The middle band is the average of the upper and lower bands. M i d d l e B a n d = ( U p p e r B a n d + L o w e r B a n d ) / 2 Middle Band = (Upper Band + Lower Band)/2 MiddleBand=(UpperBand+LowerBand)/2 How to Calculate Donchian Channels Calculating Donchian channels is straightforward: Choose your number of periods Determine the highest high Determine the lowest low Calculate the average of the highest high and the lowest low Progress through calculating the high, low, and average for each trading period. For example, the following table lists Invesco QQQ Trust (QQQ) daily prices from Feb. 5, 2025, through March 5, 2025 (20 trading days). Date High Low March 5 $503.63 $491.26 March 4 $503.74 $487.74 March 3 $513.04 $493.58 Feb. 28 $508.78 $496.93 Feb. 27 $519.07 $500.05 Feb. 26 $519.66 $511.37 Feb. 25 $519.32 $509.44 Feb. 24 $529.07 $519.53 Feb. 21 $538.40 $525.71 Feb. 20 $539.10 $532.46 Feb. 19 $540.81 $536.46 Feb. 18 $540.00 $536.04 Feb. 14 $538.84 $535.67 Feb. 13 $536.22 $529.19 Feb. 12 $529.19 $521.95 Feb. 11 $529.92 $525.83 Feb. 10 $530.36 $526.75 Feb. 7 $532.10 $522.19 Feb. 6 $529.81 $525.74 Feb. 5 $527.01 $520.62 Find the highest high ($540.81) and the lowest low ($487.74) and average them ($514.28). These are your data points for this 20-day trading period. Do this for each day (the dates for each 20-day period will change daily, as will the latest values). For instance, the previous period would be Feb. 4, 2025 – Mar. 4, 2025. You'll find the highest high, lowest low, and average them, then repeat the next trading day. To graph Donchian channels from this data, create seven 20-day periods, get the highest highs and lowest lows, and calculate the middle band for each period. The following table has the values for these periods: Period Highest High Lowest Low Middle (Average) March 5 - Feb. 5 $540.81 $487.74 $514.28 March 4 - Feb. 4 $540.81 $487.74 $514.28 March 3 - Feb. 3 $540.81 $493.58 $517.20 Feb. 28 - Jan. 31 $540.81 $496.93 $518.87 Feb. 27 - Jan. 30 $540.81 $500.05 $520.43 Feb. 26 - Jan. 29 $540.81 $509.44 $525.13 Feb. 25 - Jan. 28 $540.81 $509.44 $523.25 The channels for these seven periods are demonstrated in the image below (note that this is only for a seven periods—a graph would generally reflect much more data and many more periods) You'll notice the high, middle, and low are graphed: Fast Fact Most trading websites let you create charts with Donchian Channels and other indicators. What Do Donchian Channels Tell You? Donchian channels are versatile in technical analysis, with applications that include the following: Identifying trends: A major use of Donchian channels is to identify the prevailing trend in the market. When the price of an asset consistently trades near the upper band, this indicates a strong uptrend, suggesting bullish sentiment. Conversely, trading near the lower band signals a downtrend, signaling a bearish sentiment. Breakout signals: They are particularly effective in spotting breakout opportunities. A breakout above the upper band signals a potential buying opportunity since it suggests that the asset might continue to rise. Meanwhile, a break below the lower band can signal a selling or short-selling opportunity since it could suggest that the decline has further to go. Support and resistance levels: The upper and lower bands of the Donchian channel can suggest the support and resistance levels. Traders frequently watch them closely to make buying or selling decisions. For instance, a bounce off the lower band might be seen as a buying opportunity, while resistance at the upper band can be a cue to sell. Stop-loss and exit points: Donchian channels can help set stop-loss orders and determine exit points. For example, a common strategy is to place a stop-loss order just below the lower band when buying, which helps limit potential losses if the market moves unfavorably. Measure of volatility: The width of the Donchian channel can serve as an indicator of market volatility. A wider channel indicates higher volatility, as the price is making larger swings over the set period. Conversely, a narrow channel indicates lower volatility. Filtering noise: In long-term trading strategies, setting a longer term for the Donchian channels can help filter market noise and help you focus on the relevant price moves. Important Like any trading tool in technical analysis, Donchian channels are not foolproof and should not be used by themselves to make decisions. Traders should understand the risk of false breakouts and the channels' limits in sideways markets. Example of How to Use Donchian Channels This example entails using the Donchian channel on the exchange-traded fund (ETF) Invesco QQQ Trust, Series 1 (QQQ). This example was conducted on a four-hour chart from Dec. 14, 2022, to Dec. 14, 2023. The buy condition occurs when the candle’s high is above the Donchian channel’s upper band. This would close any short positions. Conversely, the sell condition rule entails when the candle’s low is lower than the lower band of the Donchian channel. This condition will close any long positions. The strategy assumptions for Donchian channel trading include the following: Initial capital of $1 millionOrder size of 100% of equityNo pyramiding of ordersNo leveraged tradesCommissions and slippage were ignoredPeriod length of 20 Donchian Channel on QQQ. TradingView The results were as follows: Net profit: 9.64%Total closed trades: 15Percentage of profitable trades: 46.67%Profit factor generated: 1.35Maximum drawdown: 14.87%Buy and hold over same period: 55.12% Donchian Channel Profit and Loss. TradingView This example illustrates the potential effectiveness of the Donchian channels. However, it is critical to note that traders typically utilize more complex trading strategies and leverage, and they subject the indicator to more extensive backtesting and optimization before applying it to real trading. The Difference Between Donchain Channels and Other Channel Indicators Several technical analysis indicators share similarities with Donchian channels, but they use different measurements in calculating bands or channels: Bollinger Bands: These are volatility indicators consisting of a middle simple moving average and two standard deviation lines above and below it. Keltner Channels: These are like Bollinger Bands, but are defined by an exponential moving average and average true range. Moving Average Envelopes: These are moving averages set above and below the price by a specified percentage. Price Channels: These plot a security’s highest high and lowest low over a certain period. Average True Range Bands: These create a volatility-based range around the price based on the average true range of an asset. Limitations of Using Donchian Channels Donchian channels, like any technical analysis tool, have certain limitations and risks that traders should know: Lagging indicator: The first limitation concerns lag. Donchian channels are based on past price data, making them lagging indicators. This means that they react to, rather than predict, price changes. In rapidly changing markets, this lag can lead to delayed entry and exit signals, potentially impacting the profitability of trades. False breakouts: A significant risk associated with Donchian channels is the occurrence of false breakouts. The price may break through the upper or lower band, suggesting a trend change or continuation, but then quickly reverse direction. This can lead to traders entering or exiting positions based on misleading signals. Sideways markets: Donchian channels are most effective in trending markets. In range-bound or sideways markets, when the price fluctuates within a narrow band, these channels can produce frequent whipsaws—frequent reversals leading to confusion and potential losses. Overreliance on them: Relying solely on Donchian channels for trading decisions can be risky. It is generally more effective to use with other technical analysis tools and fundamental analysis to confirm signals and gain a more comprehensive market perspective. Indeed, while Donchian channels can help set stop-loss levels, determining the best place for these stops can be challenging, especially in volatile markets. The wrong stop-loss settings can lead to premature exits from potentially profitable trades or substantial losses. Wrong period setting: The effectiveness of Donchian channels is also heavily dependent on the chosen period setting. Different settings can produce vastly different results, and no one-size-fits-all setting works for all markets or all types of assets. In addition, traders might experience psychological biases, such as confirmation bias, when they only use the channel signals that confirm their preexisting beliefs or positions. This can lead to misguided trading decisions. Leaves a lot out: Donchian channels do not consider broader market conditions, news events, economic data releases, or other fundamental factors that can significantly impact asset prices. The tool ignores market context. Finally, traders might unintentionally introduce bias by selecting channel parameters that align with their desired outcomes rather than those that objectively reflect market conditions. Special Considerations When using Donchian channels, several factors should be tailored to individual trading strategies: Selecting the period length: The default setting is 20 periods, but traders may adjust it to suit their trading needs and style. A shorter period makes the channel more sensitive to recent price moves, which is ideal for short-term trading. In contrast, a longer period smooths out the price data, which can be beneficial for long-term trend following. Market conditions: Donchian channels are most effective in trending markets. In range-bound or sideways markets, the channels may produce frequent false signals. It is essential to assess the overall market condition and use Donchian channels accordingly, possibly with other indicators that help identify market phases. Risk management: As with any trading strategy, risk management is crucial. Setting stop-loss orders is recommended to manage potential losses, especially in volatile markets. A stop-loss at the lower and upper bands of the Donchian channel can be strategically placed for a long position and a short position, respectively. Combining with other indicators: To help confirm signals and reduce the risk of false breakouts, it is often beneficial to use Donchian channels with other technical indicators like the relative strength index (RSI), the moving average convergence/divergence (MACD), or moving averages. This multiple-indicator approach can provide a more complete view of the market. Understanding false breakouts: A challenge with Donchian channels is that false breakouts occur when the price breaks through a band but then quickly reverses. Being ready for potential false signals is necessary for effective trading. Historical performance: Analyzing how an asset has historically responded to Donchian channel levels can help understand how it might perform in the future. However, past performance does not always indicate future results, so this should be one of several considerations. Adjustments for different assets: Different assets may behave differently, and what works for one asset or market may not work for another. Adjusting the settings of the Donchian channels to suit the characteristics of the specific assets is often necessary. Volatility consideration: The Donchian channel’s width can indicate the asset’s volatility. The channels will widen in highly volatile markets, and the price might hit the bands more frequently. This should be taken into account when interpreting the signals generated. Backtesting: Before applying Donchian channels strategies to live trading, backtesting on historical data may prove beneficial. This helps in understanding how the strategy would have performed in the past and in refining the approach based on real market data. Market context: Economic indicators, market sentiment, and fundamental factors should not be ignored. The overall market context needs to be considered. Tools like Donchian channels are most effective in a comprehensive trading strategy considering diverse market aspects. How Accurate Are Donchian Channels? The accuracy and reliability of Donchian channels, like any technical analysis tool, depend on several factors. Its effectiveness can vary based on market conditions, asset types, and how it is used within a broader trading strategy. Donchian channels should be employed with an understanding of their limitations and with other analysis methods and sound trading practices. What Is the Use of Donchian Channels? Donchian channels are used in technical analysis. They create a band enclosing the extreme highs and lows. This can be particularly useful for identifying breakout points and the size of volatility. How Is the Best Indicator to Pair With Donchian Channels? Donchian channels can be used with many other indicators, such as moving averages, volume, relative strength indicator, and moving average convergence/divergence. The Bottom Line Donchian channels, a technical analysis tool developed by Richard Donchian, can effectively identify market trends and potential breakout points. The channels are constructed using two primary lines: the upper band, which is the highest price over a set number of periods (typically 20), and the lower band, which is the lowest price over the same number of periods. An optional middle band can also be included, representing the average of the upper and lower bands. The simplicity of this formula, focusing on price extremes, enables traders to visualize market volatility, momentum, and potential shifts in market trends. Article Sources Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy. Yahoo!Finance. "Invesco QQQ Trust (QQQ) History." Perry J. Kaufman, via Wiley. “Trading Systems and Methods.” John Wiley & Sons, 2019. Mark Andrew Lim, via Wiley. “The Handbook of Technical Analysis + Test Bank: The Practitioner’s Comprehensive Guide to Technical Analysis.”John Wiley & Sons, 2015. Perry J. Kaufman, via Wiley. “Trading Systems and Methods,” Chapters 1–2. John Wiley & Sons, 2019. Read more Partner Links Take the Next Step to Invest Advertiser Disclosure × The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace. Related Articles Disparity Index Meaning, Formula, and Examples What Is the Cumulative Volume Index (CVI)? Key Insights and Calculation Understand Momentum Investing: Strategies and Benefits Average True Range (ATR) Formula, What It Means, and How to Use It High-Low Index Overview: Trends and Trading Signals The Role of Short Line Candles in Market Analysis Understanding Trading Channels: Key Types and Indicators Understanding Money Flow: Calculation Method and Trading Applications Understanding Head-Fake Trades: Meaning and Market Impact Mastering the Tri-Star Candlestick Pattern for Successful Trades Understanding Sideways Trends: Profit Strategies and Real-Life Examples Understanding Diamond Top Patterns: Chart Signals, Characteristics, and Analysis How Can I Determine the Next Resistance Level or Target Price of a Stock? Understanding the 52-Week Range: Definition, Examples, Strategies Technical Trading Explained: Mastering Stock Patterns and Indicators Trading Strategies for a Breakdown: Key Insights and Techniques Newsletter Sign Up Newsletter Sign Up We Care About Your PrivacyWe and our 100 partners store and/or access information on a device, such as unique IDs in cookies to process personal data. You may accept or manage your choices by clicking below, including your right to object where legitimate interest is used, or at any time in the privacy policy page. These choices will be signaled to our partners and will not affect browsing data.We and our partners process data to provide:Store and/or access information on a device. Use limited data to select advertising. Create profiles for personalised advertising. Use profiles to select personalised advertising. Create profiles to personalise content. Use profiles to select personalised content. Measure advertising performance. Measure content performance. Understand audiences through statistics or combinations of data from different sources. Develop and improve services. Use limited data to select content. List of Partners (vendors) Accept All Reject All Show Purposes