Mavilim MACD
Sep 9, 2018

The Mavilim MACD indicator provides a modified Moving Average Convergence Divergence oscillator by utilizing the Mavilim moving average calculation method to offer a smoother trend-following perspective.
Usage
The Mavilim MACD can be used to identify trend direction, momentum shifts, and potential entry/exit points. Similar to the traditional MACD, users look for crossovers between the MACDM line and the Signal line.
- Trend Identification: When the MACDM line is above the Signal line (highlighted in green), it indicates bullish momentum. Conversely, when the MACDM line is below the Signal line (highlighted in red), it indicates bearish momentum.
- Momentum Strength: The histogram represents the difference between the MACDM and the Signal line. A brightening green histogram suggests increasing bullish momentum, while a brightening red histogram suggests increasing bearish momentum.
- Zero Line Crosses: Crossing the zero line can indicate a broader shift in the underlying trend direction.
Details
The indicator calculates two distinct Mavilim averages using weighted moving averages (WMA) stacked in a specific sequence based on user-defined lengths. The "Mavilim" approach aims to reduce lag while maintaining smoothness by recursively smoothing the price data multiple times. The MACDM line is derived from the difference between these two averages, and a standard Simple Moving Average (SMA) is applied to the MACDM to create the Signal line.
Settings
- Signal Period: Determines the smoothing length of the Signal line using a Simple Moving Average.
- First Moving Average Length: The base length used to calculate the first Mavilim average component.
- Second Moving Average Length: The secondary length used in the recursive smoothing for the first Mavilim average.
- M2 First Moving Average Length: The base length used to calculate the second Mavilim average component.
- M2 Second Moving Average Length: The secondary length used in the recursive smoothing for the second Mavilim average.
FAQ
How do I use the Mavilim MACD for crossovers?
You can look for instances where the MACDM line crosses above the Signal line for potential long opportunities or crosses below the Signal line for potential short opportunities.
How does this differ from the standard MACD?
The standard MACD uses Exponential Moving Averages (EMA), whereas the Mavilim MACD uses a custom recursive WMA structure designed to filter noise differently than traditional methods.
How can I access the Mavilim 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.