Hello, looking for help with making a volume “Oscillator”. When you look at a typical bar chart for volume, it shows volume either green or red. I am trying to make a volume graph that has volume either positive or negative based on the change in price. I am trying to use an SMA of the volume as the indicator to grab the most recent volume amount, then update itself with its own value but either positive or negative if the ROCP of the stock price is positive or negative. 

Been playing around with this and updating the indicator with no luck. Looking to see if I am in the right direction and if anyone can give me some help to complete this. The ultimate goal is to be able to take a moving average of this volume “oscillator” so that if the stock is moving down most of the day that would also be reflected in this moving average of the volume, which would be negative. 

Thank you, Tate