Normalized MACD
Feb 21, 2015

The Normalized MACD indicator provides a bounded version of the standard Moving Average Convergence Divergence, designed to oscillate between fixed levels for better comparison across different assets and timeframes. By normalizing the MACD line, traders can more easily identify extreme overextended levels and potential trend reversals.
Usage
The Normalized MACD is used primarily to identify momentum shifts and trend direction. Traders look for crossovers between the normalized MACD line and its trigger (signal) line to enter or exit positions. Because the values are normalized to a specific range, it is also useful for identifying overbought or oversold conditions within the context of the lookback period.
Key visual features include:
- MACD Line: The primary indicator line representing the normalized difference between two moving averages.
- Trigger Line: A weighted moving average of the MACD line used for crossover signals.
- Histogram: Displays the distance between the MACD line and the trigger line, highlighting momentum strength.
- Color Change: Optionally changes the MACD line color based on its slope to identify immediate momentum shifts.
Details
The indicator calculates the ratio between a fast and slow moving average to determine the raw MACD value. This value is then normalized using a highest-high and lowest-low calculation over a user-defined period (Normalize length). This process transforms the MACD into an oscillator that fluctuates within a consistent range, typically between -1 and 1. This normalization removes the price-dependent scale of a traditional MACD, allowing for a more consistent interpretation of its magnitude.
Settings
Calculation Settings
- Fast MA: The length used for the faster moving average calculation.
- Slow MA: The length used for the slower moving average calculation.
- Trigger: The period for the weighted moving average applied to the normalized MACD line.
- Normalize: The lookback period used to scale the MACD values between its boundaries.
- MA Type: Choose between Exponential (EMA), Weighted (WMA), or Simple (SMA) moving averages for the base calculations.
Visual Settings
- Histogram: Toggles the visibility of the momentum histogram.
- Color Change: When enabled, the MACD line changes color based on whether it is rising or falling.
- Fill: Toggles a column-based fill that colors the background area based on whether the MACD is above or below the zero line.
FAQ
How do I interpret the Normalized MACD crossover?
A bullish signal occurs when the Normalized MACD line crosses above the Trigger line, while a bearish signal occurs when it crosses below the Trigger line.
What is the benefit of using WMA in this script?
Using a Weighted Moving Average (WMA) for the trigger line or base calculations often results in a smoother output that reacts more specifically to recent price action compared to a simple moving average.
How can I access the Normalized 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.