Skip to content

DPO (Detrended Price Oscillator)

Price with the longer trend taken out, so short up-and-down cycles are easier to see. Above zero, price is above its shifted average.

Settings

Setting Default What it does
Length 20 The cycle length it looks for. Longer looks for longer swings.

Ready-made conditions

For Condition Fires when
Buy DPO crosses above zero the one candle DPO moves from below 0 to above it
Buy DPO above zero every candle DPO is above 0
Sell DPO crosses below zero the one candle DPO moves from above 0 to below it
Sell DPO below zero every candle DPO is below 0

Warnings

  • Blocks Save: Length 1–1000 (whole number).

Good to know

  • Values are in price units; use the zero line.
  • Needs one and a half times the length + 1 candles (31 at length 20).