DCT - Liquidity Heatmap - Pro

Overview
This indicator maps liquidity concentration zones by analyzing volume distribution across price levels. It identifies areas where significant trading activity has accumulated, potentially indicating zones of interest for future price interaction.
Methodology
Volume Intensity Calculation
Each price level accumulates a normalized volume score calculated as:
- Volume Intensity = Current Bar Volume / SMA(Volume, lookback period)
- This normalization allows comparison across different volatility regimes and trading sessions
Level Construction
- Price levels are distributed symmetrically above and below current price using percentage-based spacing
- Each level maintains cumulative volume data, tracking both raw volume and normalized intensity
- Levels are visualized as zones with height proportional to the spacing parameter
Sweep Detection Logic
A level is marked as "swept" when price action crosses through it:
- Condition: Low ≤ Level Price AND High ≥ Level Price
- Swept levels stop accumulating new volume and can be styled differently (fade, hide, or preserve)
Color Intensity Grading
Zones are color-coded based on their normalized volume relative to the maximum observed:
- Purple: < 25% of max intensity
- Yellow: 25-50% of max intensity
- Orange: 50-75% of max intensity
- Red: > 75% of max intensity
Optional CVD (Cumulative Volume Delta) Mode
When enabled, directional volume is estimated using candle structure:
- Bullish candles: Buy pressure weighted by (Close - Open) / (High - Low)
- Bearish candles: Sell pressure weighted by (Open - Close) / (High - Low)
- Levels display green/red bias based on accumulated directional volume ratio
Adaptive System
The indicator includes a three-layer adaptive system:
1. Timeframe adaptation: Spacing, level count, and retention automatically adjust for M5 through Daily charts
2. Volatility adaptation: ATR-based adjustments widen spacing during high volatility and tighten during consolidation
3. Market type adaptation: Different imbalance thresholds for BTC/ETH, large altcoins, and small caps
Imbalance Detection
Buy/sell imbalance markers appear when the ratio of accumulated buy volume to sell volume exceeds a configurable threshold (default 1.5x for BTC/ETH, 2.0x for small caps).
What Makes This Implementation Unique
- Dollar-denominated liquidity display: Labels show estimated liquidity in USD (K/M/B format) rather than abstract values
- Three-layer adaptive logic: Combines timeframe, volatility (ATR), and asset-class adjustments simultaneously
- Memory-optimized architecture: Automatic cleanup of old swept levels prevents performance degradation on extended charts
- Forward projection: Active levels extend into future bars for cleaner visualization
- Granular visibility controls: Each intensity tier can be toggled independently
Settings Guide
- Dynamic: Enable adaptive adjustments (recommended)
- Spacing: Distance between levels as % of price
- Levels: Number of levels above/below price
- CVD: Enable directional volume analysis
- Forward: Project levels ahead by specified bars
Usage Notes
- Works on both Perpetual and Spot crypto markets
- Optimized for crypto assets; results may vary on other instruments
- Higher timeframes show broader liquidity structure; lower timeframes show granular detail
- Combine with your own analysis framework
Disclaimer
This indicator visualizes historical volume distribution and does not predict future price movement. Not financial advice. Use appropriate risk management.
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi Daily-Crypto-Trading secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.
Arahan penulis
Penafian
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi Daily-Crypto-Trading secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.