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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน