OPEN-SOURCE SCRIPT

Multiple VWMA

181
TradingView Indicator: Multiple VWMA

This TradingView indicator allows you to display up to five separate Volume Weighted Moving Averages (VWMAs) directly on your price chart.

What it does:

Plots 5 VWMAs: It calculates and draws five distinct VWMA lines (or other styles) on the chart.

Volume Weighting: Unlike simple moving averages, a VWMA gives more weight to prices where trading volume was higher, potentially offering a clearer picture of the trend strength confirmed by volume.

Highly Customizable: Each of the five VWMAs can be configured independently through the indicator's settings panel. For each one, you can set:

Length: The lookback period (number of bars) used for the calculation.
Source: The price data to use (e.g., close, open, high, low, hl2, etc.).
Timeframe: You can calculate each VWMA based on a different timeframe than the one currently displayed on your chart (e.g., view daily VWMAs on an hourly chart). Leave blank to use the chart's timeframe.
Offset: Shift the VWMA line forwards or backwards on the chart by a specific number of bars.
Style: Choose how each VWMA is displayed (Line, Histogram, or Cross).

Overlay: The VWMAs are plotted directly over the price bars for easy comparison.

Purpose:

This indicator is useful for traders who want to analyze trends using multiple volume-weighted perspectives simultaneously. By comparing VWMAs of different lengths or based on different timeframes, you can gain insights into short-term vs. long-term trends, potential support/resistance levels, and the significance of price movements based on accompanying volume.

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.