Klinger Oscillator
A fast minus a slow average of volume signed by price direction, with a signal line.
Klinger Volume Oscillator: signed volume sv = +volume when hlc3 rose, −volume when it fell, 0 when unchanged; kvo = EMA(sv, fast) − EMA(sv, slow); signal = EMA(kvo, signal). Needs fast < slow. Mirror: signed (a mirrored price swaps rising and falling candles; volume is unchanged).
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| fast | 34 | 1 to 500 | Fast EMA length. |
| slow | 55 | 2 to 500 | Slow EMA length. |
| signal | 13 | 1 to 500 | Signal EMA length. |
What it gives
| Output | What it is |
|---|---|
| KVO | Oscillator, volume units. |
| Signal line | Signal line. |
What it reads
It reads the whole candle (open, high, low, close and volume).
Warm-up
With its default settings, Klinger Oscillator needs 273 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 Klinger Oscillator with its default settings