All indicators

Limited MACD

Oct 31, 2022

Static chart image
SignalsOscillatorsMoving Averages

The Limited MACD indicator provides a normalized version of the traditional Moving Average Convergence Divergence oscillator, constraining values between -100 and 100 to facilitate overbought and oversold analysis across different assets and timeframes. By scaling the MACD output, this tool allows traders to identify potential price exhaustion levels and reversals using standardized thresholds similar to the Relative Strength Index (RSI).

Usage

The Usage section describes how the script can be used to interpret market momentum and trend shifts.

  • Overbought/Oversold Identification: Traders can use the +/- 50 levels to identify extreme market conditions. Values approaching 100 suggest overbought conditions, while values near -100 suggest oversold conditions.
  • Trend Direction: Like the standard MACD, the relationship between the MACD line (blue) and the Signal line (orange) indicates momentum. Crosses above the signal line suggest bullish momentum, while crosses below suggest bearish momentum.
  • Signal Markers: The script highlights potential turning points with background highlights when the MACD line crosses key levels (±50).
  • Candle Coloring: The indicator includes an optional bar coloring feature that transitions from red to green based on the oscillator's value, providing a visual representation of momentum directly on the price chart.

Details

The script achieves normalization by dividing raw MACD values by their extreme ranges and applying a scaling calculation. This ensures that regardless of the asset's price or volatility, the oscillator remains bound within a fixed range. This implementation uses Weighted Moving Averages (WMA) of absolute MACD values to determine the dynamic scaling factor, resulting in a responsive yet bounded oscillator.

Settings

  • Source: The price data used for calculation (default is Close).
  • Short EMA Length: The lookback period for the fast exponential moving average.
  • Long EMA Length: The lookback period for the slow exponential moving average.
  • Signal Length: The smoothing period applied to the MACD line to create the signal line.
  • Histogram Colors: A set of four color inputs to customize the appearance of the histogram based on whether it is growing or falling relative to the zero line.

FAQ

How do I interpret the background highlights? The background highlights trigger when the MACD line crosses the ±50 thresholds, signaling that the trend is either gaining significant strength or reaching a potential exhaustion point.

Can I use this for divergence trading? Yes, since it maintains the core logic of the MACD, users can look for discrepancies between price action and the Limited MACD peaks/troughs to identify potential divergences.

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

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.