November 26, 2021

5 2

Detrended Price Oscillator (DPO)

Unlike other oscillators, such as the stochastic or moving average convergence divergence (MACD), the DPO is not a momentum indicator. It instead highlights peaks and troughs in price, which are used to estimate buy and sell points in line with the historical cycle.The detrended price oscillator seeks to help a trader identify an asset’s price cycle. It does this by comparing an SMA to a historical price that is near the middle of the look-back period.


How to Calculate the Detrended Price Oscillator (DPO)

  1. Determine a lookback period, such as 20 periods.
  2. Find the closing price from x/2 +1 periods ago. If using 20 periods, this is the price from 11 periods ago.
  3. Calculate the SMA for the last x periods. In this case, 20.
  4. Subtract the SMA value (step 3) from the closing price x/2 +1 periods ago (step 2) to get the DPO value.
Indicator is implemented for: MT4/MT5/Tradestation/ Multicharts

We have added these conditions:

  • DPO is above/below level
  • DPO crosses above/below level

You can easily do your conditions in Custom blocks. More informations you can find here:



Newest Most Voted
Inline Feedbacks
View all comments
November 26, 2021 3:33 pm

Excellent !!!!!! This will help a lot !!!!! Thank you 👍😊

Chris G
Chris G
November 27, 2021 12:11 am

One of the Long awaited indicators!