.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > PositiveVolumeIndex Method : PositiveVolumeIndex(String,Series) Method
The name of the series which will be displayed on the chart, i.e. its label.
An series where the first element is the closing price in the last trading period, the second term is the closing price in the previous trading period and so on.
PositiveVolumeIndex(String,Series) Method
We evaluate the Positive Volume Index(PVI) wich take in the consideration the days where volume increase from the previous day.
Syntax
'Declaration
 
Public Overloads Shared Function PositiveVolumeIndex( _
   ByVal seriesName As String, _
   ByVal s As Series _
) As Series
'Usage
 
Dim seriesName As String
Dim s As Series
Dim value As Series
 
value = FinancialEngine.PositiveVolumeIndex(seriesName, s)
public static Series PositiveVolumeIndex( 
   string seriesName,
   Series s
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
An series where the first element is the closing price in the last trading period, the second term is the closing price in the previous trading period and so on.
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also