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.
- 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).
- 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.
- 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.
- 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.
- 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.
