OPEN-SOURCE SCRIPT
Actualizado

Dynamic Volume Histogram [DVH]

934
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.
Notas de prensa
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.
Notas de prensa
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.
Notas de prensa
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.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.