Velocity Trader
  • Velocity Trader Guide
  • Velocity Trader for Desktop
    • Windows
      • How to...
      • Getting started
        • System requirements
        • Installation and updates
        • General settings
        • Hotkeys
        • Managing columns
        • Workspaces
        • Arranging panels
        • Top menu, Info bar, Status bar
        • Panel settings
        • Alerts
        • Symbol & Account lookups
      • Analysis tools
        • Chart
          • Chart overview
          • Chart settings
          • Chart templates
          • Aggregation types overview
          • Cluster chart
          • Profile chart
          • Drawings
          • Level ll data on chart
          • Object manager
          • Chart overlay
          • Context menu
          • Volume analysis
            • Price statistics
            • Volume profile
            • Volume bars
            • Volume dots
            • Bar statistics
            • Time & Sales analysis
            • VWAP+
        • Grid
        • Watchlist
        • Time & Sales
      • Technical indicators
        • Settings
        • Channels
          • BB (Bollinger bands)
          • BBF (Bollinger bands flat)
          • Price channel
          • Keltner channel
          • MAE (Moving average envelope)
        • Moving averages
          • EMA (Exponential moving average)
          • KAMA (Kaufman adaptive moving average)
          • LWMA (Linear weighted moving average)
          • MAS3 (3MASignal)
          • MD (McGinley dynamic)
          • MMA (Modified moving average)
          • PPMA (Pivot point moving average)
          • Regression line
          • SMA (Simple moving average)
          • SMMA (Smoothed moving average)
        • Oscillators
          • AC (Acceleration oscillator)
          • AO (Awesome oscillator)
          • Aroon
          • CCI (Commodity channel index)
          • CMO (Chande momentum oscillator)
          • KRI (Kairi relative index)
          • MACD (Moving average/convergence divergence)
          • Momentum
          • PO (Price oscillator)
          • PPO (Percentage price oscillator)
          • QStick
          • RLW (%R Larry Williams)
          • ROC (Rate of change)
          • RSI (Relative strength index)
          • Stochastic (Stochastic slow)
          • Stochastic RSI
          • TSI (True strength index)
        • Trend
          • ADX (Average directional movement index)
          • Alligator
          • DMI (Directional movement index)
          • ICH (Ichimoku)
          • Pivot point
          • SAR (Parabolic time/price system)
          • SI (Swing index)
          • ZZ (ZigZag)
          • YHL (Yesterday's high low)
        • Volatility
          • ATR (Average true range)
          • HV (Historical volatility)
          • SD (Standard deviation)
        • Volume
          • MFI (Money flow index)
          • OBV (On balance volume)
          • PVI (Positive volume index)
          • Volume
        • Other
          • Didi index
          • EATR (Envelopes ATR)
      • Trading panels
        • Order entry
          • Position sizing
        • Super DOM
        • Market depth
        • Matrix
        • Scalper
        • Visual trading
        • Option master
          • Overview
          • Option chain
          • Analyzer
          • Volatility lab
      • Account management
        • Working orders
        • Orders history
        • Filled orders
        • Saved orders
        • Positions
        • Synthetic instruments
        • Account operations
        • Assets
        • Products
      • Account information
        • Accounts
        • Account statistics
        • Positions balance
        • Currencies exposure
        • Reports
      • Informative panels
        • Gainers/Losers list
        • High/Low list
        • RSS
        • News
        • Internal Browser
        • Economic calendar
        • Event log
      • Strategy manager
        • Overview
        • Strategy list
        • Chart section
        • Active positions/orders section
      • Omnibus account management
      • Trading ideas
      • MAM system
        • MAM basics
        • Creating MAM group
        • Trading in MAM
      • More
  • Velocity Trader for Mobile
    • Android
      • Phones
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • Price channel
            • BBF (Bollinger bands flat)
          • Moving averages
            • EMA (Exponential moving average)
            • MMA (Modified moving avergae)
            • SMMA (Smoothed moving average)
            • LWMA (Linear weighted moving average)
            • SMA (Simple moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • MFI (Money flow index)
            • OBV (On balance volume)
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • News
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • More
      • Tablets
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • Price channel
            • BBF (Bollinger bands flat)
          • Moving averages
            • EMA (Exponential moving average)
            • MMA (Modified moving average)
            • SMMA (Smoothed moving average)
            • LWMA (Linear weighted moving average)
            • SMA (Simple moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • MFI (Money flow index)
            • OBV (On balance volume)
            • PVI (Positive volume index)
            • VWAP (volume weighted average price)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • External links
    • iOS
      • Phones
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • BBF (Bollinger bands flat)
            • Price channel
          • Moving averages
            • SMA (Simple moving average)
            • MMA (Modified moving average)
            • LWMA (Linear weighted moving average)
            • EMA (Exponential moving average)
            • SMMA (Smoothed moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
            • OBV (On balance volume)
            • MFI (Money flow index)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • More
      • Tablets
        • Getting started
        • Settings
        • Watchlist
        • Symbol info
        • Chart
        • Technical indicators
          • Settings
          • Channels
            • BB (Bollinger bands)
            • BBF (Bollinger bands flat)
            • Price channel
          • Moving averages
            • SMA (Simple moving average)
            • MMA (Modified moving average)
            • LWMA (Linear weighted moving average)
            • EMA (Exponential moving average)
            • SMMA (Smoothed moving average)
          • Oscillators
            • MACD (Moving average/convergence divergence)
            • CCI (Commodity channel index)
            • CMO (Chande momentum oscillator)
            • Aroon (Dawn's early light)
            • RSI (Relative strength index)
            • ROC (Rate of change)
            • Stochastic (Stochastic slow)
            • Momentum
          • Trend
            • ICH (Ichimoku)
            • SAR (Parabolic time/price system)
            • ADX (Average directional index)
          • Volatility
            • ATR (Average true range)
            • SD (Standard deviation)
          • Volume
            • PVI (Positive volume index)
            • VWAP (Volume weighted average price)
            • OBV (On balance volume)
            • MFI (Money flow index)
        • Order entry
          • Position sizing
        • Orders
        • Trading ideas
        • Positions
        • Assets
        • Market depth
        • Event log
        • Account details
        • Alerts
        • Products
        • My Portfolio
          • Getting started
          • Performance
          • Return
          • Growth
          • Metrics
          • More
        • External links
  • Velocity Trader for Web
    • Getting started
      • Login screen
      • General settings
      • Managing columns
      • Workspaces
      • Arranging panels
      • Top menu and Status bar
      • Alerts
      • Symbol & Account lookups
    • Analysis tools
      • Chart
        • Chart overview
        • Chart settings
        • Drawings
        • Chart overlay
        • Context menu
      • Watchlist
      • Time & Sales
    • Technical indicators
      • Settings
      • Moving average
        • MD (McGinley dynamic)
        • Regression
        • SMMA (Smoothed moving average)
        • PPMA (Pivot point moving average)
        • SMA (Simple moving average)
        • EMA (Exponential moving average)
        • MMA (Modified moving average)
        • LWMA (Linear weighted moving average)
        • Multi EMA
      • Oscillators
        • MACD (Moving average/Convergence divergence)
        • RSI (Relative strength index)
        • PO (Price oscillator)
        • Momentum
        • CCI (Commodity channel index)
        • Aroon
        • KRI (Kairi relative index)
        • PPO (Percentage price oscillator)
        • RLW (%R Larry Williams)
        • ROC (Rate of change)
        • QStick
        • TSI (True strength index)
        • Stochastic (Stochastic slow)
        • RSI Laguerre
      • Channels
        • BB (Bollinger bands)
        • Keltner channel
        • Price channel
        • MAE (Moving average envelope)
      • Volume
        • Volume
        • VWAP (Volume weighted average price)
        • OBV (On balance volume)
      • Trend
        • SI (Swing index)
        • Pivot point
        • Alligator
        • SAR (Parabolic time/price system)
        • Fractals
      • Volatility
        • ATR (Average true range)
        • CMO (Chande momentum oscillator)
        • SD (Standard deviation)
    • Trading panels
      • Order entry
        • Position sizing
      • Market depth
      • Visual trading
    • Account management
      • Working orders
      • Orders history
      • Filled orders
      • Positions
      • Assets
      • Products
    • Account information
      • Accounts
      • Positions balance
    • Informative panels
      • Event log
      • Internal Browser
    • Trading ideas
    • More
  • EvoCode
    • Getting started
      • About EvoCode
      • Starting EvoCode
      • Creating a new module
      • General settings
    • Dictionary tool
    • Editing panel
      • Source code editing
      • Editing types/Scripts setup
      • Output & Watch
    • Backtesting panel
      • Backtester
      • Statistics
      • Backtesting Types/Setup
      • Running a backtest
      • Working orders & Positions
      • Orders & Positions history
      • Filled orders
      • Logs
      • Saving scripts, importing and exporting script settings
Powered by GitBook
On this page
  • Calculation
  • Main parameters

Was this helpful?

  1. Velocity Trader for Desktop
  2. Windows
  3. Technical indicators
  4. Trend

DMI (Directional movement index)

The Directional Movement Index (also known as DMI) is a momentum indicator that was developed by J. Welles Wilder in 1978. It is calculated using price, the indicator compares the current price with the previous price range and displays the result as an upward movement line (+DI), and a downward movement line (-DI) between 0 and 100. DMI is displayed on its own chart separate from the price bars.

DMI will tell you when to be long or short. This is especially useful for trend trading strategies because it differentiates between strong and weak trends, allowing the trader to enter only the strongest trends. DMI works on all timeframes and can be applied to any underlying instrument (stocks, mutual funds, exchange-traded funds, futures, commodities, and currencies).

The Directional Movement Index can be used in both ranging and trending markets. In general, when the +DI line is above the -DI line, the market is moving upwards, and when the -DI line is above the +DI line, the market is moving downwards.

Calculation

The first two auxiliary indicators, +DM and -DM, need to be calculated. On "outside days", the difference between today’s and yesterday’s high corresponds to the auxiliary indicator +DM, and the difference between today's and yesterday's low corresponds to the auxiliary indicator -DM. "inside days" should not be considered for the calculation, therefore zero values are assigned for +DM and -DM on these days.

The so-called "True Range" (TR) is now calculated. It is always positive and defines, the following differences as a maximum:

  • Day High Today minus Day Low Today,

  • Day High Today minus Close Yesterday, or

  • Day Low Today minus Close Yesterday.

The + DI upward direction indicator is now calculated by dividing + DM by the True Range. For smoothing purposes, it is usual to add the +DM values for the last fourteen days and divide this by the sum of the TRs for the last fourteen days. The result corresponds to +DI for fourteen days. The calculation of -DI is performed analogously. To calculate the DMI, the difference between +DI and -DI is divided by their sum and the result is multiplied by 100.

+DI = +DM/TR and –DI = - DM/TR

DMI = (+ DI – (- DI)) / (+ DI + (- DI)) * 100, where

TR is the True Range described above.

Main parameters

  • Period of Moving Average: averaging period for calculation, default is 14;

  • Type of the Moving Average: Simple, Exponential, Modified, Linear weighted.

This indicator looks as follows on the chart:

PreviousAlligatorNextICH (Ichimoku)

Last updated 3 years ago

Was this helpful?