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:
- 4172
- Rating:
- Published:
- 2017.01.19 17:11
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The XXDPO indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, place the compiled XXDPO.mq5 indicator file in terminal_data_folder\MQL5\Indicators.
Fig.1. XXDPO_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/16917

Only for hedge accounts. Opening two opposite positions on a new bar.

The semi-automated Expert Advisor using a trend line (TrendLIne).