whwl

Ultimate Volume

whwl Mis à jour   
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.
Notes de version:
Tidied the code up a bit, fixed a bug affecting the % of all-time 1 bar money volume that somehow got uploaded.
Notes de version:
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.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?