Definition Positive Directional Movement Index (DMI). The dio() function is equivalent to the difference of this and the DMINEG() function. Syntax Formula Parameters SERIES Examples DMIPOS_EX1(SERIES,PERIOD)=DMIPOS(SERIES,PERIOD)DMIPOS()
Where:
+DI = current positive directional index
+DMn = current modified moving average of +DM
+DM = current positive directional movement value
Ht = current high
Ht-1 = previous high
TRn = current modified moving average of the true range
TR = true range
Th = greater of today
Tl = lessor of todays low or the previous price
Required if the formula name declares the SERIES parameter.
INPUT
Required if the formula name declares the INPUT parameter.
PERIOD
Required if the formula name declares the PERIOD parameter.
<shift>
A number, positive or negative, enclosed in brackets defining the number of bars (periods) to shift the formula line. Typically used only in formulas that will be rendered in chart windows.
DMIPOS_EX2(INPUT,PERIOD)=DMIPOS(INPUT,PERIOD)