Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Indicators | Detrended Price Oscillator (DPO) | MetaTrader Tool

Discover expert developed MetaTrader tools that can complement professional solutions.

Detrended Price Oscillator removes the trend effect of price movement. This simplifies the process of finding out cycles and overbought/oversold levels.

Long-term cycles consist of several shorter cycles. Analyzing such short components helps to define crucial moments of the cycle's development. DPO gives a chance to eliminate the influence on prices of long-term cycles. To calculate DPO you should take a certain period. Remove cycles that are longer than the chosen period from price dynamics, and leave shorter cycles. Half of the cycle's length is used for smoothing. We recommend using a period of 21 or less.

The bounds (overbought/oversold levels) come from the history of previous behavior of prices. It is recommended to stand in a long position if DPO first falls below the resale level and then gets above it. Crossing of the zero point from above followed by a rise above that level is also a signal for opening a long position. Everything is vice versa for short positions.

Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.

Detrended Price Oscillator

Detrended Price Oscillator

Calculation:

DPO = CLOSE - SMA (CLOSE, (N / 2 + 1))

where:

  • SMA - simple moving average;
  • CLOSE - the closing price;
  • N - the period of the cycle (if N is equal 12, then DPO corresponds to the DiNapoli Detrend Oscillator).

Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.

27

Best MetaTrader Indicators + Profitable Expert Advisors