Volume Profile / Fixed Range
Jul 16, 2021

The Volume Profile / Fixed Range indicator calculates and visualizes volume distribution over a specified lookback period to identify high-activity price levels and the Point of Control (POC).
Usage
The Usage section describes how the script can be used to identify key liquidity zones and market sentiment within a fixed historical range. Traders can use this tool to determine where the majority of trading activity has occurred, helping to identify potential support and resistance levels.
- Point of Control (POC): The indicator highlights the price level with the highest traded volume. This often acts as a magnet for price or a significant pivot point.
- Value Area (VA): The script identifies the price range where a specified percentage of the total volume took place (default is 70%). Trading within this area suggests market balance, while breakouts from this area may indicate new trends.
- Buy/Sell Volume Split: Each row in the profile displays an approximate breakdown of "Up" (buying) and "Down" (selling) volume, providing insight into the aggressive side of the market at specific price levels.
Details
The script utilizes the box.new() feature to render the volume profile bars dynamically on the chart. Since traditional volume data does not always specify buy or sell intent, this script approximates these values by analyzing candle structure (body vs. wicks).
The calculation process involves:
- Determining the highest and lowest price within the user-defined "Number of Bars."
- Dividing this vertical range into a set number of rows (Row Size).
- Allocating the volume of each candle within the range to the corresponding price rows.
- Calculating the Point of Control by finding the row with the maximum total volume and expanding outward to determine the Value Area.
Settings
General Settings
- Number of Bars: Specifies the historical lookback period (up to 500 bars) for the volume calculation.
- Row Size: Determines the vertical granularity by setting the number of price rows in the profile.
- Value Area Volume %: The percentage of total volume used to calculate the Value Area (typically set to 70%).
Visuals & POC
- POC Color: Sets the color of the Point of Control line and label.
- Width: Adjusts the thickness of the POC line.
- Show POC Label: Toggles the visibility of the price label for the POC.
- Value Area Up: Color for the buying volume portion within the Value Area.
- Value Area Down: Color for the selling volume portion within the Value Area.
- UP Volume: Color for buying volume outside the Value Area.
- Down Volume: Color for selling volume outside the Value Area.
FAQ
How do I interpret the Point of Control (POC)? The POC is the price level where the most volume was traded. It often serves as a significant level of support or resistance, as it represents the "fairest" price according to market participants during that period.
Why does the volume profile change when I scroll or change timeframes? The profile is calculated based on a fixed "Number of Bars" relative to the most recent candle. If you change timeframes, the historical period covered by those bars changes, leading to a new volume distribution.
How can I access the Volume Profile / Fixed Range tool? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

