Specification
Project summary
I need an MQL5 Expert Advisor that implements a grid-style scaling strategy for gold. The EA will open fixed mini-lots on every fixed-dollar move within a user-defined price range, include trailing-stop logic, risk/metrics display on chart, and a configurable EMA filter (timeframe and period configurable).
Functional requirements (must-have)
1. Symbol & units
- Primary symbol: XAUUSD (please confirm symbol naming with my broker; fallback: “XAUUSD”).
- Money-based distance (USD) used for grid steps and TP/TS values (not pips).
2. Position sizing / grid
- For every $10 move in price (up or down) from the initial entry level, the EA should place 0.01 lot. Position sizing must be an input parameter (default = 0.01 lot)
- No stop loss on opening (initially), Take Profit = $15 (per trade; absolute USD profit target).
- Grid spacing (dollar amount per step) must be an input parameter (default = 10 USD).
- Lot size per step must be an input (default = 0.01 lot).
3. Operate only within a defined price band
- The EA must only open new trades when the current market price is inside a configurable range:
- Default example: MinPrice = 4000, MaxPrice = 4200 (inputs).
- If price is outside that range, no new orders should be sent; existing orders remain active (unless closed by logic below).
4. Max positions
- The total number of open positions opened by the EA must never exceed 20 (configurable input; default 20).
5. Trailing stop / profit protection
- Once a trade’s profit (floating or reached profit?) reaches $12, apply a trailing-stop logic so that the trade's profit cannot fall below $10.
- Implementation detail (preferred): when the floating profit for an order ≥ $12, immediately set a stop-loss such that the remaining achievable profit is ≥ $10 (i.e., SL = current price - amount equivalent to $10). If broker requires price/points, convert USD to price difference using contract specification.
- The trailing/protection should be applied per trade and ensure that after activation the realized profit does not drop below $10 for that trade.
- Parameters configurable:
- Trailing activation profit (default = 12 USD)
- Minimum secured profit (default = 10 USD)
- Trailing behavior (instant set SL to secure profit / step-based trailing) — implement instant secure SL by default, with an optional step-based trailing as an input.
6. EMA filter (multi-timeframe & configurable)
- Plot Exponential Moving Average (EMA) on the chart (default period = 20 EMA on chart timeframe).
- Display the EMA period and current EMA value on the chart and expose them as input parameters.
- Additional rule (4-hour filter): If the price has closed below the EMA on the selected higher timeframe (default = 4H), the EA must NOT allow new trades until the price has closed above that EMA on the same higher timeframe.
- Both the EMA period and the filter timeframe must be input parameters (so I can change them later).
7. Risk / metrics panel on chart
Display a small info panel on the chart showing (real-time and updated):
- Number of open trades (count).
- Current P/L (floating) in USD.
- Return on equity percentage (ROE) — formula: (current equity - starting equity) / starting equity * 100. Use equity at EA start or a configurable “base equity” input.
- High watermark (equity peak observed while EA has been running).
- Expected drawdown (value & percentage) assuming all 20 positions are opened and are in loss — compute worst-case equity if all positions opened at current size and then move to some realistic stress price?
- Implementation suggestion: compute expected drawdown using: worst-case scenario where all remaining allowed positions are opened at the furthest grid levels and move to a configurable adverse move. Provide inputs for how to compute this (e.g., assume each of 20 positions losing X USD each) — developer to propose a clear formula in documentation.
- All these metrics must refresh live and be visible on the main chart.
Manual Trading Compatibility-
- I am a semi-systematic trader and will also take manual long-term trades on the same symbol (Gold / XAUUSD).
- The EA must not interfere with any manual trades.
- The EA should:
- Only manage the trades that it has opened, identified by a unique MagicNumber.
- Completely ignore all manual trades (no modification, no closure, no trailing, no filters applied to manual positions).
- Not block me from manually opening or closing positions at any time.
- The EA’s logic (grid, max positions, EMA filter, trailing stop, etc.) must apply ONLY to EA trades, not manual trades.
Responded
1
Rating
Projects
3
33%
Arbitration
2
0%
/
100%
Overdue
0
Free
2
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
3
Rating
Projects
9
11%
Arbitration
0
Overdue
0
Free
4
Rating
Projects
150
41%
Arbitration
3
33%
/
33%
Overdue
1
1%
Working
5
Rating
Projects
976
74%
Arbitration
27
19%
/
67%
Overdue
101
10%
Working
Published: 1 article, 6 codes
6
Rating
Projects
0
0%
Arbitration
3
0%
/
33%
Overdue
0
Free
Published: 2 codes
7
Rating
Projects
47
28%
Arbitration
14
21%
/
64%
Overdue
1
2%
Busy
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
557
35%
Arbitration
79
32%
/
43%
Overdue
202
36%
Working
10
Rating
Projects
795
49%
Arbitration
71
17%
/
54%
Overdue
139
17%
Free
11
Rating
Projects
2
0%
Arbitration
1
0%
/
100%
Overdue
1
50%
Free
12
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
13
Rating
Projects
30
13%
Arbitration
12
0%
/
75%
Overdue
8
27%
Free
14
Rating
Projects
510
19%
Arbitration
33
45%
/
30%
Overdue
34
7%
Loaded
15
Rating
Projects
9
33%
Arbitration
11
0%
/
100%
Overdue
2
22%
Free
16
Rating
Projects
37
54%
Arbitration
2
50%
/
50%
Overdue
3
8%
Free
17
Rating
Projects
401
27%
Arbitration
40
40%
/
50%
Overdue
1
0%
Free
18
Rating
Projects
2914
63%
Arbitration
124
44%
/
25%
Overdue
429
15%
Loaded
19
Rating
Projects
5
40%
Arbitration
1
0%
/
0%
Overdue
0
Free
20
Rating
Projects
195
42%
Arbitration
13
8%
/
54%
Overdue
9
5%
Free
Published: 3 codes
21
Rating
Projects
3369
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
22
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
23
Rating
Projects
6
0%
Arbitration
0
Overdue
2
33%
Free
24
Rating
Projects
287
34%
Arbitration
18
22%
/
61%
Overdue
42
15%
Working
25
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
26
Rating
Projects
29
21%
Arbitration
20
10%
/
50%
Overdue
8
28%
Working
27
Rating
Projects
19
37%
Arbitration
3
0%
/
67%
Overdue
4
21%
Loaded
28
Rating
Projects
243
74%
Arbitration
7
100%
/
0%
Overdue
1
0%
Free
Published: 1 article
29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Rating
Projects
5
0%
Arbitration
2
50%
/
50%
Overdue
2
40%
Free
31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Rating
Projects
9
22%
Arbitration
0
Overdue
0
Free
33
Rating
Projects
262
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
34
Rating
Projects
475
40%
Arbitration
105
40%
/
24%
Overdue
80
17%
Busy
Published: 2 codes
35
Rating
Projects
1
100%
Arbitration
0
Overdue
0
Free
36
Rating
Projects
194
58%
Arbitration
10
80%
/
0%
Overdue
0
Working
Published: 1 code
37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Rating
Projects
396
28%
Arbitration
69
19%
/
49%
Overdue
121
31%
Free
39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
41
Rating
Projects
19
42%
Arbitration
6
0%
/
50%
Overdue
3
16%
Working
42
Rating
Projects
432
54%
Arbitration
20
55%
/
15%
Overdue
29
7%
Working
43
Rating
Projects
1
100%
Arbitration
0
Overdue
0
Free
44
Rating
Projects
5
60%
Arbitration
1
0%
/
0%
Overdue
2
40%
Free
Published: 1 code
45
Rating
Projects
549
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
46
Rating
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
47
Rating
Projects
13
8%
Arbitration
1
0%
/
100%
Overdue
0
Free
48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Yakubu Jnr Ai Bots
30+ USD
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Nyasco
30+ USD
Faster robot with less losses which can be used for a long term earning money every day creating a bot for more than thousands of people to earn billions of money
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
I am looking for a reliable and well-performing Expert Advisor (EA) that is proven to work effectively on a real trading account. The EA should demonstrate consistent profitability, controlled drawdown, and a strong return on investment (ROI). If you already have a ready-made EA that meets these criteria, I would be interested in reviewing its performance. Please provide access to a demo account, backtest results, or
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). Core Requirements at a Glance: Real-time Spread & Z-Score
Project information
Budget
50 - 200 USD
Deadline
to 5 day(s)