OPEN-SOURCE SCRIPT
DMI - Paired with a simple and easy-to-understand UI

The DMI (Directional Movement Index) - Paired with a simple and easy-to-understand UI indicator is an enhanced version of the classic Directional Movement Index. It provides:
Quick Start Guide
Reading the Indicator
Element Green Red Gray
+DI / -DI Bullish pressure Bearish pressure Neutral
Histogram Bullish momentum Bearish momentum —
Signal Interpretation
Signal What to Do
🟢 Green Arrow Go Long (Buy)
🔴 Red Arrow Go Short (Sell)
Key Features Explained
1. ADX Line (Yellow)
The main trend strength indicator:
2. +DI and -DI Lines
3. Histogram Bars
The easiest way to read momentum at a glance:
4. Signal Arrows
Large, easy-to-see arrows appear when:
How to Trade
Basic Entry Rules
Exit Rules
- Visual arrows for clear buy/sell signals
- Histogram for quick momentum reading
- Color-coded background for trend strength
- Simplified info panel for fast decision making
Quick Start Guide
Reading the Indicator
Element Green Red Gray
+DI / -DI Bullish pressure Bearish pressure Neutral
Histogram Bullish momentum Bearish momentum —
Signal Interpretation
Signal What to Do
🟢 Green Arrow Go Long (Buy)
🔴 Red Arrow Go Short (Sell)
Key Features Explained
1. ADX Line (Yellow)
The main trend strength indicator:
- Above 25: Strong trend ✅
- 15-25: Moderate trend ⚠️
- Below 15: Weak/Ranging ❌
2. +DI and -DI Lines
- +DI (Green): Shows buying pressure
- -DI (Red): Shows selling pressure
- When +DI crosses above -DI → Bullish signal
- When -DI crosses above +DI → Bearish signal
3. Histogram Bars
The easiest way to read momentum at a glance:
- Positive bars (Green) = Bullish
- Negative bars (Red) = Bearish
- Taller bars = Stronger momentum
4. Signal Arrows
Large, easy-to-see arrows appear when:
- Green ▲: +DI crosses above -DI AND ADX > 25
- Red ▼: -DI crosses above +DI AND ADX > 25
How to Trade
Basic Entry Rules
- Wait for arrow to appear (Green for long, Red for short)
- Confirm ADX is above 25 (strong trend)
- Confirm histogram matches direction
- Enter on next candle open
Exit Rules
- Opposite signal appears
- ADX drops below 20
- Price hits take profit target
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.