Class VolumeWeightedAveragePrice
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Volume Weighted Average Price (VWAP).
[Display(ResourceType = typeof(LocalizedStrings), Name = "VWAP", Description = "VolumeWeightedAveragePrice")]
[IndicatorIn(typeof(CandleIndicatorValue))]
[Doc("topics/indicators/volume_weighted_average_price.html")]
public class VolumeWeightedAveragePrice : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
VolumeWeightedAveragePrice
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
VolumeWeightedAveragePrice()
Initializes a new instance of the VolumeWeightedAveragePrice.
public VolumeWeightedAveragePrice()
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
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).
public override void Reset()