VolumeWeightedMovingAverage

StockSharp.Algo.Indicators

Volume weighted moving average.

Inherits: DecimalLengthIndicator

Constructors

VolumeWeightedMovingAverage
public VolumeWeightedMovingAverage()
volumeWeightedMovingAverage = VolumeWeightedMovingAverage()

To create the indicator VolumeWeightedMovingAverage.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = volumeWeightedMovingAverage.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = volumeWeightedMovingAverage.OnProcessDecimal(input)

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
volumeWeightedMovingAverage.Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).