All indicators

Volume Weighted MACD

Nov 7, 2017

Static chart image
Volume BasedSignalsOscillatorsMoving Averages

The Volume Weighted MACD indicator is a momentum oscillator that integrates volume into the classic MACD calculation to provide a more comprehensive view of market strength and trend reversals. By weighting price changes by volume, it helps traders identify high-conviction moves and filter out low-volume price fluctuations.

Usage

The Usage of the Volume Weighted MACD is similar to the standard MACD but with a greater emphasis on volume-backed momentum. Traders can use it to identify:

  • Trend Direction: When the histogram is above zero, it suggests bullish momentum; when below zero, it suggests bearish momentum.
  • Momentum Changes: The color-coded histogram indicates whether momentum is increasing (darker colors) or fading (lighter colors).
  • Crossovers: Zero-line crossovers of the histogram are often used as signals for potential trend shifts. A crossover above zero indicates a bullish turn, while a crossunder indicates a bearish turn.

Details

This script calculates the difference between two volume-weighted exponential moving averages. Instead of using a standard EMA of price, it calculates the EMA of (Volume * Close) and divides it by the EMA of Volume. This ensures that price levels with higher trading activity carry more weight in the calculation.

The formula consists of:

  1. Fast VWMA: A short-term volume-weighted EMA.
  2. Slow VWMA: A long-term volume-weighted EMA.
  3. MACD Line: The difference between the Short and Long VWMAs.
  4. Signal Line: An EMA of the MACD Line used for smoothing.
  5. Histogram: The difference between the MACD Line and the Signal Line.

Settings

  • Short period: The lookback period for the fast volume-weighted calculation (default is 12).
  • Long period: The lookback period for the slow volume-weighted calculation (default is 26).
  • Smoothing period: The lookback period for the Signal Line EMA used to generate the histogram (default is 9).

FAQ

How do I interpret the histogram colors?

The histogram uses four colors to show momentum strength. Green and Red represent increasing bullish or bearish momentum, while blue shades represent periods where the histogram is returning toward the zero line (fading momentum).

What makes this different from a standard MACD?

Standard MACD only accounts for price. This version incorporates volume, meaning price moves on low volume will have less impact on the oscillator compared to moves backed by high volume.

How can I access the Volume Weighted 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.