DI_POS(close; high; low; period)
DI_POS(close; high; low; period)
The +DI function is a part of the Directional Movement System developed by J. Welles Wilder. The system consists of three lines:
- The Positive Direction Indicator (+DI) summarizes upward trend movement;
- The Negative Direction Indicator (-DI) summarizes downward trend movement;
- The Average Directional Movement Index (ADX) indicates whether the market is trending or ranging. For internal calculations the DI_POS function uses the modified moving average.