PositiveVolumeIndex
StockSharp.Algo.Indicators
Positive Volume Index (PVI) indicator.
Inherits: BaseIndicator
Constructors
PositiveVolumeIndex
public PositiveVolumeIndex()
positiveVolumeIndex = PositiveVolumeIndex()
Initializes a new instance of the PositiveVolumeIndex.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = positiveVolumeIndex.Measure
IndicatorMeasures.
Methods
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = positiveVolumeIndex.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Reset
public override void Reset()
positiveVolumeIndex.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).