OPEN-SOURCE SCRIPT

cooltoyz: Volume Delta RealTime v1.0

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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian