Job finished
Execution time 3 days
Specification
I need a professional MQL5 Expert Advisor for SP500ft futures
on MetaTrader 5 with hedging account (Infinox demo).
STRATEGY LOGIC:
- At each new D1 bar (00:00 UTC), place two pending orders:
BuyStop at open + cooldown% | SL = open D1
SellStop at open - cooldown% | SL = open D1
- Order execution IS the entry signal
- On execution → activate full management:
Phase 0: auto breakeven at broker minStop distance
Phase 1: TP1 closes 50% at cooldown×2
Phase 2: trailing stop on remainder
- When price returns to D1 open → replenish missing orders
- If SL or trailing closes → replenish missing orders immediately
- Daily close at 23:30 UTC Mon-Thu and Friday
TECHNICAL REQUIREMENTS:
- MQL5, MT5 only
- Hedging account compatible (PositionSelectByTicket)
- ORDER_FILLING_RETURN for pending orders
- Dynamic filling mode detection for market orders
- Magic number, configurable parameters
- No static variables inside OnTick()
- VPS-safe: robust restart recovery
- Source code required
CONFIGURABLE PARAMETERS:
- NotionalEUR (position sizing in EUR)
- CooldownPct (%)
- TP1ClosePct (%)
- DailyTargetEUR
- TrailPoints
- MaxSpread
- MagicNumber
- FridayCloseHour/Min
Symbol: SP500ft (futures, not CFD)
Broker: Infinox, hedging mode, London LD4 VPS
Budget: open to proposals
Delivery: source code (.mq5) + compiled (.ex5)
Responded
1
Rating
Projects
348
29%
Arbitration
37
27%
/
65%
Overdue
10
3%
Working
2
Rating
Projects
718
33%
Arbitration
46
48%
/
41%
Overdue
14
2%
Loaded
3
Rating
Projects
556
41%
Arbitration
30
57%
/
3%
Overdue
57
10%
Free
Published: 11 codes
4
Rating
Projects
553
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Rating
Projects
2949
63%
Arbitration
125
44%
/
26%
Overdue
429
15%
Free
7
Rating
Projects
174
40%
Arbitration
10
40%
/
10%
Overdue
30
17%
Free
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
721
34%
Arbitration
35
71%
/
9%
Overdue
23
3%
Free
10
Rating
Projects
1463
72%
Arbitration
122
29%
/
48%
Overdue
358
24%
Free
Published: 3 articles
11
Rating
Projects
22
45%
Arbitration
6
33%
/
17%
Overdue
2
9%
Loaded
Published: 7 articles, 35 codes
12
Rating
Projects
186
41%
Arbitration
24
58%
/
21%
Overdue
13
7%
Free
13
Rating
Projects
92
16%
Arbitration
4
0%
/
25%
Overdue
2
2%
Free
14
Rating
Projects
272
21%
Arbitration
24
54%
/
17%
Overdue
0
Free
15
Rating
Projects
317
24%
Arbitration
23
35%
/
13%
Overdue
23
7%
Free
Published: 3 codes
16
Rating
Projects
34
35%
Arbitration
0
Overdue
2
6%
Working
17
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
840
61%
Arbitration
33
27%
/
45%
Overdue
24
3%
Free
Published: 1 code
19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
Project information
Budget
100 - 200 USD