fikira

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!)

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?