OPEN-SOURCE SCRIPT
Fixed-Range Volume-Profile Zones

Fixed Range Volume Profile Zones (with Dynamic Percentile Buffers)
This indicator calculates a fixed‑range volume profile over a user‑defined lookback period and identifies three key zones:
– VAL (Value Area Low)
– POC (Point of Control)
– VAH (Value Area High)
Volume is grouped into user‑selected price bins to create a profile of where the most trading activity occurred.
The script then splits the distribution into three zones and highlights the extremes (VAL/VAH) and the highest‑volume price (POC).
Dynamic Percentile Buffers
Instead of static offsets, this version computes the 10th and 90th percentile prices (user‑adjustable) of recent closes over the same lookback window.
These percentiles are used to create adaptive buffers above VAH and below VAL.
The buffers automatically expand or contract with market volatility and recent price distribution, filtering out weak or noisy touches.
Visual Elements:
– Green/orange/red horizontal lines = VAL / VAH / POC
– Green shading below VAL = buy zone
– Red shading above VAH = sell zone
– Down arrows above bars = closes above VAH + buffer
– Up arrows below bars = closes below VAL – buffer
Inputs:
– Lookback Days: number of bars used to build the profile
– Number of Bins: controls resolution of the volume profile
– VAH Percentile and VAL Percentile: choose which percentile levels to use for dynamic buffers
Use Cases:
– Quickly identify areas of high participation (POC) and potential support/resistance (VAL/VAH)
– Filter out weak breakouts using dynamic buffers
– Combine with other signals to improve entries/exits
⚠️ Disclaimer:
This script is for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any security.
Past performance or historical data does not guarantee future results.
Always perform your own analysis and use risk management when trading.
This indicator calculates a fixed‑range volume profile over a user‑defined lookback period and identifies three key zones:
– VAL (Value Area Low)
– POC (Point of Control)
– VAH (Value Area High)
Volume is grouped into user‑selected price bins to create a profile of where the most trading activity occurred.
The script then splits the distribution into three zones and highlights the extremes (VAL/VAH) and the highest‑volume price (POC).
Dynamic Percentile Buffers
Instead of static offsets, this version computes the 10th and 90th percentile prices (user‑adjustable) of recent closes over the same lookback window.
These percentiles are used to create adaptive buffers above VAH and below VAL.
The buffers automatically expand or contract with market volatility and recent price distribution, filtering out weak or noisy touches.
Visual Elements:
– Green/orange/red horizontal lines = VAL / VAH / POC
– Green shading below VAL = buy zone
– Red shading above VAH = sell zone
– Down arrows above bars = closes above VAH + buffer
– Up arrows below bars = closes below VAL – buffer
Inputs:
– Lookback Days: number of bars used to build the profile
– Number of Bins: controls resolution of the volume profile
– VAH Percentile and VAL Percentile: choose which percentile levels to use for dynamic buffers
Use Cases:
– Quickly identify areas of high participation (POC) and potential support/resistance (VAL/VAH)
– Filter out weak breakouts using dynamic buffers
– Combine with other signals to improve entries/exits
⚠️ Disclaimer:
This script is for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any security.
Past performance or historical data does not guarantee future results.
Always perform your own analysis and use risk management when trading.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。