| WebCab Technical Analysis for COM v1.1 | |
DirectionalMovementIndicator.PositiveDirectionalMovement Method
Evaluates the Positive Directional Movement (PDM).
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 of the Positive Directional Movement (PDM) corresponding to the last two trading days.
Exceptions
| Exception Type | Condition |
|---|
| ArgumentException | Thrown if any of the parameters todaysHigh, todaysLow, yesterdaysHigh or yesterdaysLow is a strictly negative number. |
See Also
DirectionalMovementIndicator Class | WebCab.COM.Finance.Trading.Indicators Namespace