All indicators

MAGIC MACD

Dec 17, 2022

Static chart image
SignalsOscillatorsMoving Averages

The MAGIC MACD indicator is a comprehensive momentum and trend-following tool that combines multiple MACD calculations with Exponential Moving Average (EMA) filters to reduce market noise and confirm trade signals. By integrating higher-period trend analysis with lower-period crossover signals, it aims to eliminate false entries common in sideways markets.

Usage

The indicator can be used to identify potential trend reversals and momentum shifts through the interaction of its histogram, signals, and EMAs.

  • Bullish Scenario: A blue triangle appears (Lower MACD crossover). Traders typically wait for the higher-period histogram to turn blue and look for a supportive EMA crossover nearby.
  • Bearish Scenario: A red triangle appears (Lower MACD crossunder). Traders often wait for the histogram to turn red and observe EMA alignment.
  • Counter-Trend Filtering: The tool suggests looking for "opposite color" signals for better accuracy, such as a red triangle appearing while the histogram is blue (potential top) or a blue triangle appearing while the histogram is red (potential bottom).
  • Neutral Zones: When the histogram is gray, it indicates that the price is not aligned with the trend filter (EMA 50), suggesting a period of indecision or sideways movement where signals should be treated with caution.

Details

The MAGIC MACD operates by layering three distinct technical components:

  1. Lower-Period MACD: Plotted as triangles, these provide the initial momentum crossover signals based on standard 12, 26, 9 settings.
  2. Higher-Period MACD: The histogram utilizes a longer lookback (default 5, 50, 30) to provide a macro view of momentum, helping to filter out "choppy" signals from the lower-period source.
  3. Trend & Signal EMAs: An EMA 50 acts as a price filter for the histogram colors. Additionally, EMA 5 and EMA 20 are plotted directly on the oscillator pane (when enabled) to provide secondary confirmation of trend strength and pullback areas.

Settings

  • Enable Signal EMA=ON/MACD=OFF: Toggles between displaying the EMA confirmation lines or the standard MACD/Signal lines in the oscillator pane.
  • Fast Length / Slow Length / Signal Smoothing: Controls the calculation for the higher-period MACD histogram.
  • Oscillator / Signal MA Type: Allows choosing between SMA or EMA for the histogram calculations.
  • Histogram Filter EMA Length: Sets the period for the trend filter (default is 50). The histogram turns gray if price alignment with this EMA is not met.
  • EMA1 / EMA2 Length: Sets the periods for the two confirmation EMAs (default 5 and 20).
  • Color Settings: Customizable colors for the MACD lines, signal lines, and histogram growth/fall states.

FAQ

How do I interpret the gray areas in the histogram?

Gray areas appear when the price position relative to the 50 EMA contradicts the MACD momentum. It signifies a lack of trend confirmation.

Can I use this for scalping?

Yes, the multi-layered filtering is designed specifically to help reduce the noise and false signals that often plague the standard MACD on lower timeframes.

How can I access MAGIC 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.