INVITE-ONLY SCRIPT
Advanced DMI [NexusSignals]

Overview
The Advanced DMI [NexusSignals] is a enhanced version of the classic Directional Movement Index (DMI) and Average Directional Index (ADX) indicator, designed to provide traders with deeper insights into trend strength, direction, and momentum. It combines visual plots, a customizable data table, and multiple alert conditions to help identify bullish/bearish trends, consolidations, and potential reversals. This indicator is ideal for trend-following strategies, scalping, or swing trading across various timeframes and assets.
Key enhancements include:

The indicator calculates and display:

Plots include:
The table (optional) summarizes data for the current candle, previous candle, and two candles ago, including arrows for directional changes and color highlights for quick scans.
Inputs
General Settings:
Table Settings:
How It Works
Interpretation
Bullish Signals: +DI > -DI, rising +DI (↑ arrow), Strength > 0 (green histogram), Buy% > Sell%. Look for ADX > 25 for confirmed uptrends.
Bearish Signals: -DI > +DI, rising -DI (↑ arrow), Strength < 0 (red histogram), Sell% > Buy%. ADX rising above thresholds strengthens the downtrend.
Consolidation: Both +DI and -DI < 20, ADX ≤ 15 (blue fill possible). Use this to avoid choppy markets.
Crossovers: +DI crossing above -DI suggests bullish reversal; opposite for bearish.
Fills: Areas above 15 highlight dominant trends (green for bullish, maroon for bearish).
Combine with price action or other indicators like RSI for better accuracy. Works on any timeframe, but test on historical data for your strategy.
Alerts
The indicator includes 12 built-in alert conditions for automation:
Set up alerts in TradingView by selecting the condition from the dropdown.
Usage Tips
Enable the table for quick multi-candle analysis without scrolling the chart.
Customize colors and positions to fit your workspace.
Backtest on your favorite assets (e.g., stocks, forex, crypto) to optimize thresholds.
For faster loading on large datasets, the script is optimized to update the table only on the last bar.
This indicator is provided by NexusSignals for educational and trading purposes. Always use risk management and verify signals. Feedback welcome!
The Advanced DMI [NexusSignals] is a enhanced version of the classic Directional Movement Index (DMI) and Average Directional Index (ADX) indicator, designed to provide traders with deeper insights into trend strength, direction, and momentum. It combines visual plots, a customizable data table, and multiple alert conditions to help identify bullish/bearish trends, consolidations, and potential reversals. This indicator is ideal for trend-following strategies, scalping, or swing trading across various timeframes and assets.
Key enhancements include:
- A trend strength metric that quantifies bullish/bearish dominance.
- A dynamic table displaying real-time and historical DMI/ADX values, with color-coded signals and buy/sell pressure percentages.
- Visual fills and arrows for quick trend interpretation.
- Built-in alerts for key crossovers, threshold breaches, and consolidation phases.
The indicator calculates and display:
- +DI (Plus Directional Indicator): Measures upward price movement strength.
- -DI (Minus Directional Indicator): Measures downward price movement strength.
- ADX: Gauges overall trend strength (higher values indicate stronger trends).
- Trend Strength: A normalized score computed as ((+DI - -DI) / (+DI + -DI)) * ADX, ranging from negative (bearish) to positive (bullish). This helps quantify trend bias.
- Buy/Sell %: Candle body analysis showing the percentage of buyer (close above low) vs. seller (high above close) control in the current bar.
Plots include:
- Strength Histogram: Color-coded columns (green for bullish, red for bearish) to visualize trend intensity.
- ADX Line: White line showing trend strength, with arrows indicating rising/falling.
- +DI and -DI Lines: Green (+DI) and red (-DI) lines with conditional fills above the 15 threshold for strong trends.
- Horizontal threshold lines at 15 (consolidation threshold) and 25 (strong trend threshold).
The table (optional) summarizes data for the current candle, previous candle, and two candles ago, including arrows for directional changes and color highlights for quick scans.
Inputs
General Settings:
- DMI Length (default: 14): Period for +DI/-DI calculation.
- ADX Smoothing (default: 14): Smoothing period for ADX.
- ADX Consolidation Threshold (default: 15): Below this, suggests sideways market.
- ADX Stronger Trend Threshold (default: 25): Above this, indicates a robust trend.
- Threshold for Strong Bullish/Bearish DMI Strength (defaults: 10 / -10): Levels for strength alerts.
Table Settings:
- Show Table? (default: true): Toggle the data table on/off.
- Table Text Color, Header Color, Text Size, Position: Customize appearance and placement (e.g., middle_right).
How It Works
Interpretation
Bullish Signals: +DI > -DI, rising +DI (↑ arrow), Strength > 0 (green histogram), Buy% > Sell%. Look for ADX > 25 for confirmed uptrends.
Bearish Signals: -DI > +DI, rising -DI (↑ arrow), Strength < 0 (red histogram), Sell% > Buy%. ADX rising above thresholds strengthens the downtrend.
Consolidation: Both +DI and -DI < 20, ADX ≤ 15 (blue fill possible). Use this to avoid choppy markets.
Crossovers: +DI crossing above -DI suggests bullish reversal; opposite for bearish.
Fills: Areas above 15 highlight dominant trends (green for bullish, maroon for bearish).
Combine with price action or other indicators like RSI for better accuracy. Works on any timeframe, but test on historical data for your strategy.
Alerts
The indicator includes 12 built-in alert conditions for automation:
- Strength crossing above/below 0 or bullish/bearish thresholds.
- +DI/-DI crossovers (bullish/bearish).
- ADX crossing above strong threshold.
- +DI/-DI crossing above 25 or below 15.
- Consolidation detection (low ADX with flat DI lines).
Set up alerts in TradingView by selecting the condition from the dropdown.
Usage Tips
Enable the table for quick multi-candle analysis without scrolling the chart.
Customize colors and positions to fit your workspace.
Backtest on your favorite assets (e.g., stocks, forex, crypto) to optimize thresholds.
For faster loading on large datasets, the script is optimized to update the table only on the last bar.
This indicator is provided by NexusSignals for educational and trading purposes. Always use risk management and verify signals. Feedback welcome!
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 NexusSignals에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Contact me to subscribe to the Indicator, payments are handled externally to simplify the process and ensure direct access.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 NexusSignals에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Contact me to subscribe to the Indicator, payments are handled externally to simplify the process and ensure direct access.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.