peacefulLizard50262

Relative Volume (RV)

Relative Volume take the volume at a given time of day and compares it to the average volume at that time of day. You can either use the current volume or the cumulative volume in this analysis. You have the option to either see the average and the current volume or a comparative view where you see the percent difference between now and the average.

My implementation of relative volume uses a key-value pair to simplify the process of getting the average volume for the time of day. This reduces the lines of code needed and makes it easier to understand. I have added the normal features you would find in a relative volume indicator with the addition of an average above/below average section for comparing the significance of above/below average moves are. I hope this script is not only useful but educational.

Enjoy
Versionsinformation:
Added seconds chart compatibility. Fixed a hidden bug where it wasnt adding the right times.
Versionsinformation:
lol forgot to allow cumulative on seconds.

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?