Indicator - DPO - Detrended Price Oscillator
Calculation DPO - Detrended Price Oscillator
First, calculate the (n period) moving average. Then it is necessary to move back the data of this average of (n/2+1) days ago.
indicator DPO is finally : (close - Data of the moving average (n/2+1) days ago).
This Indicator reduces the price trend and cycles become more visible.
While visualizing the tops and the bottoms, the DPO emphasizes the cycles.