OPEN-SOURCE SCRIPT

Average Volume Corner Box

94
An indicator that anchors a single info box to the chart’s top right corner. It compares the current volume to a selectable moving average (SMA, EMA, WMA) and displays a status (VOL > AVG or VOL < AVG), the current volume, the average volume, and percent difference. The color switches between red and green backgrounds so you can read volume at a glance without cluttering the chart with those stinky volume rectangles.

Features
• Fixed corner box anchored to the chart top right
• Choose MA type: SMA, EMA, WMA
• Selectable MA length
• Optional percent difference display
• Threshold multiplier to only flag meaningful spikes (e.g., vol > avg * 1.5)
• Configurable colors and font size

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.