OPEN-SOURCE SCRIPT

Volume accumulation on past range [TCS] | VTA

The indicator calculates buy and sell volume values for different look-back periods based on the high, low, close, and tick volume data of the chart.
The range can be selected by adding the end date and the look-back period, which starts from the end date. It can calculate a maximum of 100 candlesticks.

The calculated buy and sell volume values are stored in separate variables, representing cumulative volume values over their respective look-back periods. It's important to note that the provided code calculates the buy and sell volume values individually for each look-back period and then sums them.

This information can be useful in understanding who is in control of the market during the selected range. The 'heatmap' is particularly helpful in identifying areas of high or low trading activity, which can help define support and resistance levels.

For example, if there is a greater accumulation of bullish volume than bearish volume and a break occurs in a resistance area, it may present a good entry opportunity.
snapshot

Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.


volumeanalysisVolumevolumetick

Open-source script

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.

Want to use this script on a chart?


For the access to premium indicators please contact me on tradingview

Disclaimer