OPEN-SOURCE SCRIPT
Updated

VWMA MACD Amanita

171
VWMA MACD (Volume-Weighted MACD)

This indicator modifies the standard MACD by replacing EMAs with VWMAs
(Volume-Weighted Moving Averages).

- Fast VWMA (default 12 bars)
- Slow VWMA (default 26 bars)
- MACD Line = Fast VWMA - Slow VWMA
- Signal Line = EMA of MACD (default 9 bars)
- Histogram = MACD - Signal

Compared to the standard MACD, this version emphasizes price moves that
are backed by higher trading volume, helping to filter out weak signals.

The script also lets you choose the price source (Close, HL2, HLC3, OHLC4).
Release Notes

// ──────────────────────────────
// Info:
// This indicator modifies the standard MACD by replacing EMAs with VWMAs
// (Volume-Weighted Moving Averages).
//
// - Fast VWMA (default 12 bars)
// - Slow VWMA (default 26 bars)
// - MACD Line = Fast VWMA - Slow VWMA
// - Signal Line = EMA of MACD (default 9 bars)
// - Histogram = MACD - Signal
//
// Compared to the standard MACD, this version emphasizes price moves
// that are backed by higher trading volume, helping to filter out weak signals.
//
// The script also allows choosing the price source (Close, HL2, HLC3, OHLC4).
// ──────────────────────────────

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.