MarketMastery Suite by DGT

Unlock a complete, institutional-grade toolkit built for modern traders. The MarketMastery Suite blends advanced price action logic, multi-timeframe structure detection, capital flow analytics, and liquidation-based risk tools — empowering you to decode market behavior with confidence.
Whether you're identifying smart money zones, anticipating structural shifts, or managing position risk, MarketMastery Suite delivers actionable and adaptive insights.
KEY FEATURES
---------------------------------------------------------------------------------------------------------------
⯌ Dynamic Support & Resistance Zones
Automatically detects major Support and Resistance zones based on adaptive logic derived from ICT-style OBs and BBs. Rather than using fixed lookbacks, the script applies swing-based detection to reveal significant levels across Local, Regional, Global, and Macro structures — pinpointing areas of likely institutional interest.
⯌ Trend Stop & Range Detection
Tracks market bias with a smart 3-tier trailing stop that filters noise and identifies potential breakouts, traps, or directional flips — even in ranging conditions.
⯌ Fractal Market Structure & Shift Detection
Detects real-time Break of Structure (BoS) and Change of Character (CHoCH) events across fractal structure levels — Local to Macro — helping confirm or anticipate market shifts.
⯌ Volume & Capital Flow Analysis
Highlights volume spikes and overlays Cumulative Volume Delta (CVD) and Open Interest (OI) to uncover buyer/seller intent and momentum pressure shifts.
⯌ Trend Snapshot Dashboard
A clean, mobile-friendly dashboard that shows live trend strength, directional flow (Price, OI, CVD), and key capital activity, anchored to the latest swing evaluation window.
⯌ Liquidation Risk Zones
Visualizes liquidation and margin thresholds based on leverage, entry price, and maintenance margin — essential for futures risk planning.
ALERT MESSAGES
---------------------------------------------------------------------------------------------------------------
Support & Resistance Events
- "Rejection {count} at Support · Support ≈ {value}"
- "Support Retest {count} After Break · Support ≈ {value}"
- "Rejection {count} at Resistance · Resistance ≈ {value}"
- "Resistance Retest {count} After Break · Resistance ≈ {value}"
Support & Resistance Transitions
- "Support Broken · {value} → Becomes Resistance"
- "Resistance Broken · {value} → Becomes Support"
Market Structure Alerts
- "{fractal depth} {Bullish|Bearish} Break of Structure detected."
- "{fractal depth} {Bullish|Bearish} Change of Character detected."
Bias Transitions
- "{Bullish|Bearish} Bias — Trailing stop flipped {upward|downward} {volume activity}"
- "Potential {Bullish|Bearish} Flip — Early signs of {upward|downward} pressure {volume activity}"
- "Ranging or Transitioning — Market lacks a clear trend {volume activity}"
Volume Spike
- "Extreme volume spike detected!"
DISCLAIMER
---------------------------------------------------------------------------------------------------------------
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Volume Delta and Cumulative Volume Delta are calculated using lower timeframes for greater accuracy. On the 1-minute chart, this triggered a request for seconds-based data — which is not supported by all TradingView subscription plans. As a result, only users without access to seconds-resolution data experienced an error. This has now been resolved.
- Updated the Volume Source tooltip with a clear explanation of when 'Combined Spot + Perpetual' can be used.
- Pairing works only for crypto markets where spot and perpetual tickers share the same base name (e.g., BTCUSDT and BTCUSDT.P) and is supported for USD, USDT, and USDC pairs.
- The script now handles exceptional cases where naming inconsistencies prevent proper pairing (e.g., SHIBUSDT vs. SHIB1000USDT.P).
- When pairing is successful, an asterisk * will appear in related dashboard fields, with tooltips providing details about the pairing status.
Proximity Guide Line (New Feature)
The Proximity Guide Line adds a customizable reference line just above support zones or just below resistance zones, enhancing price proximity awareness near key levels.
This subtle guide helps traders quickly visualize how close the current price is to important dynamic support and resistance zones, improving timing and risk management for better entry and exit decisions.
⯌ Fractal Market Structure & Shift Detection — New Features & Enhancements
Market Structure Dashboard (New Feature)
Enable this option to display a compact on-chart dashboard summarizing recent Break of Structure (BoS) and Change of Character (CHoCH) events.
It provides a quick snapshot of ongoing structural shifts across multiple timeframes, helping traders stay aligned with market dynamics at a glance.
Structure Shifts & Breaks (Enhancement)
Now includes full line customization for each fractal level (Local, Regional, Global, Macro).
Users can individually adjust the style (Solid, Dashed, Dotted) and thickness of BoS and CHoCH lines, making it easier to distinguish structure events visually across different levels.
⯌ Interface & Settings Refinement
Reorganized some input options and improved labeling/styling across multiple sections for better readability and a more intuitive user experience.
ALERT MESSAGES — New & Updated
Support & Resistance Events (Updated)
- "Rejection #{count} at Support · Support ≈ {value}"
- "Support Retest #{count} After Break · Support ≈ {value}"
- "Rejection #{count} at Resistance · Resistance ≈ {value}"
- "Resistance Retest #{count} After Break · Resistance ≈ {value}"
Support & Resistance Transitions (New & Updated)
- "Support Broken → Now Acting as Resistance · Resistance ≈ {value}"
- "Broken Support Reclaimed — Removed from Tracking · Support ≈ {value}"
- "Resistance Broken — Now Acting as Support · Support ≈ {value}"
- "Broken Resistance Reclaimed — Removed from Tracking · Resistance ≈ {value}"
Proximity Alerts (New)
- "Proximity Reaction #{count} · Support Reaction at Early Warning Zone ≈ {value}"
- "Proximity Entry #{count} · Entered Early Warning Support Zone ≈ {value}"
- "Proximity Reaction #{count} · Resistance Reaction at Early Warning Zone ≈ {value}"
- "Proximity Entry #{count} · Entered Early Warning Resistance Zone ≈ {value}"
Market Structure Alerts (Updated)
- "{fractal depth} {Bullish|Bearish} Break of Structure detected. Potential {short|mid|long|grand}-term trend continuation"
- "{fractal depth} {Bullish|Bearish} Change of Character detected. Potential {short|mid|long|grand}-term trend reversal"
Market structure shifts and breaks help traders identify changes in trend direction. A shift (Change of Character – CHoCH) signals a potential reversal, often occurring when a swing high or low is breached, suggesting a transition in trend. A break (Break of Structure – BoS), on the other hand, confirms the continuation of an established trend, reinforcing the current direction. Recognizing these shifts and breaks allows traders to anticipate price movements with greater accuracy.
However, it’s important to note that while CHoCH may signal a potential reversal and BoS suggests continuation, neither guarantees a full directional move. In some cases, these levels can act as liquidity zones or areas of consolidation, leading to false signals.
The new Break/Sweep Validation feature applies an ATR-based buffer to determine whether a break is a true breakout or a liquidity sweep. This validation helps filter out failed moves and potential traps — often caused by smart money liquidity grabs — improving confidence in detected market structure events.
ALERT MESSAGES — New
Liquidity Trap Alerts
- "Price breached a key {Bullish|Bearish} {fractal depth} structure level ({price}) but failed to confirm. This may signal a smart money liquidity grab."
All Local / Regional Structures (New Feature)
This enhancement introduces the ability to display the full set of Local Structures (e.g., the most recent 100 short-term swings), offering traders a richer context of price action beyond just the most relevant point.
When Structural Depth is enabled, the feature automatically extends to show all Regional Structures instead, giving a broader perspective of mid-term swings built from multiple Locals.
This flexible view empowers traders to analyze both granular short-term turns and aggregated regional shifts, making it easier to align entries with higher-level structural flow.
Proximity Guide Line — Independent Multipliers (Enhancement)
The Proximity Guide Line now supports independent multipliers for Local, Regional, and Global zones.
This refinement gives traders greater control by allowing them to adjust sensitivity per structural scale. For example, you might keep Local multipliers tight for scalping, while using a wider buffer on Regional or Global zones to account for larger swings.
The result is a more adaptable guide that can match your trading style across different timeframes and market contexts.
Improved Tooltips (Enhancement)
Tooltips for Dynamic Support & Resistance options have been expanded with clearer explanations of each setting.
Now, traders can quickly understand the distinctions between Local, Regional, Global, Macro, and multi-scale combinations — including when to use each. This makes it easier to select the right structural depth for scalping, intraday, swing, or macro analysis without guesswork.
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement dgtrd.
TradingView ne recommande PAS de payer ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez comment il fonctionne. Vous pouvez également trouver des alternatives gratuites et open-source dans nos scripts communautaires.
Instructions de l'auteur
Clause de non-responsabilité
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement dgtrd.
TradingView ne recommande PAS de payer ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez comment il fonctionne. Vous pouvez également trouver des alternatives gratuites et open-source dans nos scripts communautaires.