OPEN-SOURCE SCRIPT

Ultimate Volume

已更新
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.
發布通知
Tidied the code up a bit, fixed a bug affecting the % of all-time 1 bar money volume that somehow got uploaded.
發布通知
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明