OPEN-SOURCE SCRIPT
Telah dikemas kini Dynamic Volume Histogram [DVH]

Dynamic Volume Histogram [DVH] 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.
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.
Nota Keluaran
Dynamic Volume Histogram [DVH] 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.
Nota Keluaran
Dynamic Volume Histogram [DVH] is a clean and intuitive volume visualization tooldesigned 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.
Nota Keluaran
What's new:Time Window inputs — set Start and End time using 24h hour + minute fields (e.g. 15:00 to 15:30 for 3:00–3:30 PM)
Bullish candle count and Bearish candle count for selected time window is added to the status line
Buy Call, Buy Put, Ignore signals are added to the status line as well
Everything is configurable,Since TradingView's status line can only show numbers, the signal appears as 0, 1, or 2 with the title 0=IGNORE | 1=BUY PUT | 2=BUY CALL so you always know what each value means at a glance. The number color also changes — red for BUY PUT, green for BUY CALL, gray for IGNORE.
You can adjust the Signal Volume Min/Max and Signal Candle Count Threshold in Settings without touching the code.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.