📘 PROJETO OFICIAL – EA MT5 Sistema Convexo – Trend Following XAUUSD H1

MQL5 Experts

Specification

1️⃣ Objetivo

Desenvolver Expert Advisor para MetaQuotes MetaTrader 5, com foco em:

  • Convexidade estrutural

  • Maximização de CAGR sustentável

  • Controle rígido de risco

  • Automação total

Uso: Conta pessoal (não prop firm).


2️⃣ Especificações Gerais

  • Plataforma: MT5

  • Ativo principal: XAUUSD

  • Timeframe: H1

  • Sem hedging

  • Máx 1 trade por candle

  • Máx 3 posições por direção (pyramiding)

  • Magic Number único

  • Slippage control

  • Spread filter configurável


3️⃣ Lógica de Tendência

Filtro primário:

  • EMA200 (parametrizável)

BUY apenas se Close[1] > EMA200
SELL apenas se Close[1] < EMA200

Filtro de regime:

  • ADX(14) > 22 (parametrizável)

  • ATR(14) > Média ATR(100)


4️⃣ Entrada – Pullback + Break

BUY:

  • Candle anterior toca ou fecha abaixo da EMA20

  • Candle atual fecha acima da máxima do anterior

  • Ordem aberta na abertura da próxima vela

SELL = inverso


5️⃣ Stop Loss

Modo único:

SL = Maior entre:

  • Último fractal confirmado

  • 1.2 × ATR(14)

Stop sempre técnico. Nunca fixo em pips.


6️⃣ Take Profit

Sem TP fixo.

Trailing stop:

  • Ativa após 1.5R

  • Move para BE + 0.5R

  • Depois trailing por Low[1] (BUY) / High[1] (SELL)

Proibido trailing fixo curto.


7️⃣ Pyramiding Progressivo

Adicionar posição apenas se:

  • Trade inicial ≥ 1.5R

  • SL já em BE+

  • ADX continua > threshold

Estrutura de risco:

  • 1ª posição: 0.4%

  • 2ª posição: 0.3%

  • 3ª posição: 0.2%

Risco agregado máx ≈ 0.9%


8️⃣ Gestão de Risco

  • Risco fixo baseado em % equity

  • Cálculo automático de lote baseado na distância do SL

  • Sem martingale

  • Sem grid


9️⃣ Filtro de Sessão

Horário padrão:
08:00 – 17:00 CET
Parametrizável.


🔟 Critérios Obrigatórios de Backtest

Período: 2015–2025
Modo: Every Tick

Exigir:

  • Profit Factor ≥ 1.4

  • MAR ≥ 1.5

  • DD ≤ 30%

  • ≥ 3 trades ≥ 8R

  • Relatório completo + CSV trades

  • Teste de robustez (variação parâmetros ±20%)


💰 Estrutura de Pagamento

Milestone 1 – Estrutura básica funcionando
Milestone 2 – Gestão de risco + pyramiding
Milestone 3 – Testes + otimização leve + entrega final


Responded

1
Developer 1
Rating
(565)
Projects
654
33%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy
2
Developer 2
Rating
(32)
Projects
55
5%
Arbitration
35
0% / 94%
Overdue
24
44%
Working
3
Developer 3
Rating
(6)
Projects
8
0%
Arbitration
8
13% / 88%
Overdue
0
Free
4
Developer 4
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
Published: 1 code
11
Developer 11
Rating
(2)
Projects
5
0%
Arbitration
2
0% / 50%
Overdue
1
20%
Working
12
Developer 12
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Working
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
150 - 500 USD