VWMA - Volume Weighted Moving Average

Description

VWMA is a non-cumulated smoothed average that is weighted based on the various volumes for the periods.

Usage

VWMA(int period)
VWMA(IDataSeries inSeries, int period)
VWMA(int period)[int barsAgo]
VWMA(IDataSeries inSeries, int period)[int barsAgo]

Return value

double

When using this method with an index (e.g. VWMA(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.

Parameters

inSeries Input data series for the indicator

period Number of bars included in the calculations

Visualization

Example

//Output for the VWMA
Print("The current VWMA value is " + VWMA(14)[0]);

Last updated