This is a simple indicator you can use to separate volume from price on your chart. You can also select different time frames (MTF).

Thanks to LazyBear for cleaning up my previous messy code.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?
study(title="Volume MTF", shorttitle="Volume MTF", precision=0)
resCustom = input(title="Timeframe", type=resolution, defval="1" )
lengthMA=input(20, title="Volume MA Length")
showMA = input(true)
v=security(tickerid, resCustom, volume)
plot(v, color = open > close ? red : green, style=columns, title="Volume", transp=65)
plot(showMA ? sma(v,lengthMA) : na, style=area, color=blue, title="Volume MA", transp=65)