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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.