WebCab Technical Analysis Web Services for Delphi v1.1

DirectionalMovementIndicator.MinusDirectionalMovement Method (Double, Double, Double, Double)

Evaluates the Minus Directional Movement (MDM).

public double MinusDirectionalMovement(
   double todaysHigh,
   double todaysLow,
   double yesterdaysHigh,
   double yesterdaysLow
);

Parameters

todaysHigh
The highest traded value which the asset under consideration takes during todays market action.
todaysLow
The lowest traded value which the asset under consideration takes during todays market action.
yesterdaysHigh
The highest traded value which the asset under consideration takes during yesterdays market action.
yesterdaysLow
The lowest traded value which the asset under consideration takes during yesterdays market action.

Return Value

Double value Minus Directional Movement corresponding to the last two trading days.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if any of the parameters todaysHigh, todaysLow, yesterdaysHigh or yesterdaysLow is a strictly negative number.

See Also

DirectionalMovementIndicator Class | Indicators Namespace | DirectionalMovementIndicator.MinusDirectionalMovement Overload List