Volume Weighted MACD + RSI
Feb 4, 2021

The Volume Weighted MACD + RSI indicator is a momentum-based tool that integrates volume data into moving average calculations alongside relative strength analysis to identify trend direction and potential market reversals.
Usage
The indicator can be used to identify market sentiment based on the color-coded histogram and the relationship between volume-weighted momentum and RSI levels.
- Bullish Market (Green Zone): When the RSI is above the specified bullish threshold (default 60), the histogram turns green, suggesting strong upward momentum.
- Bearish Market (Red Zone): When the RSI is below the specified bearish threshold (default 40), the histogram turns red, suggesting strong downward momentum.
- Neutral/Potential Reversal (Grey Zone): When the RSI is between the bullish and bearish thresholds, the histogram is colored grey/blue, indicating a lack of strong trend or a potential reversal area.
Traders often monitor zero-line crossovers of the volume-weighted MACD histogram as signals for shifts in trend momentum.
Details
This script enhances the traditional MACD calculation by weighting the moving averages by volume. Instead of standard EMAs, it calculates the ratio of the EMA of (Volume * Price) to the EMA of Volume. This ensures that price movements occurring on higher volume have a greater impact on the indicator's output.
The inclusion of an RSI filter provides a secondary layer of confirmation, ensuring that momentum signals are aligned with overall relative strength before categorizing the market state.
Settings
- MA fast: The period for the fast volume-weighted exponential moving average.
- MA slow: The period for the slow volume-weighted exponential moving average.
- Length: The smoothing period for the MACD signal line and the RSI calculation.
- RSI bearish: The threshold below which the market is considered bearish (Red Zone).
- RSI bullish: The threshold above which the market is considered bullish (Green Zone).
FAQ
How do I interpret the histogram colors?
The histogram colors represent the confluence of volume-weighted momentum and RSI levels. Green indicates bullish strength, red indicates bearish strength, and grey indicates a neutral or transitional phase.
What makes this different from a standard MACD?
Unlike a standard MACD which only uses price, this version uses volume-weighted moving averages, meaning it reacts more significantly to price changes supported by high trading volume.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

