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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。