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

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Efficient and able to understand my needs. Completed in a day. Thumbs UP!!!

Specification

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.



Responded

1
Developer 1
Rating
(195)
Projects
242
34%
Arbitration
11
45% / 45%
Overdue
8
3%
Free
Published: 1 article, 8 codes
2
Developer 2
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(184)
Projects
198
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
5
Developer 5
Rating
(19)
Projects
23
48%
Arbitration
10
0% / 100%
Overdue
2
9%
Free
6
Developer 6
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
7
Developer 7
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
8
Developer 8
Rating
(2)
Projects
0
0%
Arbitration
5
0% / 60%
Overdue
0
Free
9
Developer 9
Rating
(5)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(25)
Projects
31
13%
Arbitration
14
0% / 79%
Overdue
9
29%
Free
13
Developer 13
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(4)
Projects
5
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
17
Developer 17
Rating
(13)
Projects
23
39%
Arbitration
8
0% / 50%
Overdue
4
17%
Free
18
Developer 18
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
19
Developer 19
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(511)
Projects
978
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
21
Developer 21
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(30)
Projects
38
29%
Arbitration
1
0% / 100%
Overdue
2
5%
Working
Similar orders
I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I would like to test on demo account first, Any available backtest or trading results * Whether I can test it on a demo account * Your price and licensing details I’m
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Hi All, I am looking for a bot EA which makes good profit. If any having please share it for TEST. After proper TESTING only I will make the payment, no cheating no fraud. Please do not waste the time also
Allow me to set the daily trading bias manually to BUY or SELL. Check my defined 4H and 1H trend-alignment conditions. Execute entries based on my 15-minute pullback and continuation rules. Trade only between 06:00 and 16:00 Nigeria time, Monday to Friday. Calculate lot size based on my chosen risk percentage and stop-loss distance. Automatically place stop-loss and take-profit orders. Enforce my daily trade limits
hi, I need a quantower script I need a trailing stop at the 20 ema, And a more complicated version would be a breakout of the Asian session and a retest of the 9ema for an entry and a training stop at the 20 ema
Hi, I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I’m not looking to build one from scratch at this stage. I would like to first test the EA on a **demo account** to see how it performs under live market conditions and
Rebate robot 30 - 100 USD
Need rebate robot,for pairs like gbpusd,eurusd,usdjpy,usdchf,Spreads are like around 2.5 pip,MAy be better hedge ea both buy and sell,i will get benifit just from rebate,so try ur best to do what i want,and if u r not expert plz go away plz its not simple job,if u already have the robot so i can test it will be surely selected,also u can get some benifit from this screen shoots that i attached,its from another job in
We are looking for an experienced MQL5 developer or algorithmic trader who already owns a fully developed, functional, and profitable Expert Advisor (EA) specifically designed or successfully tested for Prop Firm trading. We are not looking for someone to develop a new trading robot from scratch. Our priority is to collaborate with someone who already has an operational trading system with a proven track record
I am looking for an experienced MQL5 developer or development team to build a scalable Telegram-to-MT5 copy trading system. The main purpose of the system is to monitor trading signals from my Telegram channel and automatically execute those signals on connected client MT5 accounts. Core Requirements Receive and parse trading signals from Telegram Automatically execute trades on connected MT5 accounts Support more
Hi, I’m looking to develop a custom XAUUSD (Gold) trading EA for MT5. I initially wanted to get an EA, but I don’t currently have a specific trading strategy. I would like help developing a suitable strategy from scratch and then converting it into a fully automated MT5 EA. My account size will be around $1,000. I’m interested in a scalping strategy that can trade during both the London and New York sessions. My main

Project information

Budget
30 - 50 USD