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

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(263)
Progetti
329
29%
Arbitraggio
36
25% / 64%
In ritardo
10
3%
In elaborazione
2
Sviluppatore 2
Valutazioni
(75)
Progetti
111
50%
Arbitraggio
26
31% / 50%
In ritardo
9
8%
Gratuito
3
Sviluppatore 3
Valutazioni
(394)
Progetti
555
41%
Arbitraggio
30
57% / 3%
In ritardo
57
10%
Gratuito
Pubblicati: 11 codici
4
Sviluppatore 4
Valutazioni
(434)
Progetti
638
53%
Arbitraggio
32
59% / 22%
In ritardo
6
1%
In elaborazione
5
Sviluppatore 5
Valutazioni
(108)
Progetti
177
25%
Arbitraggio
24
17% / 75%
In ritardo
16
9%
Gratuito
6
Sviluppatore 6
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(12)
Progetti
18
17%
Arbitraggio
3
33% / 67%
In ritardo
3
17%
Gratuito
8
Sviluppatore 8
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
9
Sviluppatore 9
Valutazioni
(33)
Progetti
38
21%
Arbitraggio
5
0% / 60%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(387)
Progetti
499
23%
Arbitraggio
60
55% / 25%
In ritardo
59
12%
In elaborazione
11
Sviluppatore 11
Valutazioni
(454)
Progetti
718
34%
Arbitraggio
35
69% / 9%
In ritardo
22
3%
In elaborazione
12
Sviluppatore 12
Valutazioni
(318)
Progetti
565
35%
Arbitraggio
81
31% / 44%
In ritardo
204
36%
Gratuito
13
Sviluppatore 13
Valutazioni
(12)
Progetti
15
33%
Arbitraggio
5
40% / 20%
In ritardo
1
7%
In elaborazione
Pubblicati: 5 articoli, 34 codici
14
Sviluppatore 14
Valutazioni
(12)
Progetti
22
41%
Arbitraggio
8
0% / 50%
In ritardo
3
14%
Gratuito
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(52)
Progetti
66
41%
Arbitraggio
1
0% / 100%
In ritardo
7
11%
Gratuito
17
Sviluppatore 17
Valutazioni
(460)
Progetti
802
48%
Arbitraggio
73
19% / 52%
In ritardo
140
17%
In elaborazione
18
Sviluppatore 18
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 1 codice
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(52)
Progetti
67
58%
Arbitraggio
4
75% / 25%
In ritardo
1
1%
Caricato
21
Sviluppatore 21
Valutazioni
(20)
Progetti
28
4%
Arbitraggio
4
0% / 100%
In ritardo
5
18%
In elaborazione
22
Sviluppatore 22
Valutazioni
(3)
Progetti
3
33%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
26
Sviluppatore 26
Valutazioni
(9)
Progetti
14
43%
Arbitraggio
1
100% / 0%
In ritardo
2
14%
In elaborazione
27
Sviluppatore 27
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
28
Sviluppatore 28
Valutazioni
(3)
Progetti
2
0%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
29
Sviluppatore 29
Valutazioni
(93)
Progetti
111
17%
Arbitraggio
6
33% / 17%
In ritardo
5
5%
Gratuito
Pubblicati: 1 codice
30
Sviluppatore 30
Valutazioni
(202)
Progetti
263
22%
Arbitraggio
23
52% / 17%
In ritardo
0
In elaborazione
31
Sviluppatore 31
Valutazioni
(61)
Progetti
83
45%
Arbitraggio
27
11% / 70%
In ritardo
8
10%
Gratuito
32
Sviluppatore 32
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
33
Sviluppatore 33
Valutazioni
(27)
Progetti
33
36%
Arbitraggio
0
In ritardo
2
6%
Gratuito
34
Sviluppatore 34
Valutazioni
(252)
Progetti
296
76%
Arbitraggio
13
77% / 0%
In ritardo
4
1%
In elaborazione
35
Sviluppatore 35
Valutazioni
(55)
Progetti
92
24%
Arbitraggio
8
75% / 13%
In ritardo
44
48%
Gratuito
36
Sviluppatore 36
Valutazioni
(9)
Progetti
10
10%
Arbitraggio
0
In ritardo
0
Gratuito
37
Sviluppatore 37
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
38
Sviluppatore 38
Valutazioni
(2)
Progetti
7
0%
Arbitraggio
3
0% / 33%
In ritardo
1
14%
In elaborazione
39
Sviluppatore 39
Valutazioni
(169)
Progetti
179
46%
Arbitraggio
3
33% / 33%
In ritardo
1
1%
In elaborazione
40
Sviluppatore 40
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
41
Sviluppatore 41
Valutazioni
(2672)
Progetti
3406
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
42
Sviluppatore 42
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
43
Sviluppatore 43
Valutazioni
(31)
Progetti
33
42%
Arbitraggio
0
In ritardo
3
9%
Gratuito
44
Sviluppatore 44
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
45
Sviluppatore 45
Valutazioni
(8)
Progetti
9
56%
Arbitraggio
0
In ritardo
0
In elaborazione
46
Sviluppatore 46
Valutazioni
(2332)
Progetti
2935
63%
Arbitraggio
124
44% / 26%
In ritardo
429
15%
Gratuito
47
Sviluppatore 47
Valutazioni
(365)
Progetti
441
55%
Arbitraggio
22
50% / 14%
In ritardo
30
7%
Caricato
48
Sviluppatore 48
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
49
Sviluppatore 49
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
13
0% / 77%
In ritardo
9
29%
Gratuito
50
Sviluppatore 50
Valutazioni
(25)
Progetti
32
19%
Arbitraggio
5
40% / 40%
In ritardo
4
13%
Gratuito
51
Sviluppatore 51
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
52
Sviluppatore 52
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
53
Sviluppatore 53
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
54
Sviluppatore 54
Valutazioni
(13)
Progetti
24
75%
Arbitraggio
0
In ritardo
2
8%
Gratuito
Pubblicati: 62 codici
55
Sviluppatore 55
Valutazioni
(317)
Progetti
322
70%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
56
Sviluppatore 56
Valutazioni
(162)
Progetti
289
35%
Arbitraggio
18
22% / 61%
In ritardo
43
15%
Gratuito
57
Sviluppatore 57
Valutazioni
(548)
Progetti
833
62%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
58
Sviluppatore 58
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
59
Sviluppatore 59
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
60
Sviluppatore 60
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
61
Sviluppatore 61
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
62
Sviluppatore 62
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
63
Sviluppatore 63
Valutazioni
(14)
Progetti
18
22%
Arbitraggio
1
100% / 0%
In ritardo
4
22%
In elaborazione
64
Sviluppatore 64
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
65
Sviluppatore 65
Valutazioni
(119)
Progetti
169
38%
Arbitraggio
9
78% / 22%
In ritardo
15
9%
Gratuito
66
Sviluppatore 66
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
67
Sviluppatore 67
Valutazioni
(4)
Progetti
4
0%
Arbitraggio
0
In ritardo
0
In elaborazione
68
Sviluppatore 68
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
69
Sviluppatore 69
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
70
Sviluppatore 70
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
*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
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
Poptavka ZN 35 - 40 USD
Požadavky: platforma MetaTrader 5, jazyk MQL5; předání úplného a čitelného zdrojového kódu .mq5 a všech potřebných .mqh souborů; zákazů knihoven, DLL, vzdálených serverů a externí licenční kontroly; zákaz martingale, gridu, navyšování pozice po ztrátě a obchodování bez stop-lossu; výpočet velikosti pozice podle procenta rizika a skutečné měny účtu; nastavitelné maximální denní riziko a celkové čerpání; ochrana proti
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
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
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

Informazioni sul progetto

Budget
200 - 300 USD
Scadenze
a 14 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0