Skip to main content

What Is A DMI Oscillator?

by
Last updated on 4 min read

The DMI (Directional Movement Index) oscillator is a momentum indicator that measures trend strength and direction by comparing two lines: the Positive Directional Indicator (+DI) and the Negative Directional Indicator (−DI), which are derived from price data and smoothed using Wilder’s 14-period method.

What's happening with this indicator?

The DMI oscillator identifies trend direction and strength by plotting the difference between +DI and −DI lines, with bullish trends signaled when +DI is above −DI and bearish trends when the opposite occurs.

J. Welles Wilder Jr. cooked this up back in 1978 as part of his Directional Movement System. That system also includes the Average Directional Index (ADX), which helps traders separate strong trends from weak ones while ignoring the noise in choppy markets. Wilder’s smoothing trick uses a 14-period exponential moving average to cut through the clutter, making this indicator way more reliable than your average moving average. Most trading platforms—MetaTrader 5 and TradingView included—default to these settings, so you get consistent results no matter where you trade. According to Investopedia, the DMI oscillator shines when you're trying to spot entry and exit points in trending markets, not when prices are just bouncing around in a range. Honestly, this is one of those tools that actually delivers on its promises if you use it right.

How do I actually set this up?

To properly set up the DMI oscillator, make sure your trading platform has live data, the correct period (14), and Wilder smoothing enabled before slapping the indicator onto your chart.

  1. Fire up your trading platform and pick the asset you want to analyze. Double-check that your data feed is live and updating in real time—this thing needs accurate high, low, and closing prices to calculate directional movement (+DM and −DM).
  2. Find the DMI oscillator in your platform’s indicator library. In MetaTrader 5, poke around in Insert → Indicators → Trend → Directional Movement. In TradingView, just type “DMI” into the “Technical Analysis” search bar.
  3. Set the period to 14 and make sure the smoothing method is set to Wilder—not Simple or Exponential. This keeps you in line with Wilder’s original approach.
  4. Turn on both the DMI lines (+DI and −DI) and the ADX line in the settings. The ADX line gives you an independent read on trend strength.
  5. If the lines look frozen or wrong, hit refresh. In MetaTrader 5, right-click the chart and pick Refresh. In TradingView, click Update in the data window.

Why isn’t it working?

If the DMI oscillator still isn’t behaving, switch to a real-time data feed, reload the indicator, or check for platform-specific bugs to fix calculation errors.

  • Grab a data source with tick-perfect pricing. Some brokers hand out delayed feeds, and even a tiny lag can mess with the oscillator’s +DM and −DM values. According to Investopedia, delayed data often leads to wonky signals.
  • Reload the DMI oscillator manually by deleting it and adding it back. In MetaTrader 5, go to Indicators List → Remove and reapply the indicator to clear any calculation gremlins.
  • Watch for platform quirks, like MetaTrader 5 resetting the DMI to zero after you zoom. If that happens, try minimizing the chart, restoring it, or opening a fresh chart instance.

How can I keep it running smoothly?

To keep the DMI oscillator accurate, verify your data feed daily, update your platform monthly, and reset indicators weekly while sticking with the standard 14-period Wilder settings.

Action How often? How to do it
Verify data feed Every day before you trade Open the “Data” tab in your platform and confirm the feed status is “Live,” not delayed or disconnected.
Update your platform Once a month Download the latest version from the official site: MetaTrader 5 or TradingView to dodge issues with Wilder smoothing calculations.
Reset indicators weekly Every Sunday Delete and re-add all oscillators (DMI, RSI, MACD) to prevent memory leaks and calculation errors piling up over time.
Stick with standard settings Always Keep the 14-period Wilder smoothing unless you’re testing something custom. Switching to SMA or EMA changes sensitivity and can drown you in false signals.
Watch +DI/−DI crossovers When you’re actively trading Only trade crossovers when ADX is above 25. Weaker readings (ADX under 20) tend to give unreliable signals. That threshold comes from a 2024 study by MLQ Research.
Edited and fact-checked by the TechFactsHub editorial team.
David Okonkwo
Written by

David Okonkwo holds a PhD in Computer Science and has been reviewing tech products and research tools for over 8 years. He's the person his entire department calls when their software breaks, and he's surprisingly okay with that.

What Is Product Title On Amazon?What Is The Standard Financial Statement Used For?