PROTECTED SOURCE SCRIPT
Обновлено

mrD-Volume Profile Heatmap

176
This indicator combines advanced volume analysis with institutional-grade visualization techniques to provide traders with a comprehensive view of market structure and liquidity zones.

WHAT MAKES THIS UNIQUE:
• Proprietary bidirectional volume profiling algorithm that separates buying and selling pressure using VWAP deviation analysis, not standard volume bars
• Custom heatmap visualization engine with adaptive gradient calculation based on volume-weighted price distribution across multiple timeframes
• Integrated Weekly VWAP with hlc3 weighting for institutional reference levels
• Dynamic POC (Point of Control) detection with fixed-height text boxes for clarity
• Optimized rendering system that handles 500+ bars efficiently without lag

HOW IT WORKS:
The algorithm analyzes volume distribution at each price level within the lookback period, applying a proprietary weighting system that considers:
1. Volume-weighted average price (VWAP) deviation to classify volume as bullish/bearish
2. Price levels are binned into customizable rows (bins) for granular analysis
3. Volume bars extend bidirectionally: positive volume (green) extends left, negative volume (red) extends right
4. Heatmap overlay uses multi-level gradient mapping (6-color spectrum) to highlight high volume nodes
5. Weekly VWAP provides macro trend reference with session-based reset logic

VOLUME PROFILE MECHANICS:
• Calculates volume distribution across price levels using a grid-based binning system
• Each bin accumulates volume when the price touches that level
• Positive/negative classification based on VWAP position (above = bullish, below = bearish)
• POC automatically identifies the price level with maximum volume concentration
• Display shows volume intensity through color gradients and bar lengths

HEATMAP VISUALIZATION:
• Uses exponential gradient multiplier (default 1.9) for enhanced contrast
• Color transitions: Dark Blue (low volume) → Cyan → Green → Yellow (high volume)
• Transparency-adjusted overlays ensure chart readability
• Real-time updates as new volume data arrives

WEEKLY VWAP INTEGRATION:
• Resets at the start of each trading week (request.security logic)
• Uses hlc3 (typical price) as the volume-weighted source
• Provides institutional reference level for swing traders
• Yellow color (#FFEB3B) for easy identification

KEY PARAMETERS:
• Period: Lookback window for volume calculations (default: 500 bars)
• Bins: Number of price levels for volume distribution (default: 150 rows)
• Offset: Horizontal positioning of volume bars (default: 50)
• Heatmap Rows: Granularity of heatmap overlay (default: 250)
• POC displays actual volume numbers for transparency

TRADING APPLICATIONS:
→ Identify high-volume nodes as support/resistance zones
→ Detect liquidity clusters where institutional orders concentrate
→ Spot low-volume areas where price may move quickly (thin zones)
→ Use bidirectional volume to assess buying vs selling pressure
→ Combine with Weekly VWAP for multi-timeframe confluence
→ POC levels often act as price magnets (mean reversion targets)

TECHNICAL IMPLEMENTATION NOTES:
• Optimized for intraday to swing timeframes (1m to Daily charts)
• Volume calculations use session-based accumulation (no future data)
• Box rendering is limited to 500 objects for performance
• Gradient calculations use mathematical power functions for smooth transitions
• VWAP calculation follows institutional standard (volume-weighted hlc3)

RESTRICTIONS:
This is a proprietary algorithm. Redistribution, modification, or commercial use is strictly prohibited. The logic and methods contained herein are confidential and protected intellectual property.
═══════════════════════════════════════════
DISCLAIMER & RISK WARNING

This indicator is provided solely for educational and informational purposes. It is designed to help traders understand market structure, volume distribution, and price action analysis. This tool should be used as part of a comprehensive trading education program.

NOT FINANCIAL ADVICE:
The information and signals provided by this indicator DO NOT constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not treat any of the indicators' content, outputs, or signals as such. Nothing contained in this indicator constitutes a solicitation, recommendation, endorsement, or offer to buy or sell any securities or other financial instruments in this or in any other jurisdiction.

NO GUARANTEED RESULTS:
Past performance is NOT indicative of future results. The historical backtesting results, volume patterns, and statistical data shown by this indicator do not guarantee future performance or success. Market conditions change constantly, and what worked in the past may not work in the future. Trading and investing involve substantial risk of loss.

MARKET VOLATILITY:
Financial markets are inherently volatile and unpredictable. Volume patterns, support/resistance levels, and other technical indicators can fail at any time. No indicator can predict market movements with certainty. Always use proper risk management and position sizing.

By using this indicator, you acknowledge that you have read, understood, and agree to this disclaimer in its entirety. If you do not agree with any part of this disclaimer, you should not use this indicator.
Информация о релизе
VWAP updated code
Информация о релизе
Add dashboard control

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.