The Percentage Volume Oscillator (PVO) is a momentum oscillator for volume. PVO measures the difference between two volume-based moving averages as a percentage of the larger moving average. As with MACD and the Percentage Price Oscillator (PPO), it is shown with a signal line, a histogram and a centerline. PVO is positive when the shorter volume EMA is above the longer volume EMA and negative when the shorter volume EMA is below. This indicator can be used to define the ups and downs for volume, which can then be use to confirm or refute other signals. Typically, a breakout or support break is validated when PVO is rising or positive.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.