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 calculated buy and sell volume values are stored in separate variables, which represent cumulative volume values over the respective look-back periods. It's important to note that the code provided calculates the buy and sell volume values individually for each look-back period and after sum them.
It can be useful to understand who is in control of the market based on the look-back period. For example if the price is decreasing but the volume in the past candle are bullish it means that the trend probably will turn.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
リリースノート
UPDATES • Improved the look-back period calculation - now max 100 bars back (previous 30) • Added alert conditions when volume accumulation and and close vs look-back close are bullish or bearish