X_STUDY® Documentation
- X_STUDY®
- Launching Charts
- Formatting Charts
- Adding Drawing Tools
- Screen And Field Descriptions
- Adding Technical Indicators
- Linking And Exporting Chart Data
- Context Menus
-
Technical Indicator Definitions
- List of Technical Indicators
- Acceleration Bands (ABANDS)
- Accumulation/Distribution (AD)
- Average Directional Movement (ADX)
- Absolute Price Oscillator (APO)
- Aroon (AR)
- Aroon Oscillator (ARO)
- Average True Range (ATR)
- Volume on the Ask (AVOL)
- Volume on the Bid and Ask (BAVOL)
- Bollinger Band (BBANDS)
- Band Width (BW)
- Bar Value Area (BVA)
- Bid Volume (BVOL)
- Commodity Channel Index (CCI)
- Chande Momentum Oscillator (CMO)
- Double Exponential Moving Average (DEMA)
- Plus DI (DI+)
- Directional Movement Indicators (DMI)
- Ichimoku (ICH)
- Fill Indicator (FILL)
- Keltner Channel (KC)
- Linear Regression (LR)
- Linear Regression Angle (LRA)
- Linear Regression Intercept (LRI)
- Linear Regression Slope (LRM)
- Max (MAX)
- Money Flow Index (MFI)
- Midpoint (MIDPNT)
- Midprice (MIDPRI)
- Min (MIN)
- MinMax (MINMAX)
- Momentum (MOM)
- Adaptive Moving Average (AMA)
- Exponential (EMA)
- Moving Average Convergence Divergence (MACD)
- Simple Moving Average (SMA)
- T3 (T3)
- Triple Exponential Moving Average (TEMA)
- Triangular Moving Average (TRIMA)
- Triple Exponential Moving Average Oscillator (TRIX)
- Weighted Moving Average (WMA)
- Normalized Average True Range (NATR)
- On Balance Volume (OBV)
- Price Channel (PC)
- PLOT (PLT)
- Percent Price Oscillator (PPO)
- Price Volume Trend (PVT)
- Rate of Change (ROC)
- Rate of Change (ROC100)
- Rate of Change (ROCP)
- Rate of Change (ROCR)
- Relative Strength Indicator (RSI)
- Parabolic Sar (SAR)
- Session Cumulative Ask (SAVOL)
- Session Cumulative Bid (SBVOL)
- Standard Deviation (STDDEV)
- Stochastic (STOCH)
- Stochastic Fast (StochF)
- Session Volume (S_VOL)
- Time Series Forecast (TSF)
- TT Cumulative Vol Delta (TT CVD)
- Ultimate Oscillator (ULTOSC)
- Volume At Price (VAP)
- Volume Delta (Vol ∆)
- Volume (VOLUME)
- Volume Weighted Average Price (VWAP)
- Williams % R (WillR)
- Welles Wilder's Smoothing Average (WWS)
- Troubleshooting And Support
Directional Movement Indicators (DMI)
Description
The Directional Movement Indicators (DMI) are components of the Directional Movement system published by J. Welles Wilder, and are computed with the Average Directional Movement Index (ADX). Two indicators are plotted, a Positive DI ( +DI ) and a Negative DI ( -DI ).
Formula
Directional Movement (DM) is defined as the largest part of the current period’s price range that lies outside the previous period’s price range. For each period calculate:
+DM = positive or plus DM = High - Previous High
-DM = negative or minus DM = Previous Low - Low
The smaller of the two values is reset to zero, i.e., if +DM > -DM, then -DM = 0. On an inside bar (a lower high and higher low), both +DM and -DM are negative values, so both get reset to zero as there was no directional movement for that period.
The True Range (TR) is calculated for each period, where:
TR = Max of ( High - Low ), ( High -PreviousClose ), ( PreviousClose - Low )
The +DM, -DM and TR are each accumulated and smoothed using a custom smoothing method proposed by Wilder. For an n period smoothing, 1/n of each period’s value is added to the total each period, similar to an exponential smoothing:
+DMt = (+DMt-1 - (+DMt-1 / n)) + (+DMt)
-DMt = (-DMt-1 - (-DMt-1 / n)) + (-DMt)
TRt = (TRt-1 - (TRt-1 / n)) + (TRt)
Compute the positive/negative Directional Indexes, +DI and -DI, as a percentage of the True Range:
+DI = ( +DM / TR ) * 100
-DI = ( -DM / TR ) * 100