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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。