nTrend MACD Zero LAG
Jun 29, 2019

The nTrend MACD Zero LAG indicator is a trend-following tool that applies candle coloring based on a zero-lag Moving Average Convergence Divergence (MACD) calculation to help traders stay focused on the prevailing market direction.
Usage
The nTrend MACD Zero LAG can be used to filter out price noise and identify trend shifts through visual candle color changes. When the zero-lag MACD histogram is above zero, candles are colored green, signifying a bullish trend. Conversely, when the histogram falls below zero, candles are colored red, indicating a bearish trend.
Traders can use this tool to:
- Identify potential entry points when the candle color transitions.
- Maintain positions during a trend by ignoring minor price fluctuations that do not shift the underlying zero-lag momentum.
- Analyze trends from higher timeframes on a lower timeframe chart by adjusting the resolution settings.
Details
This script utilizes Double Exponential Moving Averages (DEMA) to calculate the MACD line, signal line, and resulting histogram. By using the formula (2 * EMA) - EMA of EMA, the indicator effectively reduces the lag typically associated with standard exponential moving averages. This allows the MACD components to react more responsively to price changes while maintaining smoothness. The indicator also features a security function, allowing users to fetch trend data from different timeframes to confirm multi-timeframe alignment.
Settings
Main Settings
- Fast Length: The period used for the fast DEMA calculation.
- Slow Length: The period used for the slow DEMA calculation.
- Signal Length: The period used for the signal line DEMA calculation.
- Use Current Chart Resolution?: When enabled, the indicator calculates based on the current chart timeframe.
- Use Different Timeframe?: Specifies a custom timeframe for calculations if the "Use Current Chart Resolution" box is unchecked.
FAQ
How do I interpret the candle colors?
Green candles indicate that the zero-lag MACD histogram is positive (bullish momentum), while red candles indicate that the histogram is negative (bearish momentum).
Can I use this on any asset?
Yes, the nTrend MACD Zero LAG is a momentum-based indicator that can be applied to equities, forex, crypto, and commodities across various timeframes.
How can I access nTrend MACD Zero LAG?
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.