OPEN-SOURCE SCRIPT
FVG Volume Profile [ChartPrime]

⯁ OVERVIEW
FVG Volume Profile [ChartPrime] is a smart volume analysis tool that identifies Fair Value Gaps (FVGs) and overlays a volume profile inside each gap using data from lower timeframes. The indicator automatically selects the best time resolution or allows for manual control, giving traders deeper insight into the volume structure within each imbalance. POC levels and total volumes gives a full microstructure view inside every FVG.
⯁ KEY FEATURES
⯁ USAGE
⯁ CONCLUSION
FVG Volume Profile [ChartPrime] transforms raw imbalance detection into actionable insight by embedding lower-timeframe volume structure inside each Fair Value Gap. With PoC highlights, total volume labels, and customizable bin resolution, this indicator is essential for traders who want to understand not just where the gap is — but what volume did inside it.
FVG Volume Profile [ChartPrime] is a smart volume analysis tool that identifies Fair Value Gaps (FVGs) and overlays a volume profile inside each gap using data from lower timeframes. The indicator automatically selects the best time resolution or allows for manual control, giving traders deeper insight into the volume structure within each imbalance. POC levels and total volumes gives a full microstructure view inside every FVG.
⯁ KEY FEATURES
- Fair Value Gap Detection (Bullish & Bearish)
Detects price gaps where inefficiency exists using a 3-bar structure.
-Bullish Gaps: Low > High[2] with confirming middle bar.
-Bearish Gaps: High < Low[2] with confirming middle bar.
Only significant gaps (filtered by standard deviation) are plotted to avoid noise. - Multi-Timeframe Volume Profiling
Pulls granular candle and volume data from a lower timeframe —
In Auto Mode, uses a resolution ~10x lower than the current chart.
In Manual Mode, lets the user select a custom timeframe.
This ensures accurate intra-gap volume distribution. - Dynamic Volume Binning
Each FVG is divided into vertical volume bins based on the Resolution input.
Each bin displays relative volume intensity as a horizontal box, scaled by percentage of the max bin volume. - Point of Control (PoC) Line & Label
The bin with the maximum volume inside each FVG is marked with:
A horizontal line (PoC) extending from the left to right side.
A label showing the absolute volume of that bin.
Color-coded to match bullish or bearish FVGs. - Total Volume Label Inside FVG
Each FVG displays the total volume sum from its profile:
For bullish FVGs, shown in the bottom-right corner.
For bearish FVGs, shown in the top-right corner. - Auto-Removal of Invalid Gaps
If price fully closes the gap (crosses its bounds), the FVG, profile, and PoC are deleted automatically.
This keeps the chart clean and focused only on active zones. - Toggleable Volume Profile Display
User can show or hide the volume profiles within FVGs using the "Display" toggle under the "FVG Volume Profile" group.
Only the PoC and FVG boxes remain visible if toggled off. - Volume Resolution Customization
Control the number of bins used for each FVG profile.
Higher resolution = more bins and finer volume analysis. (default 15) - Auto Timeframe Validation Warning
If the selected lower timeframe isn’t actually lower than the chart's, the script shows a visible warning label prompting adjustment.
Helps prevent calculation errors.
⯁ USAGE
- Use this tool to identify active imbalance zones (FVGs) with embedded volume context.
- Look for PoC positioning inside gaps — near top may indicate absorption or reversal zones.
- Combine with price action at the PoC level for precision entries.
- Hide volume profile for a cleaner view while retaining key POC and FVG boxes.
- Use resolution controls to zoom into fine-grained profiles inside large gaps.
- Consider Auto mode for seamless multi-timeframe analysis, or switch to Manual for full control.
⯁ CONCLUSION
FVG Volume Profile [ChartPrime] transforms raw imbalance detection into actionable insight by embedding lower-timeframe volume structure inside each Fair Value Gap. With PoC highlights, total volume labels, and customizable bin resolution, this indicator is essential for traders who want to understand not just where the gap is — but what volume did inside it.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。