DMIPlus (Series Function)
The DMIPlus series function returns the directional movement index plus value for a security.
Syntax
DMIPlus(Length)
Returns (Double)
A positive numeric value for the current bar.
Parameters
Name | Type | Description |
Length | Numeric | Sets the number of bars to consider for the directional movement index plus calculation. |
Remarks
The value for the Length input parameter should always be a whole number greater than 0.
DMIPlus measures upward movement strength.
DMIPlus is the one of the core components to the directional movement calculations. It is derived by comparing the High of the current bar to the High of the previous bar. If the High of the current bar is greater than the High of the previous bar, than DMIPlus value is that difference for the current bar.
The DirMovement function calculates the DMIPlus value.
Example
Assigns to Value1 the DMIPlus value where the DMI length is 14 bars, then plots Value1:
Value1 = DMIPlus(14);
Plot1(Value1, "DMIPlus");
Reference
Wilder, J. Welles, Jr. New Concepts in Technical Trading Systems (Greensboro, NC: Trend Research, 1978).