DMIMinusCustom (Function)
The DMIMinusCustom series function returns the directional movement index minus value for a security.
Syntax
DMIMinusCustom(PriceH,PriceL,PriceC,Length)
Returns (Double)
A positive numeric value for the current bar.
Parameters
| Name | Type | Description |
| PriceH | Numeric | Specifies which bar value (price, function, or formula) to use for the directional movement high price. |
| PriceL | Numeric | Specifies which bar value (price, function, or formula) to use for the directional movement low price. |
| PriceC | Numeric | Specifies which bar value (price, function, or formula) to use for the directional movement close price. |
| Length | Numeric | Sets the number of bars to consider for the directional movement index minus calculation. |
Remarks
DMIMinusCustom measures downward movement strength.
DMIMinusCustom is the one of the core components to the directional movement calculations. It is derived by comparing the Low of the current bar to the Low of the previous bar. If the Low of the current bar is less than the Low of the previous bar, than DMIMinus value is that difference for the current bar.
DMIMinusCustom provides added flexibility over the normal DMIMinus function by allowing you to specify what High, Low, and Close values to use. This is generally used to reference multi-data elements other than Data1.
The DirMovement function calculates the DMIMinusCustom value.
The value for the Length input parameter should always be a whole number greater than 0.
Example
Assigns to Value1 the DMIMinusCustom value of the second data element in a chart (Data2), High of Data2, Low of Data2, Close of Data2, where the DMI length is 14 bars, then plots Value1:
Value1 = DMIMinusCustom (High of Data2, Low of Data2, Close of Data2,14);
Plot1(Value1, "DMIMCus");
Reference
Wilder, J. Welles, Jr. New Concepts in Technical Trading Systems (Greensboro, NC: Trend Research, 1978).