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
(9)
Projetos
10
10%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(180)
Projetos
194
46%
Arbitragem
4
50% / 25%
Expirado
1
1%
Carregado
5
Desenvolvedor 5
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Trabalhando
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
(52)
Projetos
65
40%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(319)
Projetos
571
35%
Arbitragem
83
31% / 45%
Expirado
206
36%
Livre
10
Desenvolvedor 10
Classificação
(465)
Projetos
815
49%
Arbitragem
75
21% / 51%
Expirado
142
17%
Livre
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
(25)
Projetos
31
13%
Arbitragem
14
0% / 79%
Expirado
9
29%
Livre
14
Desenvolvedor 14
Classificação
(329)
Projetos
515
19%
Arbitragem
35
46% / 31%
Expirado
34
7%
Trabalhando
15
Desenvolvedor 15
Classificação
(12)
Projetos
9
33%
Arbitragem
11
0% / 100%
Expirado
2
22%
Livre
16
Desenvolvedor 16
Classificação
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
17
Desenvolvedor 17
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
18
Desenvolvedor 18
Classificação
(2347)
Projetos
2953
63%
Arbitragem
125
44% / 26%
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
(2676)
Projetos
3414
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
(7)
Projetos
7
0%
Arbitragem
0
Expirado
2
29%
Livre
24
Desenvolvedor 24
Classificação
(162)
Projetos
289
35%
Arbitragem
18
22% / 61%
Expirado
43
15%
Livre
25
Desenvolvedor 25
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
26
Desenvolvedor 26
Classificação
(29)
Projetos
33
27%
Arbitragem
20
10% / 50%
Expirado
11
33%
Livre
27
Desenvolvedor 27
Classificação
(16)
Projetos
30
40%
Arbitragem
3
33% / 67%
Expirado
7
23%
Trabalhando
28
Desenvolvedor 28
Classificação
(78)
Projetos
246
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
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
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
269
29%
Arbitragem
2
50% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
34
Desenvolvedor 34
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
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
(161)
Projetos
208
61%
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
70
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
(13)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
Livre
42
Desenvolvedor 42
Classificação
(369)
Projetos
455
55%
Arbitragem
23
57% / 17%
Expirado
31
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
(515)
Projetos
554
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
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able

Informações sobre o projeto

Orçamento
50 - 200 USD
Prazo
para 5 dias