All indicators

Linear Quadratic Convergence Divergence Oscillator

Apr 30, 2019

Static chart image
SignalsOscillatorsDivergences

The Linear Quadratic Convergence Divergence Oscillator indicator provides a reactive alternative to the traditional MACD by analyzing the relationship between quadratic and linear least squares moving averages. It aims to offer more predictive insights into market momentum by utilizing the lower lag inherent in non-linear data fitting.

Usage

The indicator can be used similarly to the MACD for identifying trend changes, momentum shifts, and potential reversals.

  • Standard Mode: Uses the difference between the LQCD line and its signal line to generate a histogram. Crosses above the zero line suggest bullish momentum, while crosses below suggest bearish momentum.
  • Differential Mode: By enabling the Differential option, the indicator calculates the momentum of the quadratic moving average instead of a simple signal line. This results in a smoother output with fewer irregularities.
  • Predictive Histogram: This mode subtracts the signal line from the histogram, making the output significantly more sensitive and predictive of upcoming price action.
  • Divergences: Traders can look for discrepancies between price action and the oscillator peaks to identify potential trend exhaustion.

Details

The LQCD is constructed by subtracting a linear least squares moving average from a quadratic least squares moving average of the same period.

  • Quadratic Fit: Fits a parabola to the price data, allowing it to adapt more quickly to non-linear price movements.
  • Linear Fit: Fits a straight line to the data. The difference between these two filters captures the acceleration and velocity of price movements more effectively than standard EMAs used in a traditional MACD. The indicator then applies a Simple Moving Average (SMA) to this difference to create the signal line.

Settings

  • Length: Determines the lookback period for both the quadratic and linear moving average calculations.
  • Signal: Sets the smoothing period for the signal line or the momentum calculation.
  • Differential: When enabled, changes the calculation to use the momentum of the moving averages, providing a smoother result.
  • Predictive Histogram: When enabled, modifies the histogram calculation to be more reactive and predictive of trend changes.

FAQ

How do I interpret the LQCD zero-line crossovers?

A crossover above the zero line typically indicates a shift toward bullish momentum, while a crossunder indicates bearish momentum.

What is the advantage of using Quadratic Least Squares?

Quadratic fitting is more reactive to price changes because it can model curved price action better than a simple linear line, resulting in reduced lag.

How can I access this indicator?

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.