Need to create a Semi-Auto EA to place trades in DCA

MQL5 Эксперты

Работа завершена

Время выполнения 2 дня
Отзыв от заказчика
Efficient and able to understand my needs. Completed in a day. Thumbs UP!!!

Техническое задание

I need a semi-automated Expert Advisor (EA) for MetaTrader 5 (MT5).
The EA will not open trades by itself.

Instead, I will manually place Buy/Sell market or limit orders, and the EA should automatically start placing pending limit orders by applying DCA (Dollar Cost Averaging) at every 5pips.

The manual order is the anchor trade with a fixed Take Profit (30pips) / Stop Loss (to be insert at the trading panel, or can be fixed at 100pips).

Also the ability of moving the stoploss all orders to breakeven with a button.

🔹 Key Requirements

  1. Platform: MetaTrader 5 (MT5).

  2. Trade Entry:

    • I will manually enter 1 trade (Buy/Sell, either Limit or market order).

    • EA should detect the trade and start placing pending limit orders every 5 pips for DCA purpose.

  3. DCA Logic:

    • EA must place additional orders every X pips (configurable, default: 5 pips).

    • Each additional order should have its lot size increased by a multiplier (configurable, default: 1.1).

    • Maximum number of trades in a basket must be configurable. (configurable, default: 10)

  4. TP & SL:

    • Each order should have a fixed Take Profit and Stop Loss in pips (configurable, default TP 30pips, SL 100pips).

    • TP/SL values must be automatically applied to all positions in the basket.

  5. Other Settings:

    • Ability to configure:

      • Step size (pips between DCA orders).

      • Lot multiplier.

      • Fixed TP (in pips).

      • Fixed SL (in pips).

      • Initial lot size.

      • Max number of trades in a basket.

    • Option to manage only manual trades (Magic=0).

    • EA must only manage trades on the attached symbol.

🔹 Example Workflow

  1. I place a manual Buy limit order at 2000.00. 

  2. EA sets TP and SL automatically (e.g., TP=30 pips, SL=100 pips).

  3. If price moves against me by 5 pips (configurable), EA opens a new Buy order with lot size = previous lot × multiplier.

    • Example: First lot = 0.10, next lot = 0.11 (if multiplier = 1.1).

  4. This process continues until max trades limit is reached. (10 trades Max)

  5. Each order has the fixed 30 pips TP applied. SL is as per anchor trade.

🔹 Deliverables

  • MT5 EA (.mq5 + .ex5).

  • Source code with clear comments.

  • External input parameters (Step size, Lot Multiplier, TP, SL, Max trades, Initial lot, Magic number).

  • Ability to backtest in MT5 strategy tester.



Откликнулись

1
Разработчик 1
Оценка
(195)
Проекты
242
34%
Арбитраж
11
45% / 45%
Просрочено
8
3%
Свободен
Опубликовал: 1 статью, 8 примеров
2
Разработчик 2
Оценка
(16)
Проекты
20
15%
Арбитраж
5
40% / 40%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(62)
Проекты
90
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
4
Разработчик 4
Оценка
(169)
Проекты
180
46%
Арбитраж
3
33% / 33%
Просрочено
1
1%
Работает
5
Разработчик 5
Оценка
(19)
Проекты
23
48%
Арбитраж
10
0% / 100%
Просрочено
2
9%
Свободен
6
Разработчик 6
Оценка
(31)
Проекты
38
53%
Арбитраж
2
50% / 50%
Просрочено
3
8%
Свободен
7
Разработчик 7
Оценка
(162)
Проекты
289
35%
Арбитраж
18
22% / 61%
Просрочено
43
15%
Свободен
8
Разработчик 8
Оценка
(2)
Проекты
0
0%
Арбитраж
5
0% / 60%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(5)
Проекты
4
25%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(3)
Проекты
4
25%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(25)
Проекты
31
13%
Арбитраж
13
0% / 77%
Просрочено
9
29%
Свободен
13
Разработчик 13
Оценка
(7)
Проекты
6
0%
Арбитраж
4
25% / 75%
Просрочено
2
33%
Свободен
14
Разработчик 14
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(4)
Проекты
5
0%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
(271)
Проекты
553
50%
Арбитраж
57
40% / 37%
Просрочено
227
41%
Работает
17
Разработчик 17
Оценка
(13)
Проекты
22
41%
Арбитраж
8
0% / 50%
Просрочено
3
14%
Свободен
18
Разработчик 18
Оценка
(318)
Проекты
565
35%
Арбитраж
81
31% / 44%
Просрочено
204
36%
Свободен
19
Разработчик 19
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
20
Разработчик 20
Оценка
(510)
Проекты
977
74%
Арбитраж
27
19% / 67%
Просрочено
100
10%
Свободен
Опубликовал: 1 статью, 6 примеров
21
Разработчик 21
Оценка
(3)
Проекты
1
100%
Арбитраж
3
0% / 100%
Просрочено
0
Свободен
22
Разработчик 22
Оценка
(30)
Проекты
38
29%
Арбитраж
1
0% / 100%
Просрочено
2
5%
Работает
Похожие заказы
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
I am looking for an experienced MQL5 developer to modify an existing Expert Advisor by adding an automated hedging module. The existing EA is fully functional and already manages trade entries and exits. The objective of this enhancement is to introduce a risk management feature that automatically opens a hedge position when an existing trade reaches a predefined unrealized loss in USD. The hedge should remain active
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
am an auto trader that for Sierra chart that works but needs some cleaning up. I need some features added to it like two parent studies with different take profit, stops, quantities and also a parent study to add to the position with its own take profit, stops, quantities
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code
I am seeking an elite, top-tier quantitative programmer to engineer a professional multi-strategy software suite for XAU/USD (Gold). This project will be executed under a single contract workspace, cleanly structured across sequential development milestones: Milestone 1: (M30/H1/H4 Swing Architecture) 2: (M1/M5/M15 High-Frequency Velocity Architecture) 3: (Integration Phase):(Unified All-In-One Parent Class Execution

Информация о проекте

Бюджет
30 - 50 USD