Detrended Price Oscillator
Introduction to DPO
The Detrended Price Oscillator (DPO) is a technical analysis tool developed by William Blau in 1991 and designed to eliminate long-term trends in asset prices by using a displaced moving average. This method allows the DPO to focus on intermediate overbought and oversold levels without being influenced by the most recent price action. As a result, traders can identify potential market cycles and enhance their trading strategies.

Calculation of DPO
To calculate the DPO, follow these steps:
- Choose a period for the DPO, typically an odd number (e.g., 9, 21, or 53).
- Calculate the Simple Moving Average (SMA) for the chosen period.
- Displace the SMA to the left by half of the period plus one (e.g., for a 9-period DPO, displace the SMA by 5 bars).
- Subtract the displaced SMA from the price.
The resulting value is the DPO.
DPO Periods
The period used in calculating the DPO determines the sensitivity and scope of the oscillator. Shorter periods make the DPO more sensitive to price fluctuations, while longer periods provide a broader perspective on market trends. Traders should select a period based on their trading objectives and risk tolerance.
Example scanners based on Detrended Price Oscillator
The Detrended Price Oscillator can be used in Scanning the market. To see how exactly it can be used in this way, we provide the following samples. Both scanners search the market for stocks using this indicator.
Interpreting DPO Signals
Overbought and Oversold Conditions
The DPO oscillates around a zero line, with positive values indicating overbought conditions and negative values indicating oversold conditions. When the DPO reaches an extreme value, it can signal a potential reversal in price direction. Traders can use these signals to enter or exit trades in anticipation of a market reversal.
Divergences
Divergences occur when the price and the DPO move in opposite directions. A positive divergence happens when the price reaches a new low while the DPO forms a higher low, indicating potential bullish price action. Conversely, a negative divergence occurs when the price reaches a new high, but the DPO forms a lower high, suggesting possible bearish price action. Traders can use divergences as an early warning sign of potential reversals.
Applications of DPO
Identifying Market Cycles
The DPO is particularly useful for identifying market cycles and determining the dominant market rhythm. By analyzing the peaks and troughs of the DPO, traders can gauge the duration and magnitude of cyclical price movements, allowing them to time their trades more effectively.
Enhancing Trading Strategies
Traders can combine the DPO with other technical analysis tools, such as trend lines, support and resistance levels, and other oscillators, to enhance their trading strategies. For example, a trader might use the DPO to identify an oversold condition, then confirm the signal with a bullish candlestick pattern or a break above a trend line. Combining multiple technical indicators can help traders filter out false signals and increase the probability of successful trades.
Limitations of DPO
Lagging Indicator
The DPO, like other oscillators, is a lagging indicator. It is based on historical data, so it may not accurately predict future price movements. While the DPO can help traders identify potential market reversals, it is essential to use it with other technical analysis tools to confirm signals and improve decision-making.
False Signals
The DPO can generate false signals, especially in highly volatile markets or during periods of sideways price action. Traders should be cautious when interpreting DPO signals and consider additional factors like market sentiment, news, and other technical indicators before making trading decisions.
Example strategy based on Detrended Price Oscillator
The Detrended Price Oscillator can be used in Testing Strategies. To see how exactly it can be used in this way, we provide the following sample. The strategy tests buying and selling rules built around this indicator.
The bottom line
The Detrended Price Oscillator is a valuable technical analysis tool for identifying intermediate overbought and oversold conditions by eliminating the influence of long-term price trends. Traders can use the DPO to identify market cycles, enhance their trading strategies, and anticipate potential reversals in price direction. However, it is crucial to recognize the limitations of the DPO, such as its lagging nature and susceptibility to false signals. By combining the DPO with other technical analysis tools and considering a range of market factors, traders can increase the effectiveness of their trading strategies and make more informed decisions in the financial markets.


