Pinescript 5 version of buy/sell volume indicator with average. This script is original in that there are no versions of this study written in Pinescript 5 that I know of and while I've seen other buy/sell volume scripts this one includes a moving average.
リリースノート
Small change with text string. It's an SMA not an EMA.
リリースノート
Users now have the option of plotting the average volume behind the candles or in front of the candles.