INVITE-ONLY SCRIPT
업데이트됨 Weighted Directional Movement Index

The Weighted Directional Movement Index (Weighted-DMI) is an enhanced version of the traditional DMI indicator that incorporates various weighting methods to adjust how +DI and -DI are calculated. This allows traders to refine trend detection based on volume, volatility, or price position within Bollinger Bands.
The indicator can be used on any asset and any timeframe, making it versatile for stocks, forex, crypto, and commodities.
How to Use This Indicator:
Trend Reversals → When the blue line (+DI) crosses above the orange line (-DI), it signals a potential bullish trend.
Bearish Trend Shift → When -DI (orange) crosses above +DI (blue), it indicates a possible bearish trend.
Pullback & Re-Entry → If the lines briefly touch or converge and then separate again, it suggests a pullback and potential trend continuation.
This version of DMI allows you to apply different weightings to the trend calculation, helping filter out noise and improve accuracy.
1️⃣ Weighting Methods:
Users can select from multiple weighting options to refine trend detection based on different market conditions:
✅ None (Default DMI Calculation)
Uses the standard +DI and -DI values with no modifications.
✅ Volume Weighting
Adjusts DMI based on traded volume.
Higher volume days increase the weight of the directional movement, making strong-volume moves more impactful.
✅ Volume Delta Weighting
Uses a basic volume delta approximation ((close - open) * volume).
If the price closes higher, upward moves are weighted more.
If the price closes lower, downward moves get greater weighting.
This method can help highlight aggressive price movements with strong participation.
✅ ATR Ratio Weighting (Volatility-Adjusted)
Adjusts DMI based on how today’s ATR compares to its average ATR.
If volatility is higher than usual, the DI values are boosted, helping emphasize strong trends.
If volatility is low, weighting is reduced, helping avoid false signals in quiet markets.
✅ Bollinger Band Position Weighting
Adjusts DI values based on how far price is from the Bollinger Band midpoint.
If price is above the middle band, +DI is amplified and -DI is dampened (bullish bias).
If price is below the middle band, -DI is amplified and +DI is dampened (bearish bias).
This method is useful for mean-reversion strategies and identifying breakouts from Bollinger Band squeezes.
How This Can Be Useful for Traders:
Trend Followers can use crossovers (+DI/-DI) to confirm trend direction shifts.
Swing Traders can watch for pullbacks and re-entries when the lines touch and diverge again.
Volatility-Based Traders may prefer ATR Ratio weighting to emphasize trends during high-volatility conditions.
Breakout Traders might benefit from Bollinger Band weighting, identifying when price moves away from a consolidation zone.
Volume-Based Traders can use Volume or Volume Delta weighting to prioritize trends with strong participation.
Alerts Included
🚨 Bullish Trend Alert: Triggered when +DI crosses above -DI
🚨 Bearish Trend Alert: Triggered when -DI crosses above +DI
Indicator is much more accurate compared to the traditional Directional Movement Index if you apply the weighting. I personally find the Bollinger Band and then Volume weighting highly useful.
The indicator gives signals a lot earlier compared to other indicators, whilst remaining as accurate as possible.
Higher times frame such as the 15 minute and 1 hour I find work best.
The indicator can be used on any asset and any timeframe, making it versatile for stocks, forex, crypto, and commodities.
How to Use This Indicator:
Trend Reversals → When the blue line (+DI) crosses above the orange line (-DI), it signals a potential bullish trend.
Bearish Trend Shift → When -DI (orange) crosses above +DI (blue), it indicates a possible bearish trend.
Pullback & Re-Entry → If the lines briefly touch or converge and then separate again, it suggests a pullback and potential trend continuation.
This version of DMI allows you to apply different weightings to the trend calculation, helping filter out noise and improve accuracy.
1️⃣ Weighting Methods:
Users can select from multiple weighting options to refine trend detection based on different market conditions:
✅ None (Default DMI Calculation)
Uses the standard +DI and -DI values with no modifications.
✅ Volume Weighting
Adjusts DMI based on traded volume.
Higher volume days increase the weight of the directional movement, making strong-volume moves more impactful.
✅ Volume Delta Weighting
Uses a basic volume delta approximation ((close - open) * volume).
If the price closes higher, upward moves are weighted more.
If the price closes lower, downward moves get greater weighting.
This method can help highlight aggressive price movements with strong participation.
✅ ATR Ratio Weighting (Volatility-Adjusted)
Adjusts DMI based on how today’s ATR compares to its average ATR.
If volatility is higher than usual, the DI values are boosted, helping emphasize strong trends.
If volatility is low, weighting is reduced, helping avoid false signals in quiet markets.
✅ Bollinger Band Position Weighting
Adjusts DI values based on how far price is from the Bollinger Band midpoint.
If price is above the middle band, +DI is amplified and -DI is dampened (bullish bias).
If price is below the middle band, -DI is amplified and +DI is dampened (bearish bias).
This method is useful for mean-reversion strategies and identifying breakouts from Bollinger Band squeezes.
How This Can Be Useful for Traders:
Trend Followers can use crossovers (+DI/-DI) to confirm trend direction shifts.
Swing Traders can watch for pullbacks and re-entries when the lines touch and diverge again.
Volatility-Based Traders may prefer ATR Ratio weighting to emphasize trends during high-volatility conditions.
Breakout Traders might benefit from Bollinger Band weighting, identifying when price moves away from a consolidation zone.
Volume-Based Traders can use Volume or Volume Delta weighting to prioritize trends with strong participation.
Alerts Included
🚨 Bullish Trend Alert: Triggered when +DI crosses above -DI
🚨 Bearish Trend Alert: Triggered when -DI crosses above +DI
Indicator is much more accurate compared to the traditional Directional Movement Index if you apply the weighting. I personally find the Bollinger Band and then Volume weighting highly useful.
The indicator gives signals a lot earlier compared to other indicators, whilst remaining as accurate as possible.
Higher times frame such as the 15 minute and 1 hour I find work best.
릴리즈 노트
🔹 Key Additions:✅ New checkbox: "Use Heikin-Ashi Calculation"
✅ When enabled, the indicator calculates +DI/-DI using Heikin-Ashi values
✅ When disabled, it uses standard price data (default)
✅ All existing features (weighting methods, trend detection, alerts) remain unchanged
초대 전용 스크립트
오써가 승인한 유저만 이 스크립트에 액세스할 수 있으며, 이를 위해서는 일반적으로 결제가 필요합니다. 이 스크립트를 즐겨찾기에 추가할 수는 있지만 오써에게 권한을 요청하여 권한을 얻은 뒤에야 쓸 수 있습니다 - 여기에서 자세히 알아보세요. 자세한 내용은 아래 오써의 안내를 따르거나 Robpoll에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
For access, join our membership here: https://www.patreon.com/c/robpoll/membership. Once a member, send me your tradingview username. For those already members, just message me on Patreon your tradingview username.
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
patreon.com/c/Robpoll
I share sensitive Natgas information via my Patreon everyday.
I share sensitive Natgas information via my Patreon everyday.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
오써가 승인한 유저만 이 스크립트에 액세스할 수 있으며, 이를 위해서는 일반적으로 결제가 필요합니다. 이 스크립트를 즐겨찾기에 추가할 수는 있지만 오써에게 권한을 요청하여 권한을 얻은 뒤에야 쓸 수 있습니다 - 여기에서 자세히 알아보세요. 자세한 내용은 아래 오써의 안내를 따르거나 Robpoll에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
For access, join our membership here: https://www.patreon.com/c/robpoll/membership. Once a member, send me your tradingview username. For those already members, just message me on Patreon your tradingview username.
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
patreon.com/c/Robpoll
I share sensitive Natgas information via my Patreon everyday.
I share sensitive Natgas information via my Patreon everyday.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.