Detrended Price Oscillator (DPO) is a technical indicator that shows the market overbought/oversold states and also can be used for getting buy/sell signals.
It sorts out trends to concentrate on basic price movement cycles. To achieve this, the moving average transforms into the line and price changes below and above it become a trend oscillator.
This indicator is used to highlight short-term cycles, as the analysis of short-term components of the long-term cycles can be useful in determining main reversal points of the latter. DPO does not consider long-term prices cycles making short-term cycles more noticeable.
This DPO version is calculated the following way:
Working with trading signals:
If DPO is above its zero line (i.e., the price is above its moving average), it is a bullish signal. If DPO is below the zero line (i.e., the price is below its moving averages), it is a bearish signal.
Long-term cycles reversal points (divergencies):
There are two buy/sell signals interpretations.
We should buy when:
We should sell when:
The indicator is rarely used for getting trading signals. It should be noted that the indicator can be effective enough only when it is used together with other indicators. Nevertheless, it is a useful tool revealing the cycles for setting the optimal width of other indicators windows.
This indicator allows to select smoothing and averaging algorithms out of ten possible versions:
It should be noted that Phase1 and Phase2 parameters have completely different meaning for different smoothing algorithms. For JMA it is an external Phase variable changing from -100 to +100. For T3 it is a smoothing ratio multiplied by 100 for better visualization, for VIDYA it is a CMO oscillator period and for AMA it is a slow EMA period. In other algorithms these parameters do not affect smoothing. For AMA fast EMA period is a fixed value and is equal to 2 by default. The ratio of raising to the power is also equal to 2 for AMA.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/571
This indicator is designed for measurement of a financial asset price change periodicity. Cycle Period allows to create adaptive versions of oscillators.Stochastic Cyber Cycle
Adaptive Stochastic oscillator.
Adaptive CG Oscillator is a CG Oscillator that can adapt to constantly changing market cycles of a real financial asset.X2MA NRTR
The hybrid of the universal moving average and NRTR indicator. In this indicator the values of the moving average are corrected with the help of NRTR algorithm (Nick Rypock Trailing Reverse).