MT5 EA Refactor: Refine Execution Logic & Expand Exit Engine (Full Spec Provided)

MQL5 Indicators Experts

Specification

Looking for an experienced MQL5 developer to refactor and upgrade an existing Expert Advisor (EA) trading system.

Current State: I have the fully working Phase 1 .mq5 source code. However, the execution rules are overly rigid, resulting in missed setups.

Scope of Work (Phase 2):

  • Refactor entry logic to support multi-timeframe EMA trend alignment (H4 structural trend + M5/M15 execution EMAs).

  • Upgrade pullback state machines (touch-sequence tracking, reference EMA locking, and configurable tolerances).

  • Implement multi-entry capabilities ( InpMaxEntriesPerTouchSequence & InpMaxOpenTradesPerTouchSequence ).

  • Expand execution options: Optional filters (ADX, ATR, Bill Williams Fractals) using strict AND logic.

  • Upgrade exit engine: Implement Partial Close (50% at target) + Runner with dynamic $R$-based trailing stop loss and breakeven/profit-locking features.

  • Maintain existing safety modules (daily/weekly drawdown protection, spread filters, account risk % sizing, hedging support).

Requirements & Deliverables:

  • Complete Final Requirements Specification Document is available —no ambiguity or discretionary design needed.

  • Deliverables: Full .mq5 source code, compiled .ex5 , default .set preset, and clean diagnostic logs.

  • Code must survive terminal crashes, timeframe changes, and reboots with persistent state variables.



Responded

1
Developer 1
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(111)
Projects
183
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(2676)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
5
Developer 5
Rating
(15)
Projects
22
45%
Arbitration
6
33% / 33%
Overdue
2
9%
Loaded
Published: 7 articles, 35 codes
6
Developer 6
Rating
(636)
Projects
1007
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
7
Developer 7
Rating
(15)
Projects
33
0%
Arbitration
8
25% / 50%
Overdue
14
42%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(178)
Projects
191
46%
Arbitration
4
25% / 25%
Overdue
1
1%
Busy
10
Developer 10
Rating
(9)
Projects
11
27%
Arbitration
0
Overdue
2
18%
Working
Published: 1 code
11
Developer 11
Rating
(211)
Projects
274
21%
Arbitration
24
54% / 17%
Overdue
0
Free
12
Developer 12
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
13
Developer 13
Rating
(553)
Projects
844
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
14
Developer 14
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
15
Developer 15
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
16
Developer 16
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
17
Developer 17
Rating
(19)
Projects
25
36%
Arbitration
3
33% / 67%
Overdue
3
12%
Free
18
Developer 18
Rating
(319)
Projects
570
35%
Arbitration
83
30% / 45%
Overdue
206
36%
Working
19
Developer 19
Rating
(13)
Projects
22
41%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
20
Developer 20
Rating
(6)
Projects
8
38%
Arbitration
1
100% / 0%
Overdue
2
25%
Free
21
Developer 21
Rating
(10)
Projects
13
0%
Arbitration
24
0% / 75%
Overdue
4
31%
Working
22
Developer 22
Rating
(9)
Projects
16
19%
Arbitration
2
0% / 50%
Overdue
3
19%
Loaded
23
Developer 23
Rating
(59)
Projects
92
42%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
24
Developer 24
Rating
(83)
Projects
95
32%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
25
Developer 25
Rating
(52)
Projects
64
39%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
26
Developer 26
Rating
(3)
Projects
7
29%
Arbitration
0
Overdue
4
57%
Free
27
Developer 27
Rating
(32)
Projects
55
5%
Arbitration
35
0% / 94%
Overdue
24
44%
Working
28
Developer 28
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 10 codes
29
Developer 29
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(4)
Projects
4
25%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
35
Developer 35
Rating
(16)
Projects
21
29%
Arbitration
2
50% / 0%
Overdue
4
19%
Working
36
Developer 36
Rating
(369)
Projects
452
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Loaded
37
Developer 37
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
38
Developer 38
Rating
(52)
Projects
58
59%
Arbitration
4
0% / 25%
Overdue
1
2%
Free
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(12)
Projects
13
62%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 articles
42
Developer 42
Rating
(8)
Projects
11
36%
Arbitration
0
Overdue
1
9%
Loaded
43
Developer 43
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Working
44
Developer 44
Rating
(15)
Projects
29
38%
Arbitration
3
33% / 67%
Overdue
6
21%
Working
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
49
Developer 49
Rating
(9)
Projects
10
10%
Arbitration
0
Overdue
0
Free
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
52
Developer 52
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
53
Developer 53
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
MT5 High-Volume Trading Bot Requirements I am looking for a professional MetaTrader 5 (MT5) trading bot / Expert Advisor designed for high trading volume while maintaining extremely low and controlled drawdown. The requirements are: * Platform: MetaTrader 5 (MT5) only. * Trading volume: approximately 1,000–2,000 operations/trades per day. * No HFT: I am not looking for a true high-frequency trading system based on
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I am looking for an experienced MQL5/MT5 Expert Advisor developer to build a custom XAUUSD (Gold) HFT/ultra-fast scalping EA for MetaTrader 5. I have attached a reference video showing exactly how I want the EA to behave. Please watch the video carefully before applying. The video should give you a clear understanding of the desired entry behavior, trade frequency, execution style, and overall system behavior. The EA
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or

Project information

Budget
50 - 150 USD