Detrended Price Oscillator

What is Detrended Price Oscillator, DPO?

Detrended Price Oscillator (DPO) is a dawdling, oscillating period tracker. It is developed to detect cyclical changes in fairness by excluding the overriding pattern from the market activity. DPO identifies the cycles in the underlying price action as prices shift beyond and beneath the displaced SMA. This is achieved by by assessing a previous price to a shifted Simple Moving Average (SMA). The effect is an oscillator that travels above and below a zero axis. This makes it easy to recognize the duration of the cycle, as well as the requirements for overbought or oversold
Compared with its peers, stochastic oscillator, and MACD, the detrended price oscillator (DPO) is not common. DPO, however, proposes assistance which the other two are not offering. It is the oscillator that excels in the identification of patterns over the long term. The price-sensitivity is anywhere between the stochastic measure and the MACD.

The Simple Moving Average, SMA

The SMA is a Moving Average of no weight. The data collection is of equivalent value per day and is weighted in equal proportion. The oldest data point is removed when Every new day begins, and the newest is added to the list.

Calculation of Detrended Price Oscillator, DPO

The DPO is ascertained by deducting the simple moving average over a span of “n” day and shifting n/2+1 days from the size. To measure the detrended oscillator price: Choose the time frame you would like to evaluate. Set “n” to half the cycle time. Calculate quick n-period moving average. 

Compute (n/2+1) Subtract the moving average from the trading price (n/2+1) days ago:

DPO = Near – Easy moving average [from (n/2+1) days ago]

What Timeframe to use the Directional Movement Index?

The rules that apply when using the DI are clear. Whenever the +DI crosses over the -DI you create a long location. You reverse that position, liquidate the long position and set a short position when the -DI crosses over the +DI position. You also have to follow the extreme point rule, in addition to the crossover rules. Using the drastic price as the reverse point, when a convergence happens. Using the High made during the crossover trading period for a short spot.
Conversely, reverse a long position with the low made during the crossover’s trading interval. For the business entrance or exit level, you retain the reverse point. The high or low, even though the +DI and the -DI stay crossed for multiple exchange periods. It will keep you from being whipsawed into the market.

Detrended Price Oscillator (DPO) Signals

Signal for Buying

  1. Once Detrended Price Oscillator crosses over the zero lines above.

2. Once the detrended price oscillator is in a proven oversold region, as evidenced by the oscillator’s previous lows, and the detrended price oscillator and price equally break the downhill pattern of resistance.

Signal for Selling

  1. As detrended price oscillator intersects below zero.
  2. If Detrended Price Oscillator is in a reported overbought region, as evidenced by the oscillator’s previous peaks, and the Detrended Price Oscillator and price both breach the trendline of upward support.

Interpretation of Detrended Price Oscillator, DPO

The DOP attempts to assist a trader to define the market cycle of a commodity by equating an SMA to a historic price near the middle of the look-back period. With the indicator’s past peaks and troughs, which coincided with price peaks and troughs, traders usually sketch vertical lines at these periods and then calculate how long time has passed between them.
When the bottoms are divided by two months, this helps to determine when the next buying opportunity can come. It is achieved by separating the current low in the indicator/price and then estimating from there the next two months down. When peaks are usually 1.5 months apart, a trader could consider the current high, and then predict the next peak 1.5 months later.
The estimated peak/time period will be seen as a catalyst before the price retreats to theoretically sell a spot. The interval from a trough to a peak is then used to measure the duration of a lengthy exchange. Also, the interval from a peak to a trough can be used to calculate the length of a short trade. If the price is above the SMA from x/2+1 cycles ago the indicator is good. If the price is below the SMA from x/2 + 1 periods ago then the predictor is negative.
The Detrended oscillator price isn’t going all the way to the current point. That is because the DPO is calculating the price x/2 +1 intervals compared to the SMA, and the measure can only go up to the x/2 + 1 cycles before. That’s cool though, as the metric is intended to illustrate the peaks and troughs of history. The tracker extends and is also displaced into the past, and hence is not a reliable pattern path gage in real-time. The measure is not used to determine patterns, by nature.
Therefore, it is up to the trader to decide which trades to take. The cycle bases offers good buying opportunities during an uptrend, while the peaks offers good selling opportunities.

Trading Strategy of Detrended Price Oscillator, DPO

DPO quantifies the dissimilarity between the moving average and the past price. The horizontal line refers to the statistical average for displacement. So, when the price is above and below the norm, the DPO is good. The indicator is particularly useful when trading in shorter timescales. To this end, DPO can be an outstanding tool. DPO can also be used for calculating the average duration of the cycle. 
For example, you may like to learn how long time it takes for the price to rise and then decrease when buying CFDs on a given stock. Financial markets are susceptible to duplication. Therefore, rising cycles will intermingle with periods of depression. With DPO you will be primed for a market turnaround to come. To estimate average cycle length, calculate the distance between the nearest highs and lows. Try doing it later as the loop is about to stop. The indicator is best used as a supporting tool and alongside an indicator following the trend (MA, Alligator), MACD, or ATR.
Notice that it can give misleading indications from time to time just like any other indicator.

Relationship Between Detrended Price Oscillator and Volume

They can help you identify price trends that correlate with the DPO signal. This is possible since volume indicators show the degree of market activity. The technique is to position high or decreased volumes of DPO-based trades. It also helps to stop market oscillator signals during small trade volumes.

Detrended Price Oscillator Trading in Trending Markets

Identify a movement against the dominant market, and exchange. Buy from above when the DPO reaches zero or fell below zero for a moment, and then go above zero. If the DPO reaches zero amounts at the edge or even passes zero for some time then sell it and then go back to normal.

Detrended Price Oscillator Trading in Ranging Markets

Identify individual levels of over boot and over-sold for each currency pair based on previous price behavior. After coming down from an over-sold location, buy the DPO and then exit and close it from the oversold zone. The Oscillator enters an overbought zone after Detrended Price, and then exits it and closes under the overbought zone.


The DPO does not have trading indications of its own, it is an important resource for aiding in timing for trade. This does so by pointing at where the demand in the past peaked and bottomed. Although this information can provide a benchmark or comparison point for future standards. But there is no assurance that the duration of the historical period will continue in the future.
For the future, periods could be getting longer or shorter. The predictor is not factoring in the pattern, either. Defining which way to exchange is up to the dealer. When the price of a commodity is in free fall, it will not be worth investing except at the bottoms of the process because the price will still fall short.

The Price Oscillator uses two moveable averages, one shorter and one longer then calculates the difference between the two moving averages.

The two metrics seek to catch market fluctuations in waves, but they do so in somewhat different ways. The DPO is used for estimating the amount of time required for an asset to shift from crest to crest or bottom to bottom (or crest to bottom, or vice versa). Commodity channel index (CCI) is bound between +100 and -100. A deviation from those ranges suggests that something interesting is occurring. The CCI is also more focused on when a big cycle will begin or finish, and therefore on the time between cycles.