Order Request — Gold Trading Robot

Tarea técnica

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.

 


Han respondido

1
Desarrollador 1
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(8)
Proyectos
9
11%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(148)
Proyectos
157
42%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabajando
5
Desarrollador 5
Evaluación
(509)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
101
10%
Libre
Ha publicado: 1 artículo, 6 ejemplos
6
Desarrollador 6
Evaluación
(1)
Proyectos
0
0%
Arbitraje
3
0% / 33%
Caducado
0
Libre
Ha publicado: 2 ejemplos
7
Desarrollador 7
Evaluación
(43)
Proyectos
50
28%
Arbitraje
14
21% / 64%
Caducado
1
2%
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(313)
Proyectos
559
35%
Arbitraje
80
31% / 44%
Caducado
203
36%
Libre
10
Desarrollador 10
Evaluación
(458)
Proyectos
796
49%
Arbitraje
73
16% / 52%
Caducado
139
17%
Trabajando
11
Desarrollador 11
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
1
50%
Libre
Ha publicado: 4 ejemplos
12
Desarrollador 12
Evaluación
(2)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(24)
Proyectos
30
13%
Arbitraje
12
0% / 75%
Caducado
8
27%
Libre
14
Desarrollador 14
Evaluación
(328)
Proyectos
512
19%
Arbitraje
33
45% / 30%
Caducado
34
7%
Trabajando
15
Desarrollador 15
Evaluación
(12)
Proyectos
9
33%
Arbitraje
11
0% / 100%
Caducado
2
22%
Libre
16
Desarrollador 16
Evaluación
(30)
Proyectos
37
54%
Arbitraje
2
50% / 50%
Caducado
3
8%
Libre
17
Desarrollador 17
Evaluación
(273)
Proyectos
402
27%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
18
Desarrollador 18
Evaluación
(2321)
Proyectos
2924
63%
Arbitraje
123
45% / 25%
Caducado
429
15%
Libre
19
Desarrollador 19
Evaluación
(4)
Proyectos
5
40%
Arbitraje
1
0% / 0%
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(171)
Proyectos
195
42%
Arbitraje
13
8% / 54%
Caducado
9
5%
Libre
Ha publicado: 3 ejemplos
21
Desarrollador 21
Evaluación
(2660)
Proyectos
3380
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
22
Desarrollador 22
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(6)
Proyectos
6
0%
Arbitraje
0
Caducado
2
33%
Libre
24
Desarrollador 24
Evaluación
(162)
Proyectos
288
35%
Arbitraje
18
22% / 61%
Caducado
42
15%
Trabaja
25
Desarrollador 25
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
26
Desarrollador 26
Evaluación
(27)
Proyectos
31
23%
Arbitraje
20
10% / 50%
Caducado
10
32%
Trabaja
27
Desarrollador 27
Evaluación
(11)
Proyectos
21
33%
Arbitraje
2
0% / 100%
Caducado
4
19%
Trabajando
28
Desarrollador 28
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
29
Desarrollador 29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
(6)
Proyectos
5
0%
Arbitraje
3
33% / 67%
Caducado
2
40%
Libre
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
(8)
Proyectos
9
22%
Arbitraje
0
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(258)
Proyectos
264
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
34
Desarrollador 34
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
35
Desarrollador 35
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
36
Desarrollador 36
Evaluación
(156)
Proyectos
197
59%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
37
Desarrollador 37
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
38
Desarrollador 38
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Trabaja
39
Desarrollador 39
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
40
Desarrollador 40
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
41
Desarrollador 41
Evaluación
(10)
Proyectos
19
42%
Arbitraje
7
0% / 57%
Caducado
3
16%
Trabaja
42
Desarrollador 42
Evaluación
(362)
Proyectos
435
54%
Arbitraje
20
55% / 15%
Caducado
30
7%
Trabaja
43
Desarrollador 43
Evaluación
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
44
Desarrollador 44
Evaluación
(5)
Proyectos
5
60%
Arbitraje
1
0% / 0%
Caducado
2
40%
Libre
Ha publicado: 1 ejemplo
45
Desarrollador 45
Evaluación
(511)
Proyectos
549
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
46
Desarrollador 46
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
47
Desarrollador 47
Evaluación
(12)
Proyectos
13
8%
Arbitraje
1
0% / 100%
Caducado
0
Libre
48
Desarrollador 48
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc

Información sobre el proyecto

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