Order Request — Gold Trading Robot

Termos de Referência

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.

 


Respondido

1
Desenvolvedor 1
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(1)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(148)
Projetos
157
42%
Arbitragem
3
33% / 33%
Expirado
1
1%
Carregado
5
Desenvolvedor 5
Classificação
(509)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
101
10%
Livre
Publicou: 1 artigo, 6 códigos
6
Desenvolvedor 6
Classificação
(1)
Projetos
0
0%
Arbitragem
3
0% / 33%
Expirado
0
Livre
Publicou: 2 códigos
7
Desenvolvedor 7
Classificação
(43)
Projetos
50
28%
Arbitragem
14
21% / 64%
Expirado
1
2%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(313)
Projetos
559
35%
Arbitragem
80
31% / 44%
Expirado
203
36%
Livre
10
Desenvolvedor 10
Classificação
(458)
Projetos
796
49%
Arbitragem
73
16% / 52%
Expirado
139
17%
Carregado
11
Desenvolvedor 11
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
1
50%
Livre
Publicou: 4 códigos
12
Desenvolvedor 12
Classificação
(2)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(24)
Projetos
30
13%
Arbitragem
12
0% / 75%
Expirado
8
27%
Livre
14
Desenvolvedor 14
Classificação
(328)
Projetos
512
19%
Arbitragem
33
45% / 30%
Expirado
34
7%
Carregado
15
Desenvolvedor 15
Classificação
(12)
Projetos
9
33%
Arbitragem
11
0% / 100%
Expirado
2
22%
Livre
16
Desenvolvedor 16
Classificação
(30)
Projetos
37
54%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
17
Desenvolvedor 17
Classificação
(273)
Projetos
402
27%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
18
Desenvolvedor 18
Classificação
(2321)
Projetos
2924
63%
Arbitragem
123
45% / 25%
Expirado
429
15%
Livre
19
Desenvolvedor 19
Classificação
(4)
Projetos
5
40%
Arbitragem
1
0% / 0%
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
21
Desenvolvedor 21
Classificação
(2660)
Projetos
3380
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
22
Desenvolvedor 22
Classificação
(2)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(6)
Projetos
6
0%
Arbitragem
0
Expirado
2
33%
Livre
24
Desenvolvedor 24
Classificação
(162)
Projetos
288
35%
Arbitragem
18
22% / 61%
Expirado
42
15%
Trabalhando
25
Desenvolvedor 25
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
26
Desenvolvedor 26
Classificação
(27)
Projetos
31
23%
Arbitragem
20
10% / 50%
Expirado
10
32%
Trabalhando
27
Desenvolvedor 27
Classificação
(11)
Projetos
21
33%
Arbitragem
2
0% / 100%
Expirado
4
19%
Carregado
28
Desenvolvedor 28
Classificação
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
(6)
Projetos
5
0%
Arbitragem
3
33% / 67%
Expirado
2
40%
Livre
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
(8)
Projetos
9
22%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(258)
Projetos
264
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
34
Desenvolvedor 34
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
35
Desenvolvedor 35
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
(156)
Projetos
197
59%
Arbitragem
10
80% / 0%
Expirado
0
Livre
Publicou: 1 código
37
Desenvolvedor 37
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
38
Desenvolvedor 38
Classificação
(258)
Projetos
396
28%
Arbitragem
69
19% / 49%
Expirado
121
31%
Trabalhando
39
Desenvolvedor 39
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
40
Desenvolvedor 40
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
41
Desenvolvedor 41
Classificação
(10)
Projetos
19
42%
Arbitragem
7
0% / 57%
Expirado
3
16%
Trabalhando
42
Desenvolvedor 42
Classificação
(362)
Projetos
435
54%
Arbitragem
20
55% / 15%
Expirado
30
7%
Trabalhando
43
Desenvolvedor 43
Classificação
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
44
Desenvolvedor 44
Classificação
(5)
Projetos
5
60%
Arbitragem
1
0% / 0%
Expirado
2
40%
Livre
Publicou: 1 código
45
Desenvolvedor 45
Classificação
(511)
Projetos
549
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
46
Desenvolvedor 46
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
47
Desenvolvedor 47
Classificação
(12)
Projetos
13
8%
Arbitragem
1
0% / 100%
Expirado
0
Livre
48
Desenvolvedor 48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
50 - 200 USD
Prazo
para 5 dias