Overload | Description |
---|---|
NegativeVolumeIndex(String,Series) | We evaluate the Negative Volume Index(NVI) wich take in the consideration the days where volume decrease from the prevoius day. |
NegativeVolumeIndex(Series) | We evaluate the Negative Volume Index(NVI) wich take in the consideration the days where volume decrease from the prevoius day. |
NegativeVolumeIndex(SeriesCollection) | We evaluate the Negative Volume Index(NVI) wich take in the consideration the days where volume decrease from the prevoius day. |
Exception | Description |
---|---|
ArgumentException | Thrown if the series is empti or contain negative values. |
Indicator Formula
The formula for this indicator is:
If the volume is less then the yesterday volume then: NVI = Yesterday's NVI + (((Close - Yesterday's Close)/Yesterday's Close) *Yesterday's NVI)
If today's volume is greater than or equal to yesterday's volume then:
NVI = Yesterday's NVI
Allways the first element of an financial array will be a value of the most recent period considered.