OPEN-SOURCE SCRIPT
Adaptive Volume Profile v1.5

A customizable volume profile that shows where trading volume was concentrated across the latest chart periods. Gray horizontal bars extend left from a shared right edge, with volume totals displayed at each bar’s left tip.
### Automatic lookback
The default lookback follows your chart timeframe:
- **Daily:** last 150 trading days.
- **Weekly:** last 150 weeks.
- **Other time-based intervals:** last 150 chart bars.
The current developing bar is included. Changing the timeframe rebuilds the profile; scrolling or zooming does not change the lookback.
Features
- 30 adjustable price rows.
- Extended-session intraday data requested where available.
- Volume labels in millions, such as **50M**.
- Thin outlines and adjustable bar transparency.
- Automatic label contrast for light and dark backgrounds.
- Adjustable profile width and right-side position.
- Optional minimum-volume filter that hides smaller rows while preserving gaps at their price levels.
- Data-coverage status to help identify missing history.
Calculation
The profile uses hourly candles by default. Each candle’s volume is distributed proportionally across the price rows overlapping its high–low range. Smaller sampling intervals are available for finer detail, subject to historical data availability.
This produces an **estimated volume-at-price distribution**, not exact trade-by-trade volume at each price. Results can differ from TradingView’s built-in profiles and daily volume totals.
Setup
Leave space to the right of the latest candle for the profile. Appearance controls are grouped under **Inputs → Style**. Reduce the profile width or increase transparency if bars overlap your candles.
Standard time-based charts and Heikin Ashi are supported. On Heikin Ashi charts, calculations use underlying market prices rather than synthetic candle prices. For intraday charts, enable extended hours on the chart to include those periods in the lookback.
Data notes
Extended-hours coverage depends on the symbol, data feed, and account access. Coverage counts periods containing usable data; it cannot guarantee every intraday interval is available. Developing periods update as data becomes available.
Volume uses the symbol’s reported units—for example, shares for stocks—not dollar value.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.