OPEN-SOURCE SCRIPT

Ultimate Volume

Cập nhật
This script can display a lot of different volume statistics. It also colours bars depending on a chosen, customisable criterion. Most options are disabled by default and can be reenabled in the settings menu.

FAQ

Why are the bars slightly higher than the default volume bars?

Due to the limitations of Pinescript.

What are the two last values (including the one in white?)

They're there due to the limitations of Pinescript. It used to be possible to prevent certain values from being plotted, but still display them as indicator values, but the functionality of that option was changed and is now WIP so until it's restored, these values are necessary to scale the bars properly.

Why are the percentages formatted as volume?

Due to the limitations of Pinescript.

Why are there so many options?

I don't know. They sort of happened. But you don't have to switch them on.

What is money volume?

It's an average of the bar price multiplied by the bar volume .

Why does the daily average volume display different values than the standard sma volume?

Because mine doesn't take into account the current day. So it doesn't fluctuate intraday. Which, I think, makes more sense.

What is total volume?

It's a sum of the total volume for that day and is reset on the next. This option only works with intraday timeframes.

What is average 1 bar intraday volume?

It's the average volume for 1 intraday bar, based on the current day's values only. Obviously, it only works intraday and changes dynamically. It's not an SMA , it's a simple average of all bars for a given day.

What is all-time 1 bar intraday volume?

It's the average volume for 1 intraday bar, but based on the whole chart's history. It's impossible to select a length for this, again, because of certain limitations.

What is short volume?

It is approximately 1/3rd of the actual short volume , due to the limitations of FINRA. It's multiplied by 3 in the script and it may be not entirely accurate. The short volume % is calculated differently, using the 1/3rd of short and total volume from FINRA.

What are the default threshold values?

They are 150%, 200%, 1000% of the average for the average bar volume and all-time average bar volume options, 10%, 50%, 100% for the average daily volume option and 100K, 500K and 1M for the volume option.
Phát hành các Ghi chú
Tidied the code up a bit, fixed a bug affecting the % of all-time 1 bar money volume that somehow got uploaded.
Phát hành các Ghi chú
Added the option to scale the bars. Added different defaults threshold values for colouring based on the % of the average volume for non-intraday timeframes - 150%, 200%, 1000%. Changed the ticker symbol for the screenshot.
coloredcoloredbarscolourbarscolouredVolume

Mã nguồn mở

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

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

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