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


sc
A collection of financial series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.Please note that in order to calculate this indicator the elements of the financial series must contain High, Low and Close values.
Evaluates the Plus Directional Movement Indicator (PDMI) over a number of periods using price data only.

Syntax

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

Parameters

sc
A collection of financial series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.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 collections of series. Each series has 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.

See Also

© 2018 All Rights Reserved.