Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Detrended_Price_Oscillator - indicator for MetaTrader 5

Views:
4421
Rating:
(14)
Published:
2016.06.30 12:37
Updated:
2023.03.29 13:47
\MQL5\Include\
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

Ramdass

The indicator looks similar to MA since it filters the price direction (trend) in the same way.

Detrended Price Oscillator is calculated according to the formula:

DPO(i) = Close(i) - SMA(i, N)

where N — MA period.

The indicator uses the classes of SmoothAlgorithms.mqh library (copy it to <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".

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 01.09.2008.

Fig.1. Detrended_Price_Oscillator

Fig.1. Detrended_Price_Oscillator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15288

Taf Taf

The channel applying the algorithm similar to the simplest zigzag.

Elliott_Wave_Oscillator_HTF_Signal Elliott_Wave_Oscillator_HTF_Signal

Elliott_Wave_Oscillator_HTF_Signal shows a trend direction or a signal for performing a deal generated by Elliott_Wave_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment.

XDPO_Histogram XDPO_Histogram

The simplest oscillator based on the difference between the price and its Moving Average. The oscillator is smoothed and displayed as a color histogram.

Exp_XDPO_Histogram Exp_XDPO_Histogram

Trading system based on XDPO_Histogram indicator signals.