OPEN-SOURCE SCRIPT

Buy vs Sell Volume

27
//version=5
indicator("Buy vs Sell Volume", overlay=false)

buyVol = close > open ? volume : 0
sellVol = close < open ? volume : 0

plot(buyVol, "Buy Volume", color=color.green)
plot(sellVol, "Sell Volume", color=color.red)

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.