All indicators

MACD-DEMA Trendless Indıcator Series-2

Feb 27, 2019

Static chart image
SignalsOscillatorsMoving AveragesPivot Based (Retrospective)

The MACD-DEMA Trendless Indıcator Series-2 indicator provides a refined trend analysis tool by combining Double Exponential Moving Averages (DEMA) with a Moving Average Convergence Divergence (MACD) framework, enhanced by integrated pivot point detection. It aims to filter market noise and highlight significant momentum shifts and potential reversal zones with greater clarity than traditional MACD calculations.

Usage

The indicator can be used to identify trend direction, momentum strength, and potential pivot reversals in various market conditions.

  • Trend Identification: When the blue MACD line is above the red signal line, and the histogram is green, a bullish trend is indicated. Conversely, when the MACD line is below the signal line and the histogram is red, a bearish trend is suggested.
  • Pivot Points: The script automatically identifies and labels pivot highs and lows directly on the oscillator components. These labels can help traders spot areas where momentum is exhausting, suggesting a potential change in trend direction.
  • Zero-Line Crosses: Crosses of the histogram above or below the zero line serve as confirmations of momentum shifts.

Details

This tool improves upon standard MACD calculations by substituting traditional EMAs with Double Exponential Moving Averages (DEMA). The DEMA reduces the inherent lag found in standard moving averages, making the MACD more responsive to price action.

The "Trendless" aspect of the series refers to its ability to isolate momentum from price trend more effectively. Furthermore, this version incorporates a pivot detection algorithm that monitors the MACD and Signal lines over a user-defined period to pinpoint local extremes, which are then marked on the chart for easier visual interpretation.

Settings

  • MA Period: Sets the lookback period for the initial Exponential Moving Average applied to the price.
  • MACD Fast Line Length: Determines the period for the fast DEMA calculation.
  • MACD Slow Line Length: Determines the period for the slow DEMA calculation.
  • Signal Line Length: Sets the smoothing period for the signal line DEMA.
  • Hide pivots?: Toggle to show or hide the pivot labels on the indicator.
  • Shorter labels?: Option to simplify the visual appearance of the labels.
  • period: The lookback window used to calculate the highest and lowest points for pivot identification.

FAQ

How do I interpret the pivot labels?

Pivot labels appear when the MACD or Signal lines reach a local maximum or minimum relative to the defined lookback period. These often coincide with price exhaustion or the start of a trend correction.

What is the advantage of using DEMA over EMA in this script?

DEMA provides a faster response to price changes while still maintaining a degree of smoothing. This results in crossovers occurring earlier than they would on a standard MACD, potentially allowing for earlier entry and exit signals.

How can I access MACD-DEMA Trendless Indıcator Series-2?

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.