whwl

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.
Release Notes: Tidied the code up a bit, fixed a bug affecting the % of all-time 1 bar money volume that somehow got uploaded.
Release Notes: 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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?