PVO

The gap between a fast and a slow volume average as a percent, with a signal line.

Percentage Volume Oscillator: pvo = (EMA(volume, fast) − EMA(volume, slow)) ÷ EMA(volume, slow) × 100; signal = EMA(pvo, signal); histogram = pvo − signal. Needs fast < slow; not ready while the slow EMA is 0. Mirror: neutral for all three (volume does not change in a mirror).

Settings

SettingDefaultRangeWhat it does
fast121 to 500Fast EMA length.
slow262 to 500Slow EMA length.
signal91 to 500Signal EMA length.

What it gives

OutputWhat it is
PVO linePVO, % of the slow volume EMA.
Signal lineSignal line.
HistogramHistogram = pvo − signal.

What it reads

It reads volume, quote_volume, volume by default.

Warm-up

With its default settings, PVO needs 140 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.

Test it

Copy this sentence into the Algonney chat to backtest it:

Backtest a strategy on BTC that uses PVO with its default settings