detrended price oscillator mt4

detrended price oscillator mt4
Download ALL MT4 indicators (1640)
YouTube Video Thumbnail



Similar MetaTrader Tools

detrended price oscillator mt4

Info

The detrended price oscillator mt4 is a Indicator for MetaTrader 4 that input parameters ma_period(default = 14) — the period of the simple moving average used in the indicator. barstocount(default = 400) — for how many bars to calculate the indicator.

Usage

This tool is typically used for trend following strategies across multiple currency pairs.

Platform

This Indicator works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Indicators folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use detrended price oscillator mt4

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

What this tool does

input parameters ma_period(default = 14) — the period of the simple moving average used in the indicator.

Typical Use Case

This Indicator excels in trend following on MetaTrader 4.

Compatible Platform & Setup

This Indicator works on MetaTrader 4. Place the file in the MQL4/Indicators folder and restart the terminal.

Description & Settings

Related: Institutional Ehlers Fisher Transform: Advanced Price Normalization for MT4 - another powerful indicator for MetaTrader 4 traders.

input parameters

Also recommended: i market price 2.1 - real-time price information indicator - similar indicator with strong performance on MetaTrader 4.


ma_period
(default = 14) — the period of the simple moving average used in the indicator.

barstocount
(default = 400) — for how many bars to calculate the indicator.

enablenativealerts
(default = false) — if true, indicator will use metatrader's native pop-up alerts.

enablepushalerts
(default = false) — if true, indicator will use metatrader's push notification alerts. notifications should be properly configured in metatrader via tools->options->notifications.

triggercandle
(default = previous) — the candle to issue alerts on: previous — the most recently closed candle or current — the yet unfinished candle. strategy
trend changes are signaled by the cross of the indicator and the zero level. however, because the indicator is lagging, predicting such crosses can be a better technique. it is not quite a very accurate indicator for direct trading purposes, but it still can be used for short-term trend confirmation.
another possibility with the detrended price oscillator is to use detect divergences with the price chart. as you can see on the chart below, the major trend reversal could be spotted by comparing the double top demonstrated by the price and the lower high on the dpo chart.

You may also like: exchange price indicator - excellent alternative for indicator users on MetaTrader 4.

Source Code

#property version   "1.01"
#property strict
#property description "Educational code - RobotFX www.robotfx.org"
#property description "Educational code - RobotFX www.robotfx.org"
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 clrBlue
#property indicator_type1 DRAW_LINE
#property indicator_level1 0
#property indicator_levelwidth 1

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.