Dynamic Volume Histogram [DVH]Dynamic Volume Histogram is a clean and intuitive volume visualization tool
designed for swing traders who want deeper insight into market participation and
volume behavior at a glance.
Unlike the standard volume indicator, DVH color-codes each bar based on both
candle direction AND volume intensity — giving you an immediate visual read on
whether a move is backed by conviction or just noise.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each volume bar is colored across 4 distinct conditions:
✅ Bullish candle + Normal volume → Green (regular buying pressure)
🔵 Bullish candle + 10M+ volume → Blue (high conviction buying)
🔴 Bearish candle + Normal volume → Red (regular selling pressure)
⚫ Bearish candle + 10M+ volume → Black (high conviction selling)
A moving average line is overlaid on the histogram to help you quickly identify
whether current volume is above or below its recent average — a key signal for
swing trade confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• 4 fully customizable bar colors — adjust to your chart theme
• Configurable high-volume threshold (default: 10 million)
• Smart labels on high-volume bars showing exact volume value
• Average volume line with adjustable period (default: 20)
• Clean and lightweight — no repainting, no complex math
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Blue bars on breakout candles → strong institutional buying,
potential swing long opportunity
• Black bars on breakdown candles → aggressive selling pressure,
watch for continuation or reversal confirmation
• Bars consistently below the average line → low participation,
avoid chasing moves
• Spike in volume (color shift) after consolidation → possible
trend initiation, ideal swing entry zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• High Volume Threshold — default 10,000,000 (adjustable)
• Average Volume Length — default 20 periods
• Show Average Line — toggle on/off
• Bar Colors — 4 independent color pickers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator works best on daily and weekly timeframes for swing trading
setups. Combine with support/resistance levels or price action signals for
highest accuracy.
No repainting. No nonsense. Just clean volume context.
مؤشر Pine Script®






















