Ultra MACD
Jan 1, 2018

The Ultra MACD indicator provides an enhanced version of the traditional Moving Average Convergence Divergence oscillator by offering nine different moving average types for its calculation. This tool allows traders to customize the sensitivity and responsiveness of the MACD and its signal line, providing a more versatile approach to trend following and momentum analysis across various market conditions.
Usage
The Ultra MACD can be used similarly to the standard MACD to identify momentum shifts and trend reversals. Traders typically look for:
- Crossovers: When the MACD line crosses above the Signal line, it indicates a bullish shift. Conversely, a cross below suggests bearish momentum.
- Zero Line Crosses: The MACD crossing above the zero line confirms an upward trend, while crossing below confirms a downward trend.
- Histogram Analysis: The histogram displays the difference between the MACD and the Signal line, helping to visualize accelerating or decelerating momentum.
The indicator also includes a bar coloring feature that can be set to follow either the MACD state or the Histogram state, allowing for better synchronization between the chart and the oscillator.
Details
This script expands upon Gerald Appel's original MACD formula by replacing the standard Exponential Moving Average (EMA) with a variety of advanced filtering options. These include:
- EMA (Exponential Moving Average): The classic standard.
- DEMA (Double Exponential Moving Average): Reduces lag while maintaining smoothness.
- SMA (Simple Moving Average): A standard arithmetic mean.
- SMMA (Smoothed Moving Average): Similar to the EMA but with a longer lag.
- WMA (Weighted Moving Average): Gives more weight to recent data.
- VWMA (Volume Weighted Moving Average): Weights prices based on volume activity.
- ALMA (Arnaud Legoux Moving Average): Uses a Gaussian distribution to provide extreme smoothness and low lag.
- LSMA (Least Squares Moving Average): Projects the end of a linear regression line.
- KAMA (Kaufman's Adaptive Moving Average): Adjusts its sensitivity based on market noise.
Settings
General
- Source: The price data used for calculations (e.g., Close).
- Filter Type: Determines the moving average calculation used for the Fast, Slow, and Signal components.
- Fast Filter Period: The lookback period for the fast-moving average.
- Slow Filter Period: The lookback period for the slow-moving average.
- Signal Period: The lookback period for the signal line calculation.
- Bar Color Method: Choose between "MACD" or "Histogram" to determine how candle colors are calculated.
Filter Specifics
- Volume Type (if VWMA): Choose between Default (indicator volume) or Tick volume for VWMA calculations.
- Offset (if ALMA): Adjusts the offset of the ALMA window.
- Sigma (if ALMA): Determines the width of the ALMA Gaussian filter.
- Offset (if LSMA): Determines the regression offset.
- KAMA Fast/Slow End: Defines the efficiency ratio boundaries for the adaptive moving average.
FAQ
How do I access the Ultra MACD?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Which Filter Type is best for day trading?
Traders looking for high responsiveness often prefer DEMA or ALMA, as they are designed to reduce the lag inherent in standard moving averages.
How does the VWMA calculation handle missing volume data?
If standard volume is unavailable on a specific asset, the script can fall back to calculated tick volume to ensure the indicator remains functional.
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.