This script calculates and shows Volume Profile for the fixed range. Recently we have box.new() feature in Pine Language and it's used in this script as an example. Thanks to Pine Team and Tradingview!..
Sell/Buy volumes are calculated approximately!.
"Number of Bars" : Number of the bars that will be calculated/shown
"Row Size" : Number of the Rows
"Value Area %" : the percent for Value Area
and there are other options for coloring and POC line style
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.