DPO

An oscillator that strips out price trends in an effort to estimate the length of price cycles from peak to peak, or trough to trough. Unlike other oscillators, such as the Stochastic or MACD, detrended price is not a momentum indicator. It highlights peaks and troughs in price, which are used to estimate entry and exit points in line with the historical cycle.

Calculation: Price (X/2 + 1) periods ago minus X-period simple moving average

Where X is the number of periods; 20 or 30 periods is common.