| WebCab Technical Analysis Web Services for Delphi v1.1 | |
DirectionalMovementIndicator.PlusDirectionalMovement Method
Evaluates the Plus Directional Movement Indicator (DMI) of the Current Bar using price data only.
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 Plus Directional Movement Indicator corresponding to the price action of the considered asset over the past two days.
Exceptions
| Exception Type | Condition |
|---|
| ArgumentException | Thrown if any of the parameters todaysHigh, todaysLow, yesterdaysHigh, yesterdaysLow or yesterdaysClose is not a positive number. |
See Also
DirectionalMovementIndicator Class | Indicators Namespace