Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 44487
- Rating:
- Published:
- 2006.07.12 10:47
- Updated:
- 2014.04.21 14:53
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Detrended Price Oscillator is calculated according to the following formula:
DPO(i) = Close(i) - SMA(i, N)
where N is the moving average period.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8387

Two CCI indicators with different periods in the same indicator subwindow.

The oscillator quickly finds out the trend stop and the start of sideways trend in horizontal interv