WebCab Technical Analysis for COM v1.1

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

Evaluates the Minus Directional Movement Indicator (DMI) of the Current Bar using price data only.

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

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.
yesterdaysClose
The close price of the asset the preceding day.

Return Value

Double value of the Minus Directional Movement Indicator corresponding to the price action of the considered asset over the past two days.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if any of the parameters todaysHigh, todaysLow, yesterdaysHigh, yesterdaysLow or yesterdaysClose is not a positive number.

See Also

DirectionalMovementIndicator Class | WebCab.COM.Finance.Trading.Indicators Namespace | DirectionalMovementIndicator.MinusDirectionalMovement Overload List