What is the DPO indicator?
The Detrended Price Oscillator, also known by its acronym DPO, is an indicator used in technical analysis which is designed to provide information on the price of an asset taking into account market fluctuations in the short-term but no in broader movements in the medium and the long term. This indicator eliminates the effect of the market movement trend. This simplifies the process of determining cycles and overbought / oversold levels.
In other words, we can say that the DPO does not take into account the price trend and focuses on fluctuations in the trend. The Detrended Price Oscillator is calculated by subtracting from the current closing price the value of the simple moving average of n days or periods. n (the period for the moving average) is calculated by dividing the period chosen between two and adding one.
For example, the calculation of the DPO (20) in a daily chart is the following: