Development of a Trend Grid EA for XAUUSDm (MT5) - EMA + ATR Dynamic Spacing + Trailing Stop

Termos de Referência

【Project Overview】
Develop a simple, clean MT5 EA for XAUUSDm (Gold Mini) on a Cent account.
The strategy is a non-martingale trend grid using EMA for direction,
ATR for dynamic spacing, and trailing stop for exit.

【Strategy Logic】
1. Trend Direction (H1):
   - EMA(50) on H1. Price above EMA = Long only. Price below = Short only.

2. Entry (Pending Stop Orders):
   - Place stop orders in the trend direction.
   - Spacing = ATR(14) x 1.5 (range: min 300 points, max 600 points).
   - First order placed at current price + spacing.
   - Next order placed ONLY after previous order hits take profit.
   - Maximum 5 pending/active orders at any time.

3. Stop Loss:
   - Fixed 300 points (3 USD) per order.

4. Take Profit (Trailing Stop):
   - NO fixed take profit target.
   - When profit reaches 150 points, move stop loss to breakeven.
   - After breakeven, trail stop loss using H1 EMA(50):
     - Long: Stop follows EMA(50) upward only.
     - Short: Stop follows EMA(50) downward only.
   - Update once per H1 candle close.

5. Risk Management:
   - Fixed lot size: 0.01 per order (no martingale, no grid averaging).
   - Equity drawdown stop: 25% (close all positions, delete all pending orders).
   - Friday close: UTC 19:00 (close all, delete all).
   - Trading hours: UTC 00:05 - 13:55 only.

【External Parameters (All Adjustable)】
- EMA_Period: default 50, range 20-200
- EMA_Timeframe: default H1
- ATR_Period: default 14, range 7-30
- ATR_Multiplier: default 1.5, range 1.0-2.5
- Spacing_Min: default 300 (points)
- Spacing_Max: default 600 (points)
- StopLoss_Points: default 300, range 100-500
- Breakeven_Points: default 150, range 50-300
- Max_Orders: default 5, range 1-10
- Fixed_Lots: default 0.01, range 0.01-0.1
- Equity_Drawdown_Pct: default 25, range 10-50
- Magic_Number: default 888888
- Start_Time: default "00:05" (UTC)
- End_Time: default "13:55" (UTC)
- Friday_Close_Time: default "19:00" (UTC)
- Friday_Close_Enabled: default true

【Additional Requirements】
- Account binding: EA only runs on specified account numbers.
- Parameter encryption: Core parameters encrypted in source code. Provide a config tool.
- Chart: EA attached to M15 chart. Internal trend detection reads H1 data.
- Deliverables: Full unencrypted .mq5 source code, .ex5 file, parameter documentation, 2-year backtest report on XAUUSDm.

【Platform & Account】
- Platform: MT5
- Symbol: XAUUSDm
- Account: Cent account
- Leverage: 1:2000
- Server time: UTC+0
- 1 Pip = 0.01 price movement

【Acceptance Criteria】
- Direction filter (EMA50) works correctly.
- Pending stop orders placed with correct dynamic spacing.
- Next order only after previous TP.
- Max orders never exceeds 5.
- Stop loss 300 points per order enforced.
- Trailing stop via EMA50 works correctly.
- Equity drawdown 25% triggers full close.
- Friday close at UTC 19:00 works.
- Trading hours filter works.
- All external parameters functional.

Respondido

1
Desenvolvedor 1
Classificação
(263)
Projetos
329
29%
Arbitragem
36
25% / 64%
Expirado
10
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
3
Desenvolvedor 3
Classificação
(394)
Projetos
555
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Livre
Publicou: 11 códigos
4
Desenvolvedor 4
Classificação
(434)
Projetos
638
53%
Arbitragem
32
59% / 22%
Expirado
6
1%
Trabalhando
5
Desenvolvedor 5
Classificação
(108)
Projetos
177
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(12)
Projetos
18
17%
Arbitragem
3
33% / 67%
Expirado
3
17%
Livre
8
Desenvolvedor 8
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
9
Desenvolvedor 9
Classificação
(33)
Projetos
38
21%
Arbitragem
5
0% / 60%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(387)
Projetos
499
23%
Arbitragem
60
55% / 25%
Expirado
59
12%
Trabalhando
11
Desenvolvedor 11
Classificação
(454)
Projetos
718
34%
Arbitragem
35
69% / 9%
Expirado
22
3%
Trabalhando
12
Desenvolvedor 12
Classificação
(318)
Projetos
565
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Livre
13
Desenvolvedor 13
Classificação
(12)
Projetos
14
29%
Arbitragem
5
40% / 20%
Expirado
0
Trabalhando
Publicou: 5 artigos, 34 códigos
14
Desenvolvedor 14
Classificação
(12)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
Livre
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(52)
Projetos
66
41%
Arbitragem
1
0% / 100%
Expirado
7
11%
Livre
17
Desenvolvedor 17
Classificação
(460)
Projetos
802
48%
Arbitragem
73
19% / 52%
Expirado
140
17%
Trabalhando
18
Desenvolvedor 18
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 código
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(52)
Projetos
67
58%
Arbitragem
4
75% / 25%
Expirado
1
1%
Carregado
21
Desenvolvedor 21
Classificação
(20)
Projetos
28
4%
Arbitragem
4
0% / 100%
Expirado
5
18%
Trabalhando
22
Desenvolvedor 22
Classificação
(3)
Projetos
3
33%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
26
Desenvolvedor 26
Classificação
(9)
Projetos
14
43%
Arbitragem
1
100% / 0%
Expirado
2
14%
Trabalhando
27
Desenvolvedor 27
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(3)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(93)
Projetos
111
17%
Arbitragem
6
33% / 17%
Expirado
5
5%
Livre
Publicou: 1 código
30
Desenvolvedor 30
Classificação
(202)
Projetos
263
22%
Arbitragem
23
52% / 17%
Expirado
0
Trabalhando
31
Desenvolvedor 31
Classificação
(61)
Projetos
83
45%
Arbitragem
27
11% / 70%
Expirado
8
10%
Livre
32
Desenvolvedor 32
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(27)
Projetos
33
36%
Arbitragem
0
Expirado
2
6%
Livre
34
Desenvolvedor 34
Classificação
(252)
Projetos
296
76%
Arbitragem
13
77% / 0%
Expirado
4
1%
Trabalhando
35
Desenvolvedor 35
Classificação
(55)
Projetos
92
24%
Arbitragem
8
75% / 13%
Expirado
44
48%
Livre
36
Desenvolvedor 36
Classificação
(9)
Projetos
10
10%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
38
Desenvolvedor 38
Classificação
(2)
Projetos
7
0%
Arbitragem
3
0% / 33%
Expirado
1
14%
Trabalhando
39
Desenvolvedor 39
Classificação
(169)
Projetos
179
46%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
40
Desenvolvedor 40
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
41
Desenvolvedor 41
Classificação
(2672)
Projetos
3406
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
42
Desenvolvedor 42
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
43
Desenvolvedor 43
Classificação
(31)
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
44
Desenvolvedor 44
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
45
Desenvolvedor 45
Classificação
(8)
Projetos
9
56%
Arbitragem
0
Expirado
0
Trabalhando
46
Desenvolvedor 46
Classificação
(2332)
Projetos
2935
63%
Arbitragem
124
44% / 26%
Expirado
429
15%
Livre
47
Desenvolvedor 47
Classificação
(365)
Projetos
441
55%
Arbitragem
22
50% / 14%
Expirado
30
7%
Carregado
48
Desenvolvedor 48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
49
Desenvolvedor 49
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
Expirado
9
29%
Livre
50
Desenvolvedor 50
Classificação
(25)
Projetos
32
19%
Arbitragem
5
40% / 40%
Expirado
4
13%
Livre
51
Desenvolvedor 51
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
52
Desenvolvedor 52
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
53
Desenvolvedor 53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Desenvolvedor 54
Classificação
(13)
Projetos
24
75%
Arbitragem
0
Expirado
2
8%
Livre
Publicou: 62 códigos
55
Desenvolvedor 55
Classificação
(317)
Projetos
322
70%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
56
Desenvolvedor 56
Classificação
(162)
Projetos
289
35%
Arbitragem
18
22% / 61%
Expirado
43
15%
Livre
57
Desenvolvedor 57
Classificação
(548)
Projetos
833
62%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
58
Desenvolvedor 58
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
59
Desenvolvedor 59
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
60
Desenvolvedor 60
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
61
Desenvolvedor 61
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
*Need an MQL5 EA for MT5 to trade gold and forex automatically. Must include Stop Loss, Take Profit, and basic risk management. Budget is $30 to $50. Looking for clean, stable code that works on VPS.*
Hello Developers, I am looking for an experienced MQL5 developer to complete the development of a custom MetaTrader 5 Expert Advisor (EA) based on my proprietary trading strategy. I already have a partially developed EA that includes the required custom indicators and part of the trading logic. The project can either be completed by modifying the existing EA or, if more appropriate, by rebuilding it from scratch
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
WORKING EA 35+ USD
I Need an existing proven profitable EA. EA should have at least 3 months track record of consistency. My budget is $35 and nothing more. If you do not have the working EA for that amount, please do not apply. I'm not paying a dime more. Again do not apply if you are not willing to take the above amount
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
MultiPair_PriceAction 30 - 200 USD
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management
Project Overview I am seeking an experienced MQL5 Expert Advisor (EA) developer to automate a systematic, multi-timeframe institutional trading framework specifically optimized for Spot Gold (XAUUSD) . The EA must programmatically map market structure, identify liquidity zones, and execute trades based on structural confirmations across three distinct timeframes: Daily (D1), 1-Hour (H1), and 15-Minute (M15) . Core
Looking for an MT5 Expert Advisor developer with: Minimum 1 year of verified activity on the MetaTrader Market Positive, real user reviews Ability to build EAs without Bollinger Bands Fully configurable parameters (risk, filters, SL/TP, trading hours) Free test version available before any payment Clear communication and ongoing support If you meet these requirements, please send your MQL5 profile or portfolio

Informações sobre o projeto

Orçamento
200 - 300 USD
Prazo
para 14 dias

Cliente

Pedidos postados1
Número de arbitragens0