DMIOsc (Function)
The DMIOsc series function returns the difference between DMIPlus and DMIMinus.
Syntax
DMIOsc(Length)
Returns (Double)
The difference between the DMIPlus and DMIMinus values for the current bar.
Parameters
|
Name |
Type |
Description |
|
Length |
Numeric |
Sets the number of bars to use in the calculation of the directional movement index values (DMIPlus and DMIMinus). |
Example
Assigns to Value1 the DMIOsc calculated using a Length input of 14 bars, then plots Value1:
Value1 = DMIOsc(14);
Plot1(Value1, "DMIOsc");
References
Star, Barbara. "The DMI Stochastic", Technical Analysis of Stocks and Commodities (31), January, 2013.
Wilder, J. Welles, Jr. New Concepts in Technical Trading Systems (Greensboro, NC: Trend Research, 1978).