This script allows to calculate the cumulative volume during the intraday session. Let's just define the start and the end time of the day you want the cumulated volume to be calculated within and you'll be good to go! You can also define two thresholds (min and max) where to plot it on a different color. For my strategy, I find it very useful for calculating the pre-market volume since I need to see enough (but not too much) interest on a stock for trusting it after the bell rings. I place it in the same panel where I display the actual volume, so that no extra space on my layout needs to be allocated to this one indicator. I hope you'll be finding it useful too!