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

Tarea técnica

【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.

Han respondido

1
Desarrollador 1
Evaluación
(263)
Proyectos
329
29%
Arbitraje
36
25% / 64%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(75)
Proyectos
111
50%
Arbitraje
26
31% / 50%
Caducado
9
8%
Libre
3
Desarrollador 3
Evaluación
(394)
Proyectos
555
41%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
4
Desarrollador 4
Evaluación
(434)
Proyectos
638
53%
Arbitraje
32
59% / 22%
Caducado
6
1%
Trabaja
5
Desarrollador 5
Evaluación
(108)
Proyectos
177
25%
Arbitraje
24
17% / 75%
Caducado
16
9%
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(12)
Proyectos
18
17%
Arbitraje
3
33% / 67%
Caducado
3
17%
Libre
8
Desarrollador 8
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
9
Desarrollador 9
Evaluación
(33)
Proyectos
38
21%
Arbitraje
5
0% / 60%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(387)
Proyectos
499
23%
Arbitraje
60
55% / 25%
Caducado
59
12%
Trabaja
11
Desarrollador 11
Evaluación
(454)
Proyectos
718
34%
Arbitraje
35
69% / 9%
Caducado
22
3%
Trabaja
12
Desarrollador 12
Evaluación
(318)
Proyectos
565
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
13
Desarrollador 13
Evaluación
(12)
Proyectos
14
29%
Arbitraje
5
40% / 20%
Caducado
0
Trabaja
Ha publicado: 5 artículos, 34 ejemplos
14
Desarrollador 14
Evaluación
(12)
Proyectos
22
41%
Arbitraje
8
0% / 50%
Caducado
3
14%
Libre
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(52)
Proyectos
66
41%
Arbitraje
1
0% / 100%
Caducado
7
11%
Libre
17
Desarrollador 17
Evaluación
(460)
Proyectos
802
48%
Arbitraje
73
19% / 52%
Caducado
140
17%
Trabaja
18
Desarrollador 18
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(52)
Proyectos
67
58%
Arbitraje
4
75% / 25%
Caducado
1
1%
Trabajando
21
Desarrollador 21
Evaluación
(20)
Proyectos
28
4%
Arbitraje
4
0% / 100%
Caducado
5
18%
Trabaja
22
Desarrollador 22
Evaluación
(3)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
26
Desarrollador 26
Evaluación
(9)
Proyectos
14
43%
Arbitraje
1
100% / 0%
Caducado
2
14%
Trabaja
27
Desarrollador 27
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(3)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
29
Desarrollador 29
Evaluación
(93)
Proyectos
111
17%
Arbitraje
6
33% / 17%
Caducado
5
5%
Libre
Ha publicado: 1 ejemplo
30
Desarrollador 30
Evaluación
(202)
Proyectos
263
22%
Arbitraje
23
52% / 17%
Caducado
0
Trabaja
31
Desarrollador 31
Evaluación
(61)
Proyectos
83
45%
Arbitraje
27
11% / 70%
Caducado
8
10%
Libre
32
Desarrollador 32
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(27)
Proyectos
33
36%
Arbitraje
0
Caducado
2
6%
Libre
34
Desarrollador 34
Evaluación
(252)
Proyectos
296
76%
Arbitraje
13
77% / 0%
Caducado
4
1%
Trabaja
35
Desarrollador 35
Evaluación
(55)
Proyectos
92
24%
Arbitraje
8
75% / 13%
Caducado
44
48%
Libre
36
Desarrollador 36
Evaluación
(9)
Proyectos
10
10%
Arbitraje
0
Caducado
0
Libre
37
Desarrollador 37
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
38
Desarrollador 38
Evaluación
(2)
Proyectos
7
0%
Arbitraje
3
0% / 33%
Caducado
1
14%
Trabaja
39
Desarrollador 39
Evaluación
(169)
Proyectos
179
46%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
40
Desarrollador 40
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
41
Desarrollador 41
Evaluación
(2672)
Proyectos
3406
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
42
Desarrollador 42
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
43
Desarrollador 43
Evaluación
(31)
Proyectos
33
42%
Arbitraje
0
Caducado
3
9%
Libre
44
Desarrollador 44
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
45
Desarrollador 45
Evaluación
(8)
Proyectos
9
56%
Arbitraje
0
Caducado
0
Trabaja
46
Desarrollador 46
Evaluación
(2332)
Proyectos
2935
63%
Arbitraje
124
44% / 26%
Caducado
429
15%
Libre
47
Desarrollador 47
Evaluación
(365)
Proyectos
441
55%
Arbitraje
22
50% / 14%
Caducado
30
7%
Trabajando
48
Desarrollador 48
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
49
Desarrollador 49
Evaluación
(25)
Proyectos
31
13%
Arbitraje
13
0% / 77%
Caducado
9
29%
Libre
50
Desarrollador 50
Evaluación
(25)
Proyectos
32
19%
Arbitraje
5
40% / 40%
Caducado
4
13%
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
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
54
Desarrollador 54
Evaluación
(13)
Proyectos
24
75%
Arbitraje
0
Caducado
2
8%
Libre
Ha publicado: 62 ejemplos
55
Desarrollador 55
Evaluación
(317)
Proyectos
322
70%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
56
Desarrollador 56
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
57
Desarrollador 57
Evaluación
(548)
Proyectos
833
62%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
58
Desarrollador 58
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
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
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
*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

Información sobre el proyecto

Presupuesto
200 - 300 USD
Plazo límite de ejecución
a 14 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0