dotnetCHARTING Send comments on this topic.
NegativeVolumeIndex(SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > NegativeVolumeIndex Method : NegativeVolumeIndex(SeriesCollection) Method


sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
We evaluate the Negative Volume Index(NVI) wich take in the consideration the days where volume decrease from the prevoius day.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function NegativeVolumeIndex( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.NegativeVolumeIndex(sc)
C# 
public static SeriesCollection NegativeVolumeIndex( 
   SeriesCollection sc
)

Parameters

sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if the series contain negative values.

Remarks

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.

See Also

© 2010 All Rights Reserved.