OPEN-SOURCE SCRIPT

cooltoyz: Volume Delta RealTime v1.0

By deimosaffair
This is a tool, shows the volume variation % strength related to the X past candles.
The current candle is shown in real time, until candle closes.
The visualization of the candle time to close is a thin line, that is 100% for all past candles and slowly goes up for the current candle.

Best with an example:
with a 4h candle, 1 hour has wasted already. This is 25% of all the candle time. So, if volume is also at 25% of the last candles traded, we can expect(yeah, you wish) that by candle close, around 100% of the last volumes average will be traded.

Or two:
in a 4h candle, we're at 10mins., around 8% of total candle time. If volume traded is already at 57% of average past volumes, something big is going on.

Note 1: in the indicator's "Format" pop-up there is a "candle minutes" field, it MUST match the chart timeframe in minutes (ex: 4h=240min)
Note 2: the back volume function check can be switched between the methods "highest value" or "average", in the Format->inputs
Note 3: when a new candle opens, it will go craaayeeezeee!!, because the extreme small values introduce a lot of rounding errors. just let it go, it calms it self after ~0.5% of candle time has passed.

There are more examples and details in the early version of this indicator, check my published scripts.

realtimescripttoolsVolume Indicatorvolumepriceanalysis

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?

Disclaimer