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
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.