Exponential Moving Average Convergence/Divergence
Mar 25, 2016

The Exponential Moving Average Convergence/Divergence indicator provides a streamlined momentum-based trend-following tool that calculates the difference between two exponential moving averages to identify potential trend reversals and momentum shifts.
Usage
The Exponential Moving Average Convergence/Divergence (EMACD) is used to determine the strength and direction of a trend. Traders primarily look for crossovers between the MACD line and the Signal line to identify potential entry and exit points.
- Bullish Signal: Occurs when the MACD line crosses above the Signal line, suggesting increasing upward momentum.
- Bearish Signal: Occurs when the MACD line crosses below the Signal line, suggesting increasing downward momentum.
- Zero-Line Crossovers: When the MACD line crosses above zero, it indicates that the short-term average is higher than the long-term average (bullish). Conversely, crossing below zero indicates the short-term average is lower than the long-term average (bearish).
Details
The script calculates the MACD line by subtracting a longer-period Exponential Moving Average (Slow Length) from a shorter-period Exponential Moving Average (Fast Length). A third EMA, known as the Signal line, is then applied to the MACD line itself.
While traditional MACD interpretations often include a histogram, this specific implementation focuses on the raw interaction between the MACD and Signal lines. The use of exponential averages ensures the indicator remains more responsive to recent price changes compared to simple moving averages. The script also includes built-in alert conditions for crossovers to assist in real-time monitoring.
Settings
- Fast Length: The period for the shorter-term exponential moving average (default is 12).
- Slow Length: The period for the longer-term exponential moving average (default is 26).
- Signal Length: The smoothing period applied to the MACD line to create the Signal line (default is 9).
FAQ
How do I interpret a MACD crossover? A crossover occurs when the blue MACD line passes through the Signal line. An upward cross is typically viewed as a bullish signal, while a downward cross is viewed as a bearish signal.
Can I change the sensitivity of the indicator? Yes, by decreasing the Fast and Slow Lengths, the indicator becomes more sensitive to price changes. Increasing these values will smooth out the lines and reduce the number of signals.
How can I access the Exponential Moving Average Convergence/Divergence indicator? 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.