Average Directional Index (ADX) trend strength मापता है, direction नहीं। +DI और −DI (Directional Indicators) बताते हैं कि बाज़ार का कौन सा पक्ष dominant है।
घटक
| Line | अर्थ |
|---|---|
| ADX | Trend कितनी मजबूत (0–100) |
| +DI | ऊपर की चाल की ताकत |
| −DI | नीचे की चाल की ताकत |
ADX Wilder smoothing से true range और directional movement से बनता है।
सूत्र
कैंडल t का true range:
TR_t = max(H_t − L_t, |H_t − C_{t−1}|, |L_t − C_{t−1}|)
Directional movement (+DM, −DM) पिछली कैंडल से ऊपर/नीचे की गति की तुलना करता है।
अवधि N पर Wilder-smoothed +DI / −DI:
+DI = 100 × Smoothed(+DM) / Smoothed(TR)
−DI = 100 × Smoothed(−DM) / Smoothed(TR)
Directional index और ADX:
DX = 100 × |+DI − −DI| / (+DI + −DI)
ADX = Wilder smoothed average of DX over N bars
सामान्य सेटिंग्स
| पैरामीटर | dogabot डिफ़ॉल्ट |
|---|---|
| Period | 14 |
| Threshold | 25 |
व्याख्या:
- ADX < 20 — कमज़ोर या ranging
- ADX 25–40 — विकसित trend
- ADX > 40 — मजबूत trend (बहुत ऊँचे मान पर exhaustion)
उपयोग
ट्रेडर्स अक्सर directional trades से पहले ADX threshold से ऊपर चाहते हैं, फिर +DI vs −DI से side चुनते हैं — chop में whipsaw कम।
dogabot में
ADX trading rule emit करती है:
- Buy जब ADX ≥ threshold और +DI > −DI
- Sell जब ADX ≥ threshold और −DI > +DI
ADX threshold से नीचे हो तो rule neutral रहती है।
उदाहरण
उदाहरण
period 14 और threshold 25 के साथ ADX = 32, +DI = 28, −DI = 15। trend strength threshold पार करती है और bulls आगे हैं → ADX rule buy कर सकती है। ADX = 18 हो तो DI कुछ भी हो, rule neutral रहती है।
संबंधित पढ़ाई
- ADX trading rule
- Strategy rules overview
- Strategy filters — ADX को time या volume gates के साथ