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