Institutional-Grade Multi-Timeframe EA — H4 Bias / H1 Structure / M15 Execution (Modular MQL5, XAUUSD + Majors)

Tarea técnica

PROJECT OVERVIEW

I need a production-grade, modular Expert Advisor for MetaTrader 5 built to institutional coding standards. This is not a simple indicator-crossover bot. The system must be object-oriented, fully commented, and structured so individual modules can be replaced or disabled without breaking the build.

Broker: IC Markets Raw. Primary symbol: XAUUSD. Secondary validation: EURUSD, GBPUSD, USDJPY, AUDUSD.

STRATEGY LOGIC

Multi-timeframe sequential state machine. Each stage must gate the next — no single-bar condition checks.

H4 — Directional bias. EMA50 / EMA200 relationship plus ADX regime classification (trend vs range).
H1 — Market structure. Identify BOS, CHOCH, swing highs/lows, and liquidity pools (equal highs/lows, session highs/lows, prior day high/low).
M15 — Entry execution. Liquidity sweep of an H1 pool → displacement candle → BOS confirmation → Fair Value Gap forms → limit entry placed INSIDE the FVG at equilibrium (midpoint), not anchored to the sweep origin.
Volatility gate — ATR percentile filter; skip signals when ATR is outside the acceptable band.
Session gate — London session and London/NY overlap only. Configurable GMT offset input (server offset must be manually overridable).

REQUIRED MODULES (separate .mqh include files, compiled to a single .ex5)

Logger
Context (shared state / symbol properties)
SessionFilter
SpreadFilter
TrendEngine
VolatilityFilter
StructureEngine (BOS / CHOCH / swings)
LiquidityEngine (pool detection, tap detection, expiry)
SignalEngine (state machine)
RiskManager
PositionSizer
TradeManager (break-even, partial close, trailing stop, session exit)
NewsFilter
Statistics
Dashboard (on-chart panel)

RISK MANAGEMENT — NON-NEGOTIABLE

Risk per trade: 0.25%–1%, configurable, dynamic lot sizing from stop distance
Max daily drawdown: 2% — halt trading for the day when breached
Max weekly drawdown: 5% — halt trading for the week when breached
Max concurrent open positions: 2
Stop after 3 consecutive losses (configurable cooldown)
Equity-halt state must persist across terminal restarts (GlobalVariable, with GlobalVariableCheck before GlobalVariableGet)
ATR-based stop loss; minimum R:R 1.5, target 2–3
No martingale. No grid. No averaging down. Any submission using these will be rejected.

NEWS FILTER

High-impact events only. Block entries 60 minutes before and 30 minutes after. Must handle calendar unavailability gracefully (fail-safe: no trade).

CODING REQUIREMENTS

Latest MQL5 syntax, MT5 build-update safe
Object-oriented; class pointers with GetPointer() only — no struct pointers
Indicator handles created in OnInit, released in OnDeinit — never inside OnTick
Heavy calculations gated on new-bar open only
Every CTrade return value checked and logged
Full input parameter set with optimization ranges defined
Verbose debug logging, toggleable by level
Order validation before every send (stops level, freeze level, volume min/max/step, margin check)
No hardcoded magic numbers, symbols, or session times

DELIVERABLES

Full commented source code (.mq5 + all .mqh files) — source code ownership transfers to me
Compiled .ex5
Set files for each tested symbol
Written strategy documentation: entry rules, exit rules, every input parameter explained
Backtest reports as specified below

TESTING REQUIREMENTS

Minimum 10 years history, 99% tick quality modelling, real spread + commission modelled
In-sample / out-of-sample split with the OOS window untouched during development
Walk-forward analysis
Monte Carlo permutation of trade sequence
Parameter sensitivity sweep — the strategy must remain profitable across a plateau, not a single spike
Multi-symbol robustness check

Reject-on-sight red flags I will be checking for: Sharpe above 5, win rate above 70%, zero trades on one side of the book, or fewer than 100 trades in the sample. These indicate curve fitting or a directional bug, not edge.

DESIGN TARGETS (targets, not guarantees — I am not asking anyone to promise returns)

Trade frequency: 4–5 per week
Win rate: 55%+ with R:R 2.0+
Profit factor: 1.4–1.8
Max weekly drawdown: 5%

Han respondido

1
Desarrollador 1
Evaluación
(286)
Proyectos
358
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(2)
Proyectos
4
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(22)
Proyectos
28
7%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
0% / 100%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(3)
Proyectos
9
67%
Arbitraje
0
Caducado
0
Trabaja
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(400)
Proyectos
518
24%
Arbitraje
61
57% / 25%
Caducado
60
12%
Trabaja
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(45)
Proyectos
53
57%
Arbitraje
2
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
14
Desarrollador 14
Evaluación
(623)
Proyectos
727
34%
Arbitraje
47
49% / 40%
Caducado
14
2%
Trabajando
15
Desarrollador 15
Evaluación
(258)
Proyectos
269
29%
Arbitraje
2
50% / 0%
Caducado
3
1%
Trabaja
Ha publicado: 2 ejemplos
16
Desarrollador 16
Evaluación
(60)
Proyectos
94
43%
Arbitraje
4
0% / 100%
Caducado
4
4%
Libre
17
Desarrollador 17
Evaluación
(319)
Proyectos
571
35%
Arbitraje
83
31% / 45%
Caducado
206
36%
Trabaja
18
Desarrollador 18
Evaluación
(25)
Proyectos
33
18%
Arbitraje
6
50% / 33%
Caducado
4
12%
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(183)
Proyectos
197
46%
Arbitraje
4
50% / 25%
Caducado
1
1%
Trabaja
22
Desarrollador 22
Evaluación
(16)
Proyectos
30
40%
Arbitraje
3
33% / 67%
Caducado
7
23%
Trabaja
23
Desarrollador 23
Evaluación
(13)
Proyectos
18
44%
Arbitraje
2
50% / 50%
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(20)
Proyectos
26
38%
Arbitraje
3
33% / 67%
Caducado
3
12%
Libre
25
Desarrollador 25
Evaluación
(9)
Proyectos
11
27%
Arbitraje
0
Caducado
2
18%
Trabaja
Ha publicado: 1 ejemplo
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(25)
Proyectos
31
13%
Arbitraje
14
0% / 79%
Caducado
9
29%
Libre
29
Desarrollador 29
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Trabaja
30
Desarrollador 30
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(11)
Proyectos
16
38%
Arbitraje
0
Caducado
1
6%
Trabaja
34
Desarrollador 34
Evaluación
(4)
Proyectos
6
17%
Arbitraje
3
0% / 67%
Caducado
0
Libre
35
Desarrollador 35
Evaluación
(27)
Proyectos
43
7%
Arbitraje
18
6% / 78%
Caducado
26
60%
Libre
36
Desarrollador 36
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
37
Desarrollador 37
Evaluación
(10)
Proyectos
13
0%
Arbitraje
24
0% / 75%
Caducado
4
31%
Trabaja
38
Desarrollador 38
Evaluación
(64)
Proyectos
144
46%
Arbitraje
21
38% / 24%
Caducado
32
22%
Libre
39
Desarrollador 39
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
40
Desarrollador 40
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
41
Desarrollador 41
Evaluación
(47)
Proyectos
61
54%
Arbitraje
7
86% / 0%
Caducado
2
3%
Trabaja
42
Desarrollador 42
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
43
Desarrollador 43
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
44
Desarrollador 44
Evaluación
(78)
Proyectos
246
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
45
Desarrollador 45
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
46
Desarrollador 46
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
47
Desarrollador 47
Evaluación
(211)
Proyectos
274
21%
Arbitraje
25
52% / 16%
Caducado
0
Trabajando
48
Desarrollador 48
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
49
Desarrollador 49
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
50
Desarrollador 50
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
51
Desarrollador 51
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
52
Desarrollador 52
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
53
Desarrollador 53
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
54
Desarrollador 54
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos
55
Desarrollador 55
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
56
Desarrollador 56
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
57
Desarrollador 57
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
58
Desarrollador 58
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
59
Desarrollador 59
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
60
Desarrollador 60
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
61
Desarrollador 61
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
62
Desarrollador 62
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
63
Desarrollador 63
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
64
Desarrollador 64
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
65
Desarrollador 65
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I need an Expert Advisor that trades by signal of ADX and Moving Average indicators. It must check and correctly process possible errors in trading operations. The main criteria of opening and closing positions , direction of Moving Average, Price of last bar . Set the number of lots to trade as an input parameter
I need an Expert Advisor based on Vantage signals.It must have check and handling of trade operation errors. The main criteria for opening and closing a position: moving average direction the price is higher the previous bar Trade lots is an input parameter
I need you to develop an MT5 Expert Advisor (EA) in MQL5 specifically for BTCUSD , primarily trading on the 1-minute timeframe (M1) . The goal is to build a professional, rule-based automated trading system that trades strong impulsive BTCUSD moves in the direction of the trend , while using strict risk and money management. 1. CORE STRATEGY The EA should NOT randomly buy or sell. The basic sequence should be: Trend
Expert Needs to integrate Volume Density ( Ticks Per Point ) Adaptive Volume Baseline ( Apply with experience ) , Order Flow Tick Volume Based ( required integration is for smooth execution ) , Every other requirement already exists by the expert , True Objective : To identify the true transition from Accumulation to Expansion/Distribution leading to Breakout capturing participation while eliminating false breakouts
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
Title: Advanced XAUUSD MT5 Indicator – MQL5 Source Code Required I need a professional MT5 indicator written from scratch in MQL5 (.mq5) for XAUUSD. The indicator must be signals/analysis only — AutoTrading must remain OFF . I need the complete editable .mq5 source code, not only an .ex5 file. The system should analyze multiple timeframes: H4 → H1 → M30 → M15 → M5 → M1 . Required logic: Higher-timeframe
NextGen 30 - 50 USD
Hello, Before I select a developer, please confirm that you can implement the complete MT5 EA exactly according to my specification. The most important requirements are: 1. Strict NO-REPAINT / NO-HINDSIGHT logic. 2. Sweep, MSS/BOS, Displacement, FVG, Order Block and POI must be defined algorithmically before coding. 3. M1 and M5 confirmation logic. 4. Zero-Float Entry logic. 5. MT5 terminal alerts and immediate MT5
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
Order for an EA. Trade signals from 1 Buffer Needed is an EA which runs from one of my indicators. Indicator has 2 Buffers, we use only 1 of them. To use are the datas from Datawindow of the indicator buffers. BUFFER 1 in Datawindow = CCI-iRSI If value (of Buffer1) Candle = > 0 = LONG signal If value (of Buffer1) AT END of Candle = < 0 = Short signal If value (of BUffer1) AT END of Candle = 0 = the current signal

Información sobre el proyecto

Presupuesto
100 - 300 USD
Plazo límite de ejecución
de 1 a 30 día(s)