.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > PlusDirectionalMovement Method : PlusDirectionalMovement(String,Series) Method
The name of the series which will be displayed on the chart, i.e. its label.
A financial series where the first element contain the prices of last trading period, the second element represents the prices of the previous periods and so on. Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.
PlusDirectionalMovement(String,Series) Method
Evaluates the Plus Directional Movement Indicator (PDMI) over a number of periods using price data only.
Syntax
'Declaration
 
Public Overloads Shared Function PlusDirectionalMovement( _
   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.PlusDirectionalMovement(seriesName, s)
public static Series PlusDirectionalMovement( 
   string seriesName,
   Series s
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A financial series where the first element contain the prices of last trading period, the second element represents the prices of the previous periods and so on. Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.

Return Value

A series with the k-th term corresponds to the PDMI of the k-th Bar. Please note that if the asset price is constant over any period considered then the Plus Directional Movement Indicator for that period is taken to be zero.
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