This script is a volume profile that displays the volume of transactions in price blocks over a recent period of time.
For a more detailed representation, OHCLV values on the time frame lower than the time zone on the chart were called and expressed. Low time frames are adjustable.
You can adjust the number of blocks and the most recent time period that you want to view.
Although it cannot be compared to the volume indicators provided for paid users of Trading-View, it has functioned by displaying transactions that are difficult to find on open source. Displays the amount traded in each block and the percentage of the total over a given period. POC represents the middle value of the block with the highest transaction volume as a line. TPOC represents the block that stayed the longest regardless of the volume of transaction. The reversal line appears when you determine the trading advantage of the rising and falling closing on a block basis and then have a different value from the neighboring blocks. (I didn't mean it much, but I just put it in for fun.)
It represents the total volume of transactions traded in each block, and there are also check boxes in the settings window that represent the volume of transactions that closed higher and closed lower. You can specify the color of each block.
The highest and lowest values for the set period and the total sum of each block are displayed at the bottom of the box. Because it was made using a lot of arrays, the total transaction volume was marked separately to check the value.
When expressing the price block according to the trading volume percentage, it was a pity that the minimum pixel was 1 bar, so it could not be expressed delicately. Although set to bar_time in Box properties xloc, 1 bar was actually the minimum unit of the X-axis value.
The logic used to place the transaction volume for each block is as follows. 1. Divide the difference between the high and low values of 1 LTF bar by the transaction volume . 2. Find the percentage of this LTF bar within each block. 3. Multiply the ratio by the transaction volume again. 4. Store the value in each block cell.
Below are the codes of the people I referred to this time. 1. ‘Time & volume point of control (TPOC & VPOC)’ by quantifytools 2. ‘Volume Profile ’ by LuxAlgo 3. ‘Volume Profile and Volume Indicator by DGT’ by dgtrd
The script is for informational and educational purposes only.
밑에 제가 이번에 참고한 분들의 코드들입니다. 1. ‘Time & volume point of control (TPOC & VPOC)’ by quantifytools 2. ‘Volume Profile ’ by LuxAlgo 3. ‘Volume Profile and Volume Indicator by DGT’ by dgtrd
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 publication is governed by House rules. You can favorite it to use it on a chart.
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.