Donchian MA Bands

Oct 5, 2023

Static chart image
Dynamic Overlays
Support and Resistance
Channels
Moving Averages
Works on the following platforms:
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

The Donchian MA Bands indicator is an advanced trend-tracking tool designed for traders seeking to capitalize on the capabilities of Donchian channels combined with moving averages to gauge market trends and ascertain support and resistance zones.

How to Use the Donchian MA Bands Indicator?

indicator image

This indicator delivers multiple outputs, including primary elements like a lower dynamic zone (defaulted to blue), an upper dynamic zone (defaulted to orange), and a set of support/resistance levels and zones (defaulted to red/green). The lower zone predominantly signifies an uptrend, while a prominent upper zone signifies a downtrend, both serving as potential support/resistance areas.

Traders can employ support/resistance zones following a breakout strategy or identify potential bounce backs when a level is repeatedly tested.

The Donchian MA Bands indicator presents several operational modes that impact its display:

Dynamic Clouds

indicator image

When Clouds mode is activated, the indicator produces one upper and one lower dynamic zone, akin to trailing stops. Price movement above the lower zone signals an uptrend, whereas price movement below the upper zone signals a downtrend.

Understanding the Upper Band

indicator image

The Upper Band configuration offers a dynamic zone that draws closer to price levels during uptrends and extends further during downtrends, acting as potential support in bullish market conditions.

Understanding the Lower Band

indicator image

Conversely, the Lower Band setting produces a dynamic zone that remains closer during bullish trends and extends during bearish trends, acting as potential resistance in downtrending scenarios.

Comprehensive Bands

indicator image

When both upper and lower zones are displayed, their visibility shifts with trend directions—a pronounced lower zone indicates an uptrend, while a pronounced upper zone signals a downtrend. Breakout dots appear when the price exceeds the extremities presented by the indicator, indicating a confirmed potential trend reversal.

indicator image

These breakout signals are most effective in trending markets and may indicate key reversals in ranging markets by highlighting tops and bottoms.

Indicator Details

Central to this script are the highest and lowest moving average (MA) values calculated over a specified period (known as Donchian lines).

This calculation is iterated multiple times using the obtained MA values.

indicator image

Choosing 'Bands' results in one additional iteration of this calculation.

indicator image

Traders can customize the type of moving average and the length of the lookback period to suit their trading strategies. Different band styles emphasize various market conditions and trading opportunities.

indicator image

indicator image

By opting for Clouds, Upper Band, or Lower Band settings, traders gain access to an additional support/resistance (S/R) feature. These color-filled areas highlight the discrepancy between subsequent highest/lowest values and can inform stop-loss, entry, and exit decisions. Customization settings for MA type and length are available under Settings -> S/R.

indicator image

At times, these support/resistance shapes manifest as triangles, suggesting potential directional movement.

indicator image

The default setup plots the midpoint of the highest and lowest values, providing possible trend visualization and forming support/resistance levels without necessarily plotting the mean average.

indicator image

Important Notes

When 'Bands' are active, alerts are plotted when closing prices break above the highest band or below the lowest band. This serves as a notification of boundary breaches instead of a definitive buy/sell signal. Traders should apply their discretion in utilizing these signals as entry, exit, trailing stop, stop-loss, or profit-taking triggers.

Configuration Settings

Bands Configuration

  • Style Options: Clouds (default), Upper Band, Lower Band, or Bands
  • Moving Average Type (Type MA): Options include SMA, EMA, RMA, HullMA, WMA, VWMA (default), DEMA, TEMA, and NONE (off)
  • Length Setting: Determines the duration for moving average and Donchian calculations (default is 20)
  • Band Colors Configuration

Support/Resistance Settings (Visible with Clouds, Upper Band, or Lower Band)

  • Moving Average Type (Type MA): Options include SMA, EMA, RMA, HullMA, WMA, VWMA (default), DEMA, TEMA, and NONE (off)
  • Length Setting: Determines the duration for moving average and Donchian calculations (default is 20)
  • S/R Color Configuration

FAQ

How can I access the Donchian MA Bands indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Can the Donchian MA Bands be used for all markets? Yes, it can be tailored for different markets and trading styles by adjusting its settings for optimal performance.

What is the benefit of using dynamic zones in trading? Dynamic zones adapt to price movements, providing traders with more responsive support and resistance levels compared to static lines.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.