OPEN-SOURCE SCRIPT

Relative Volume

It is difficult to know how much volume is going on DURING the last bar,
therefore this "Relative Volume" (RV) script, previous bars are as usual, but the last one
adjusts the measured volume by comparing how much time passed and multiplying
this with the volume.

Examples:
Here (5 minute bar) there are 31 sec passed of the 5 minutes
The standard volume show little volume (since there is only 31s passed)
The "RV" multiplies this so you'll see how much this volume would be over 5 minutes,
IF everything goes the same for the rest of the 5'.
снимок

1' 5sec passed:
снимок
(so relatively more volume)

3' 4sec passed:
снимок
(With about 2' to go, you see there is a lot going on with the volime,
while seeing the standard volume, nothing much...)

Little 4' passed:
снимок

4,5':
снимок

Almost 5' gone:
снимок

Important:

This "RV" volume can diminish when during the bar the volume fades.

I think this can help evaluating the volume during the last bar

W example:
снимок

M example:
снимок
(You can clearly see that during the first 4 days there is a lot going on!)
Volume

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


LuxAlgo Dev: luxalgo.com
PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Мои профили:

Отказ от ответственности