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
319
29%
Arbitration
34
26%
/
65%
Overdue
10
3%
Free
2
Rating
Projects
661
32%
Arbitration
42
45%
/
45%
Overdue
12
2%
Loaded
3
Rating
Projects
551
40%
Arbitration
30
57%
/
3%
Overdue
57
10%
Free
Published: 11 codes
4
Rating
Projects
549
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Project information
Budget
100 - 200 USD
VAT (21%):
21
-
42
USD
Total:
121
-
242
USD
For the developer
90
- 180
USD
Customer
Placed orders1
Arbitrage count0