Order Request — Gold Trading Robot

İş Gereklilikleri

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.

 


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(1)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(8)
Projeler
9
11%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(140)
Projeler
149
41%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(505)
Projeler
972
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Yüklendi
Yayınlandı: 1 makale, 6 kod
6
Geliştirici 6
Derecelendirme
(1)
Projeler
0
0%
Arabuluculuk
3
0% / 33%
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
7
Geliştirici 7
Derecelendirme
(39)
Projeler
44
25%
Arabuluculuk
13
8% / 69%
Süresi dolmuş
1
2%
Meşgul
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(309)
Projeler
555
35%
Arabuluculuk
79
32% / 42%
Süresi dolmuş
201
36%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(456)
Projeler
794
49%
Arabuluculuk
71
17% / 54%
Süresi dolmuş
139
18%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
50%
Serbest
12
Geliştirici 12
Derecelendirme
(2)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(24)
Projeler
30
13%
Arabuluculuk
12
0% / 75%
Süresi dolmuş
8
27%
Serbest
14
Geliştirici 14
Derecelendirme
(326)
Projeler
507
19%
Arabuluculuk
33
42% / 30%
Süresi dolmuş
34
7%
Meşgul
15
Geliştirici 15
Derecelendirme
(12)
Projeler
9
33%
Arabuluculuk
11
0% / 100%
Süresi dolmuş
2
22%
Serbest
16
Geliştirici 16
Derecelendirme
(30)
Projeler
37
54%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
3
8%
Serbest
17
Geliştirici 17
Derecelendirme
(272)
Projeler
401
27%
Arabuluculuk
39
41% / 49%
Süresi dolmuş
1
0%
Serbest
18
Geliştirici 18
Derecelendirme
(2311)
Projeler
2908
63%
Arabuluculuk
122
44% / 25%
Süresi dolmuş
429
15%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(4)
Projeler
5
40%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
20
Geliştirici 20
Derecelendirme
(171)
Projeler
195
42%
Arabuluculuk
13
8% / 54%
Süresi dolmuş
9
5%
Serbest
Yayınlandı: 3 kod
21
Geliştirici 21
Derecelendirme
(2643)
Projeler
3359
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Çalışıyor
Yayınlandı: 1 kod
22
Geliştirici 22
Derecelendirme
(2)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
23
Geliştirici 23
Derecelendirme
(6)
Projeler
6
0%
Arabuluculuk
0
Süresi dolmuş
2
33%
Serbest
24
Geliştirici 24
Derecelendirme
(160)
Projeler
285
35%
Arabuluculuk
18
22% / 61%
Süresi dolmuş
42
15%
Yüklendi
25
Geliştirici 25
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
26
Geliştirici 26
Derecelendirme
(25)
Projeler
29
21%
Arabuluculuk
20
10% / 50%
Süresi dolmuş
8
28%
Çalışıyor
27
Geliştirici 27
Derecelendirme
(8)
Projeler
17
41%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
4
24%
Çalışıyor
28
Geliştirici 28
Derecelendirme
(77)
Projeler
243
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
29
Geliştirici 29
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
30
Geliştirici 30
Derecelendirme
(6)
Projeler
5
0%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
40%
Serbest
31
Geliştirici 31
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
32
Geliştirici 32
Derecelendirme
(8)
Projeler
9
22%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
33
Geliştirici 33
Derecelendirme
(253)
Projeler
259
30%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
34
Geliştirici 34
Derecelendirme
(295)
Projeler
474
39%
Arabuluculuk
103
41% / 23%
Süresi dolmuş
79
17%
Meşgul
Yayınlandı: 2 kod
35
Geliştirici 35
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
36
Geliştirici 36
Derecelendirme
(154)
Projeler
193
58%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
37
Geliştirici 37
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
38
Geliştirici 38
Derecelendirme
(258)
Projeler
396
28%
Arabuluculuk
69
19% / 49%
Süresi dolmuş
121
31%
Serbest
39
Geliştirici 39
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
40
Geliştirici 40
Derecelendirme
(270)
Projeler
552
49%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
41
Geliştirici 41
Derecelendirme
(10)
Projeler
19
42%
Arabuluculuk
6
0% / 50%
Süresi dolmuş
3
16%
Çalışıyor
42
Geliştirici 42
Derecelendirme
(351)
Projeler
422
54%
Arabuluculuk
20
55% / 15%
Süresi dolmuş
29
7%
Çalışıyor
43
Geliştirici 43
Derecelendirme
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
44
Geliştirici 44
Derecelendirme
(5)
Projeler
5
60%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
2
40%
Serbest
Yayınlandı: 1 kod
45
Geliştirici 45
Derecelendirme
(511)
Projeler
549
53%
Arabuluculuk
13
69% / 15%
Süresi dolmuş
3
1%
Serbest
46
Geliştirici 46
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
47
Geliştirici 47
Derecelendirme
(12)
Projeler
13
8%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
48
Geliştirici 48
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Articles How to create Requirements Specification for ordering an indicator 76 MetaQuotes 51 380 Table of Contents How can algo trading make a trader's live easier? Supplement text with images and videos Useful programs for creating Requirements Specification Formulating the Requirements Specification as an algorithm Requirements Specification Examples What can I specify in the Requirements Specification? Indicator
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy

Proje bilgisi

Bütçe
50 - 200 USD
Son teslim tarihi
to 5 gün