OPEN-SOURCE SCRIPT

Truncate Volume Spikes

2 102
Truncates or caps the height of the volume bar. Many times, there is a day where the volume eclipses the recent volume and makes the rest of the volume compressed and difficult to see.

This script cuts off the volume at a user defined multiple of average daily volume and places a label above and to the left showing the true volume.

My one gripe is that it doesn't yet handle overlapping labels. At some point, I will see if I can fix that.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.