Moving Average Range Channels

Dec 31, 2017

Static chart image
Signals
Channels
Moving Averages
Volatility

The Moving Average Range Channels indicator provides a comprehensive volatility and trend analysis framework by wrapping a user-selected moving average within dynamic price channels and extension zones.

Usage

The Moving Average Range Channels can be used to identify trend direction, momentum, and potential exhaustion levels. Users can select from 12 different moving average types to serve as the core calculation engine, allowing the indicator to adapt to different market conditions or asset classes.

Trend Identification

  • Fast/Slow MA Crossover: When the Fast MA crosses above the Slow MA, it indicates a bullish shift. Conversely, a cross below indicates a bearish shift.
  • Channel Midline: The Midline acts as a dynamic pivot; price or Fast MA positioning relative to the Midline suggests the immediate trend bias.

Volatility and Exhaustion

  • Range Channels: The Channel High and Low represent the peak and trough of the Slow MA over a defined lookback period, acting as dynamic support and resistance.
  • Extension Zones: The High and Low Extension lines identify overbought and oversold conditions. When the Fast MA enters these outer zones, the probability of a mean reversion or trend pause increases.

Bar Coloring The indicator includes a custom bar coloring scheme:

  • Green: Fast MA is above the Channel High and rising (strong bullish momentum).
  • Faded Green: Fast MA is above the Channel High but falling (weakening bullish momentum).
  • Red: Fast MA is below the Channel Low and falling (strong bearish momentum).
  • Faded Red: Fast MA is below the Channel Low but rising (weakening bearish momentum).
  • Blue: Price is within the neutral range.

Details

The script is based on the concept of the Dynamic Range Channel but replaces the McGinley Dynamic with a selectable moving average. The core logic involves calculating a Fast and Slow version of the chosen moving average. The "Range" is determined by finding the highest and lowest values of the Slow MA over the Channel Period.

The extension channels are derived from the range's internal volatility. The Upper Extension is calculated by adding the upper half-range (High - Midline) to the Channel High. The Lower Extension is calculated by subtracting the lower half-range (Midline - Low) from the Channel Low. This creates a balanced outer envelope that scales with the historical movement of the selected moving average.

Settings

  • Source: The price data used for calculations (e.g., Close, HL2).
  • Moving Average Type: Selects the smoothing algorithm (EMA, DEMA, SMA, SMMA, WMA, VWMA, ALMA, HULLMA, LSMA, COVWMA, FRAMA, KAMA).
  • Fast MA Sampling Period: The lookback period for the Fast Moving Average.
  • Slow MA Sampling Period: The lookback period for the Slow Moving Average used to define the channel boundaries.
  • Channel Period: The lookback length used to determine the highest and lowest points of the Slow MA.
  • Volume Type (if VWMA): Choose between Default or Tick volume for VWMA calculations.
  • Offset (if LSMA): Adjusts the linear regression offset for the LSMA.
  • ALMA Settings: Specific controls for the Arnaud Legoux Moving Average, including Offset (distribution) and Sigma (thickness).
  • Coefficient (if FRAMA): Controls the Fractal Adaptive Moving Average sensitivity.
  • KAMA Settings: Fast and Slow smoothing constants for the Kaufman Adaptive Moving Average.

FAQ

How do I interpret the extension zones? The extension zones represent price extremes relative to the recent range. If the Fast MA enters the green High Extension zone, the market is considered extended to the upside. If it enters the red Low Extension zone, it is extended to the downside.

Which moving average is best for this indicator? The choice depends on the asset. "HULLMA" or "ALMA" are often preferred for reducing lag, while "VWMA" or "COVWMA" are useful for incorporating volume-weighted price action into the channel logic.

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

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing 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 investments 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 and strategies, 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, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators 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.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

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

© 2026 LuxAlgo Global, LLC.