dotnetCHARTING Send comments on this topic.
PositiveVolumeIndex(SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > PositiveVolumeIndex Method : PositiveVolumeIndex(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 Positive Volume Index(PVI) wich take in the consideration the days where volume increase from the previous day.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function PositiveVolumeIndex( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.PositiveVolumeIndex(sc)
C# 
public static SeriesCollection PositiveVolumeIndex( 
   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.

Remarks

Indicator Formula

The formula for this indicator is:


If the volume is greater then the yesterday volume then:
PVI = Yesterday's PVI + (((Close - Yesterday's Close)/Yesterday's Close) *Yesterday's PVI)
If today's volume is less than or equal to yesterday's volume then:
PVI = Yesterday's PVI
Allways the first element of an financial array will be a value of the most recent period considered.

See Also

© 2008 All Rights Reserved.