# Directional Movement (DMI)

## 🔍 What Is It?

The Directional Movement Indicator (DMI), developed by J. Welles Wilder Jr., is a trend-following system that identifies the strength and direction of a trend. It’s composed of three components:

<figure><img src="https://1625968307-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJJ7wT59Z0fzKs7nomHeU%2Fuploads%2FLILYne3kGoi3Gtp46Zmt%2Fimage.png?alt=media&#x26;token=a217a9c7-e6dc-41fb-9c90-04f390792a8b" alt=""><figcaption></figcaption></figure>

* **+DI (Positive Directional Indicator)**
* **−DI (Negative Directional Indicator)**
* **ADX (Average Directional Index)** — often used in conjunction with DMI

While ADX shows the strength of the trend, +DI and -DI tell you the direction: which side is currently in control — bulls or bears.

## ⚙️ How It Works

DMI compares the **difference between highs and lows** of consecutive price bars to determine directional strength.

* **+DI** measures how strongly price moved upward compared to the previous bar
* **−DI** measures how strongly price moved downward

The lines are then smoothed using a moving average to reduce noise.

If +DI is above -DI, it suggests upward movement is stronger.\
If -DI is above +DI, it implies sellers have control.

## 📖 How to Read It

The relationship between the two lines gives directional bias:

<figure><img src="https://1625968307-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJJ7wT59Z0fzKs7nomHeU%2Fuploads%2F0rYt7OHaUxwbjwR6fboC%2Fimage.png?alt=media&#x26;token=ccd0eb40-47e4-4130-90c7-cb9bcf8847a2" alt=""><figcaption></figcaption></figure>

* 🔼 **+DI > -DI** = Bullish trend
* 🔽 **-DI > +DI** = Bearish trend
* 🔁 Crossovers of the two lines can signal trend shifts:
  * When +DI crosses above -DI → Buy signal
  * When -DI crosses above +DI → Sell signal

To improve accuracy, traders often combine DMI with the ADX:

* **ADX > 20-25** = Trending market
* **ADX < 20** = Weak or range-bound market

## 🔧 Best Settings

* ✅ **Period**: 14 (default by Wilder)
* 📈 **Timeframes**: Works well on higher timeframes like 1H, 4H, and Daily
* 🔍 **Asset types**: Can be applied to crypto, forex, or stocks

<figure><img src="https://1625968307-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJJ7wT59Z0fzKs7nomHeU%2Fuploads%2FDNxJwUGVpLAJjgoQp99z%2Fimage.png?alt=media&#x26;token=a12b0f75-686b-43b0-b782-bd2b4bfeedb8" alt=""><figcaption></figcaption></figure>

Pro tip: Test custom settings based on asset volatility.

## 📊 How to Use It in a Strategy

Here’s a practical way to use DMI:

**Trend Confirmation:**

* If +DI > -DI and ADX is rising above 25 → Strong uptrend
* If -DI > +DI and ADX is rising above 25 → Strong downtrend\
  You can enter in the direction of the trend after a pullback.

**Cross Trading:**

* Enter **long** when +DI crosses above -DI and ADX > 20
* Enter **short** when -DI crosses above +DI and ADX > 20

Combine with:

* **Moving Averages** to define support/resistance
* **Candlestick patterns** to time entries more precisely

## ⚠️ Common Mistakes

* ❌ Ignoring ADX — DI crossovers alone can give false signals
* ❌ Using on low timeframes where noise dominates
* ❌ Over-relying on DMI without broader market context

Always combine it with price action or volume indicators for better decisions.

## 🧠 Final Thoughts

Directional Movement is a **powerful trend-following tool**, but it shines best when:

* Combined with ADX
* Used on higher timeframes
* Paired with a broader strategy

It helps you avoid choppy markets and jump on **confirmed trends** — whether you're trading BTC, gold, or SPX.
