PROTECTED SOURCE SCRIPT
Simple Horizontal Volume Profile v2

Simple Horizontal Volume Profile v2 — Description
What it does
A lightweight, script-based horizontal volume profile that builds a custom histogram over a rolling lookback window. The profile is split into price bins, accumulates volume either at the close or across the full bar range, and highlights the Value Area (VA) and Point of Control (POC). Designed to be fast, readable, and practical for intraday to swing analysis.
Key features
Two distribution modes
Overlap: distributes each bar’s volume proportionally across its high-to-low range.
Close: assigns the entire bar’s volume to the closing price.
POC + Value Area
Auto-detects POC (max volume bin).
Shades Value Area containing a user-defined percentage of total volume (default 70%).
Compact on-chart rendering
Draws a horizontal histogram using boxes anchored to the right edge of the chart.
Optional POC line across the active profile.
Configurable granularity
Adjustable lookback window, number of bins, and visual width in bars.
Performance-aware
Computes series each bar, renders objects only on the last bar to reduce overhead.
Inputs
Range (bars): number of bars to include in the profile window.
Price rows (bins): histogram resolution; higher = finer detail, potentially noisier.
Histogram width (bars): visual width of the boxes drawn to the right.
Volume distribution: Overlap or Close.
Price source for Close/HLC3: choose how price is read when needed.
Show Value Area: toggle VA shading on/off.
Value Area %: fraction of total volume to include (typical 68–70%).
Show POC: toggle POC line on/off.
Opacity & POC width: styling controls.
How to use (practical playbook)
Context: set the lookback to the structure you’re analyzing (range, leg, composite).
Balance trades: inside VA, fade extremes: VAL → POC → VAH (and back), using your price-action filter.
Breakout/acceptance: a hold and volume build above VAH or below VAL suggests trend continuation. Retests of VAH/VAL can be actionable.
Targets:
POC/HVNs act like magnets and slow price.
LVNs often behave as “air pockets” where price moves faster.
Multi-TF: align a lower-TF trigger with a higher-TF profile for higher conviction.
Tips
Start with 40–80 bins on H1–H4; increase on higher TFs if structure is broad.
If price is chopping in VA, keep expectations and position size modest.
Use Overlap for assets with long bars and wicks; Close when you prefer a tighter read.
Combine with S/R, Fib confluence, and volume/PA signals for entries and exits.
Notes & limitations
This is a script-drawn profile, not a built-in Volume Profile tool. Rendering uses boxes and a line; TradingView object limits apply.
Very short histories may clamp the left edge of the histogram to bar 0 by design.
The profile recomputes on the last bar for drawing efficiency.
Disclaimer
For educational purposes only. This script does not constitute financial advice. Trade at your own risk.
What it does
A lightweight, script-based horizontal volume profile that builds a custom histogram over a rolling lookback window. The profile is split into price bins, accumulates volume either at the close or across the full bar range, and highlights the Value Area (VA) and Point of Control (POC). Designed to be fast, readable, and practical for intraday to swing analysis.
Key features
Two distribution modes
Overlap: distributes each bar’s volume proportionally across its high-to-low range.
Close: assigns the entire bar’s volume to the closing price.
POC + Value Area
Auto-detects POC (max volume bin).
Shades Value Area containing a user-defined percentage of total volume (default 70%).
Compact on-chart rendering
Draws a horizontal histogram using boxes anchored to the right edge of the chart.
Optional POC line across the active profile.
Configurable granularity
Adjustable lookback window, number of bins, and visual width in bars.
Performance-aware
Computes series each bar, renders objects only on the last bar to reduce overhead.
Inputs
Range (bars): number of bars to include in the profile window.
Price rows (bins): histogram resolution; higher = finer detail, potentially noisier.
Histogram width (bars): visual width of the boxes drawn to the right.
Volume distribution: Overlap or Close.
Price source for Close/HLC3: choose how price is read when needed.
Show Value Area: toggle VA shading on/off.
Value Area %: fraction of total volume to include (typical 68–70%).
Show POC: toggle POC line on/off.
Opacity & POC width: styling controls.
How to use (practical playbook)
Context: set the lookback to the structure you’re analyzing (range, leg, composite).
Balance trades: inside VA, fade extremes: VAL → POC → VAH (and back), using your price-action filter.
Breakout/acceptance: a hold and volume build above VAH or below VAL suggests trend continuation. Retests of VAH/VAL can be actionable.
Targets:
POC/HVNs act like magnets and slow price.
LVNs often behave as “air pockets” where price moves faster.
Multi-TF: align a lower-TF trigger with a higher-TF profile for higher conviction.
Tips
Start with 40–80 bins on H1–H4; increase on higher TFs if structure is broad.
If price is chopping in VA, keep expectations and position size modest.
Use Overlap for assets with long bars and wicks; Close when you prefer a tighter read.
Combine with S/R, Fib confluence, and volume/PA signals for entries and exits.
Notes & limitations
This is a script-drawn profile, not a built-in Volume Profile tool. Rendering uses boxes and a line; TradingView object limits apply.
Very short histories may clamp the left edge of the histogram to bar 0 by design.
The profile recomputes on the last bar for drawing efficiency.
Disclaimer
For educational purposes only. This script does not constitute financial advice. Trade at your own risk.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.