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
326
29%
Arbitration
36
25%
/
61%
Overdue
10
3%
Loaded
2
Rating
Projects
693
33%
Arbitration
43
47%
/
44%
Overdue
12
2%
Working
3
Rating
Projects
554
41%
Arbitration
30
57%
/
3%
Overdue
57
10%
Free
Published: 11 codes
4
Rating
Projects
551
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Rating
Projects
2930
63%
Arbitration
124
44%
/
26%
Overdue
429
15%
Working
7
Rating
Projects
171
39%
Arbitration
10
40%
/
10%
Overdue
31
18%
Working
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
718
34%
Arbitration
35
69%
/
9%
Overdue
22
3%
Working
10
Rating
Projects
1460
72%
Arbitration
122
29%
/
48%
Overdue
356
24%
Working
Published: 3 articles
11
Rating
Projects
10
10%
Arbitration
4
50%
/
0%
Overdue
0
Loaded
Published: 4 articles, 34 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
260
21%
Arbitration
22
50%
/
18%
Overdue
0
Loaded
15
Rating
Projects
317
24%
Arbitration
23
35%
/
13%
Overdue
23
7%
Free
Published: 3 codes
16
Rating
Projects
32
34%
Arbitration
0
Overdue
2
6%
Working
17
Rating
Projects
2
0%
Arbitration
0
Overdue
0
Free
18
Rating
Projects
830
62%
Arbitration
33
27%
/
45%
Overdue
23
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
477
40%
Arbitration
105
40%
/
24%
Overdue
81
17%
Loaded
Published: 2 codes
Project information
Budget
100 - 200 USD