Volume Weighted MACD + x-Signaling
Aug 5, 2018

The Volume Weighted MACD + x-Signaling indicator integrates volume data into standard momentum calculations to provide a more accurate assessment of trend strength and potential reversals using volume-weighted moving averages.
Usage
The Usage section describes how to interpret the various components of the VWMACD to identify market trends and momentum shifts.
Trend Identification
The indicator utilizes background coloring to highlight the current momentum state. When the MACD line is above the Signal line, the background turns green, suggesting a bullish environment. Conversely, when the Signal line is above the MACD line, the background turns red, indicating bearish momentum.
Crossover Signals
The tool plots distinct circle markers directly on the signal line whenever a crossover occurs. These "x-signals" serve as visual alerts for potential entry or exit points.
- Bullish Cross: Occurs when the MACD line crosses above the Signal line.
- Bearish Cross: Occurs when the MACD line crosses below the Signal line.
Histogram Analysis
The histogram represents the distance between the MACD and the Signal line. Expanding bars suggest increasing momentum, while contracting bars indicate a potential slowdown in the current trend.
Details
The Volume Weighted MACD + x-Signaling is a refactored version of traditional MACD logic, substituting Exponential Moving Averages (EMA) with Volume Weighted Moving Averages (VWMA). By incorporating volume into the calculation, the indicator gives more weight to price action occurring during high-volume periods, potentially filtering out "noise" found in low-volume price fluctuations.
The script calculates:
- Fast VWMA: A short-term volume-weighted average of the source price.
- Slow VWMA: A long-term volume-weighted average of the source price.
- MACD Line: The difference between the Fast and Slow VWMAs.
- Signal Line: A VWMA applied to the MACD line itself, rather than the price source.
This implementation was originally inspired by the work of @BiO-618 and has been optimized for visual clarity and alert functionality.
Settings
- Source: Determines the price data used for the calculations (e.g., Close, Open, HL2).
- Fast Length: The lookback period for the short-term Volume Weighted Moving Average.
- Slow Length: The lookback period for the long-term Volume Weighted Moving Average.
- Signal Length: The lookback period for the VWMA applied to the MACD line to create the Signal line.
FAQ
What is the advantage of using VWMA over EMA in a MACD?
Using a Volume Weighted Moving Average ensures that price movements accompanied by high trading volume have a greater impact on the indicator. This can help traders identify more significant trend changes that are supported by market participation.
How do I use the background colors for trading?
The background colors act as a visual filter for the current trend. Traders often look for long positions when the background is green and short positions or profit-taking opportunities when the background is red.
How can I access Volume Weighted MACD + x-Signaling?
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.