WebCab Technical Analysis for COM v1.1

DirectionalMovementIndicator.PlusDirectionalMovementHighLevelVariables Method 

Calculates the Plus Directional Movement Indicator (DMI) of the Current Bar.

public double PlusDirectionalMovementHighLevelVariables(
   double trueRange,
   double positiveDirectionalMovement
);

Parameters

trueRange
The true range of the Current Bar (i.e. todays) which can be evaluated using TrueRange.
positiveDirectionalMovement
The positive directional movement of the asset over the past day which can be evaluated using PositiveDirectionalMovement.

Return Value

The double value of todays Plus Directional Movement Indicator for the asset considered.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if the trueRange is not positive.

See Also

DirectionalMovementIndicator Class | WebCab.COM.Finance.Trading.Indicators Namespace | TrueRange - To evaluate the trueRange parameter. | PositiveDirectionalMovement - To evaluate the positive directional movement parameter.