Detrended price oscillator
   HOME

TheInfoList



OR:

The detrended price oscillator (DPO) is an indicator in
technical analysis In finance, technical analysis is an analysis methodology for analysing and forecasting the direction of prices through the study of past market data, primarily price and volume. Behavioral economics and quantitative analysis use many of the sam ...
that attempts to eliminate the long-term trends in prices by using a displaced moving average so it does not react to the most current price action. This allows the indicator to show intermediate overbought and oversold levels effectively. The detrended price oscillator is a form of price oscillator, like the "percentage price oscillator" (PPO) and the "absolute price oscillator" (APO) both of which are forms of Gerald Appel's moving average convergence/divergence indicator (MACD). The APO is an equivalent to the MACD indicator while the PPO is an improved alternative to the APO or the MACD for use when a stock's price change has been large, or when comparing the oscillator behavior for different stocks which have significantly different prices. Although these are not so commonly used with the DPO, for the other price oscillators, as for the MACD, a signal line is frequently generated for the price oscillators by taking an
exponential moving average In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
(EMA) of the price oscillator values and plotting the two lines together. A histogram can also be generated for the price oscillators, if desired, just as is done for the MACD indicator. The DPO was developed by William Blau in 1991.


Formula and calculation

The DPO is calculated by subtracting the
simple moving average In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
over an ''n'' day period and shifted ''(n / 2 + 1)'' days back from the price. To calculate the detrended price oscillator: # Decide on the time frame that you wish to analyze. Set ''n'' as half of that cycle period. # # Calculate a simple moving average for ''n'' periods. # # Calculate ''(n / 2 + 1)''. # # Subtract the moving average, from ''(n / 2 + 1)'' periods ago, from the closing price: # \textit = \textit_ \text ( + 1) \text


Interpretation

As its formula suggests, the detrended price oscillator compares the current price with the average price that was some time ago. When the DPO crosses the zero level, it means that the current price is the same as it was some time ago. Depending on whether the cross is from below or from above, the change of trend can be assessed. A divergence between the price and the DPO can thus be interpreted as the current trend being weaker than the trend of the SMA.


Usage

The detrended price oscillator can be used to assess cycles in the asset's price, their typical high and low values, as well as their duration. The DPO can be used on all
spot Spot or SPOT may refer to: Places * Spot, North Carolina, a community in the United States * The Spot, New South Wales, a locality in Sydney, Australia * South Pole Traverse, sometimes called the South Pole Overland Traverse People * Spot (prod ...
and
futures Futures may mean: Finance *Futures contract, a tradable financial derivatives contract *Futures exchange, a financial market where futures contracts are traded * ''Futures'' (magazine), an American finance magazine Music * ''Futures'' (album), a ...
markets, but is not applicable to option price analysis.


References


External links


The Detrended Price Oscillator — Creating & Back-testing in Python
{{DEFAULTSORT:Detrended Price Oscillator Technical indicators