Order Request — Gold Trading Robot

Specifiche

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.

 


Con risposta

1
Sviluppatore 1
Valutazioni
(3)
Progetti
3
33%
Arbitraggio
0
In ritardo
0
In elaborazione
2
Sviluppatore 2
Valutazioni
(1)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(98)
Progetti
106
28%
Arbitraggio
3
33% / 33%
In ritardo
2
2%
In elaborazione
5
Sviluppatore 5
Valutazioni
(490)
Progetti
950
75%
Arbitraggio
26
19% / 65%
In ritardo
100
11%
Caricato
Pubblicati: 1 articolo, 6 codici
6
Sviluppatore 6
Valutazioni
(1)
Progetti
0
0%
Arbitraggio
3
0% / 33%
In ritardo
0
Gratuito
Pubblicati: 2 codici
7
Sviluppatore 7
Valutazioni
(27)
Progetti
29
7%
Arbitraggio
11
9% / 64%
In ritardo
0
Occupato
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(304)
Progetti
544
35%
Arbitraggio
77
31% / 42%
In ritardo
196
36%
Caricato
10
Sviluppatore 10
Valutazioni
(452)
Progetti
786
48%
Arbitraggio
70
16% / 53%
In ritardo
139
18%
In elaborazione
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
In elaborazione
12
Sviluppatore 12
Valutazioni
(2)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(24)
Progetti
30
13%
Arbitraggio
10
0% / 50%
In ritardo
8
27%
Caricato
14
Sviluppatore 14
Valutazioni
(321)
Progetti
497
19%
Arbitraggio
33
42% / 30%
In ritardo
32
6%
Occupato
15
Sviluppatore 15
Valutazioni
(12)
Progetti
9
33%
Arbitraggio
11
0% / 100%
In ritardo
2
22%
Gratuito
16
Sviluppatore 16
Valutazioni
(29)
Progetti
36
53%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
17
Sviluppatore 17
Valutazioni
(268)
Progetti
396
27%
Arbitraggio
38
39% / 50%
In ritardo
1
0%
Gratuito
18
Sviluppatore 18
Valutazioni
(2279)
Progetti
2873
63%
Arbitraggio
121
45% / 26%
In ritardo
429
15%
Gratuito
19
Sviluppatore 19
Valutazioni
(4)
Progetti
5
40%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(171)
Progetti
195
42%
Arbitraggio
12
8% / 50%
In ritardo
9
5%
In elaborazione
Pubblicati: 3 codici
21
Sviluppatore 21
Valutazioni
(2622)
Progetti
3327
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
22
Sviluppatore 22
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
23
Sviluppatore 23
Valutazioni
(5)
Progetti
5
0%
Arbitraggio
0
In ritardo
1
20%
In elaborazione
24
Sviluppatore 24
Valutazioni
(159)
Progetti
284
35%
Arbitraggio
17
24% / 59%
In ritardo
42
15%
Caricato
25
Sviluppatore 25
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
26
Sviluppatore 26
Valutazioni
(25)
Progetti
29
21%
Arbitraggio
20
10% / 50%
In ritardo
8
28%
In elaborazione
27
Sviluppatore 27
Valutazioni
(6)
Progetti
11
36%
Arbitraggio
2
0% / 100%
In ritardo
1
9%
Gratuito
28
Sviluppatore 28
Valutazioni
(77)
Progetti
240
73%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
29
Sviluppatore 29
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
30
Sviluppatore 30
Valutazioni
(5)
Progetti
4
0%
Arbitraggio
2
50% / 50%
In ritardo
2
50%
Gratuito
31
Sviluppatore 31
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
32
Sviluppatore 32
Valutazioni
(8)
Progetti
9
22%
Arbitraggio
0
In ritardo
0
Gratuito
33
Sviluppatore 33
Valutazioni
(246)
Progetti
253
30%
Arbitraggio
0
In ritardo
3
1%
Gratuito
Pubblicati: 2 codici
34
Sviluppatore 34
Valutazioni
(294)
Progetti
469
39%
Arbitraggio
100
41% / 23%
In ritardo
77
16%
Caricato
Pubblicati: 2 codici
35
Sviluppatore 35
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
36
Sviluppatore 36
Valutazioni
(151)
Progetti
188
57%
Arbitraggio
10
80% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
37
Sviluppatore 37
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
38
Sviluppatore 38
Valutazioni
(258)
Progetti
396
28%
Arbitraggio
69
19% / 49%
In ritardo
121
31%
Gratuito
39
Sviluppatore 39
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
40
Sviluppatore 40
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
58
40% / 36%
In ritardo
228
41%
In elaborazione
41
Sviluppatore 41
Valutazioni
(9)
Progetti
18
39%
Arbitraggio
6
0% / 33%
In ritardo
3
17%
Caricato
42
Sviluppatore 42
Valutazioni
(322)
Progetti
385
52%
Arbitraggio
19
53% / 16%
In ritardo
26
7%
Occupato
43
Sviluppatore 43
Valutazioni
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
44
Sviluppatore 44
Valutazioni
(5)
Progetti
5
60%
Arbitraggio
1
0% / 0%
In ritardo
2
40%
Gratuito
Pubblicati: 1 codice
45
Sviluppatore 45
Valutazioni
(509)
Progetti
546
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
In elaborazione
46
Sviluppatore 46
Valutazioni
(6)
Progetti
10
30%
Arbitraggio
0
In ritardo
2
20%
In elaborazione
47
Sviluppatore 47
Valutazioni
(12)
Progetti
13
8%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
48
Sviluppatore 48
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
123c ea 30+ USD
i need to fix this it is returning invald 2025.12.25 23:08:31.011 Trades '700031908': failed prices for 0 [Invalid request] i want it fixed i use Ai to chek and this is what it report
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Hi! I need a trading bot/robot to automate my trades. I don't need much complicated bot. I want it to enter, exit trade and can do this in matter of second or multiple times in a second. Should be able to adjust, put SL/TP in the same menu. Would appreciate your ideas! Please write to me before anything else

Informazioni sul progetto

Budget
50 - 200 USD
Scadenze
a 5 giorno(i)