Expert Advisor Development: Hedging & Recovery Grid System for Gold (XAUUSD)

Specification

I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution.

​Core Logic:

  1. ​Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps).
  2. ​Dynamic TP: Total basket TP must update instantly upon new order opening (Formula: Break-even + $1.5 movement).
  3. ​Smart Entry: After a TP hit, wait for a new 1-minute candle to open, then trigger a trade only in the winning direction.
  4. ​Memory Constraint: Only the 'Last Opened Trade' should be the reference for the $8.00 step-distance calculation. Ignore older trades.
  5. ​Hedging & Recovery: If total floating loss hits $15,000, freeze basket (Magic 100), initiate hedge (Magic 200), and start recovery cycle (Magic 300).
  6. ​Final Exit: Close all baskets (100+200+300) once the total loss is recovered + target profit achieved.

​Mandatory Deliverables:

  • ​Complete source code (.mq5).
  • ​One-year Backtest Report: Must cover at least one year of XAUUSD data to verify logic and drawdown.
  • ​Code must be modular, clean, and optimized for performance."

Responded

1
Developer 1
Rating
(465)
Projects
815
49%
Arbitration
75
21% / 51%
Overdue
142
17%
Working
2
Developer 2
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
3
Developer 3
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
4
Developer 4
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
5
Developer 5
Rating
(19)
Projects
27
11%
Arbitration
11
9% / 55%
Overdue
12
44%
Free
6
Developer 6
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
7
Developer 7
Rating
(184)
Projects
198
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
8
Developer 8
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(19)
Projects
22
18%
Arbitration
9
33% / 44%
Overdue
3
14%
Working
Published: 1 code
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(559)
Projects
853
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
13
Developer 13
Rating
(162)
Projects
209
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
14
Developer 14
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
15
Developer 15
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
Overdue
8
6%
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
18
Developer 18
Rating
(75)
Projects
99
57%
Arbitration
5
80% / 20%
Overdue
5
5%
Loaded
19
Developer 19
Rating
(646)
Projects
874
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Working
20
Developer 20
Rating
(3)
Projects
9
67%
Arbitration
0
Overdue
0
Working
21
Developer 21
Rating
(2676)
Projects
3418
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
22
Developer 22
Rating
(13)
Projects
14
64%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(16)
Projects
21
29%
Arbitration
2
50% / 0%
Overdue
4
19%
Free
24
Developer 24
Rating
(61)
Projects
83
45%
Arbitration
27
11% / 70%
Overdue
8
10%
Free
25
Developer 25
Rating
(13)
Projects
23
39%
Arbitration
8
0% / 50%
Overdue
4
17%
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(3)
Projects
4
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(401)
Projects
519
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
29
Developer 29
Rating
(83)
Projects
97
32%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
30
Developer 30
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
31
Developer 31
Rating
(369)
Projects
459
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Free
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(630)
Projects
739
34%
Arbitration
49
53% / 39%
Overdue
15
2%
Working
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
38
Developer 38
Rating
(29)
Projects
35
37%
Arbitration
0
Overdue
2
6%
Working
39
Developer 39
Rating
(3)
Projects
7
29%
Arbitration
0
Overdue
4
57%
Free
40
Developer 40
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
41
Developer 41
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
42
Developer 42
Rating
(327)
Projects
332
71%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
43
Developer 43
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
44
Developer 44
Rating
(3)
Projects
3
100%
Arbitration
0
Overdue
0
Working
45
Developer 45
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Developer 49
Rating
(263)
Projects
309
76%
Arbitration
15
67% / 0%
Overdue
6
2%
Loaded
50
Developer 50
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
51
Developer 51
Rating
(15)
Projects
20
35%
Arbitration
3
0% / 100%
Overdue
0
Free
Published: 1 code
52
Developer 52
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
53
Developer 53
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
Entry Strategy: Explain exact conditions for opening a trade specific indicators like Moving Averages or RSI, time of day, or price action rules. Exit Strategy: Define when a trade should closeTake Profit, Stop Loss, Trailing Stop, or indicator signals. Daily Trading Rules: Specify daily limits if applicable maximum trades per day, specific trading hours, or maximum daily loss limit. Risk & Position Sizing: Indicate
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Hi All, I am looking for a bot EA which makes good profit. If any having please share it for TEST. After proper TESTING only I will make the payment, no cheating no fraud. Please do not waste the time also
Allow me to set the daily trading bias manually to BUY or SELL. Check my defined 4H and 1H trend-alignment conditions. Execute entries based on my 15-minute pullback and continuation rules. Trade only between 06:00 and 16:00 Nigeria time, Monday to Friday. Calculate lot size based on my chosen risk percentage and stop-loss distance. Automatically place stop-loss and take-profit orders. Enforce my daily trade limits
Hi, I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I’m not looking to build one from scratch at this stage. I would like to first test the EA on a **demo account** to see how it performs under live market conditions and
EMA Pin Bar EA 30 - 100 USD
I would like an EA that implements the strategy below: 1. It requires a 6 EMA, 18EMA, 50EMA and 200SMA 2. Trend filter: 50 is above 200 for a buy. 50 below 200 for a sell 3. FOR A BUY: After candle close, if 6 has crossed above 18 and trend filter is a buy: a. if the last candle was a pin bar (body is less than 50% of candle size, and upper wick is less than 10% of candle size) b. check if the candle is within 10
Hi, I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I’m not looking to build one from scratch at this stage. I would like to first test the EA on a **demo account** to see how it performs under live market conditions and
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
Hi there I need an developer to create a ea for mt5 and mt4 but the ea should be an fast connect ea meaning by taping the ea then automatically it connect to mt5 chart same in mt4 It should place order using invisible buy and invisible sell when the bid price breakout in 1 point Automatically it place an order depends on which direction and invisible stop loss in points , please reply if you can

Project information

Budget
100+ USD