whwl

Ultimate Volume

whwl 已更新   
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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?