MT5 EA - Daily High/Low Breakout with custom Fibo SL/TP (XAUUSD)

MQL5 Experts

Specification

Hello, I need a semi-automated Expert Advisor (EA) for MetaTrader 5 to trade Gold (XAUUSD). The EA will place two pending orders every morning based on the previous day's high/low and manage the risk dynamically.

--- LOGIC & ENTRY CONDITIONS --- - Every day exactly at 05:59 (broker time), the EA must automatically check for and delete any remaining untriggered pending orders from the previous day to clean the chart. - Then, exactly at 06:00 (Start_Time, broker time), the EA looks back 24 hours and identifies the Highest High (Level 1) and the Lowest Low (Level 0). The distance between High and Low is the "Range".

Exactly at 06:00, the EA must place two new pending orders:

1) BUY STOP at Level 1 (High) - Stop Loss = Level 0.9 (High - 10% of the Range) - Take Profit = Level 1.35 (High + 35% of the Range)

2) SELL STOP at Level 0 (Low) - Stop Loss = Level 0.1 (Low + 10% of the Range) - Take Profit = Level -0.35 (Low - 35% of the Range)

*Important Note: This is a semi-automated system. I must be able to manually delete one of these pending orders from the chart if I decide to trade only one direction. The EA must not re-open the deleted order and must continue managing the remaining one.

--- MONEY MANAGEMENT (PROP FIRM FRIENDLY) --- The lot size must be calculated automatically based on a fixed dollar amount, NOT the current account balance/equity. - The user will input "Initial_Capital" (e.g., 100,000 USD) and "Risk_Percent" (e.g., 1.0%). - The EA must calculate the risk size from this initial capital (100k * 1% = 1,000 USD risk) and always risk exactly this amount, regardless of current account profit or drawdown. - Lot size = (Risk Amount in USD) / (Distance between Entry and SL in points).

--- EXIT & WEEKEND LOGIC --- - Friday Close: On Friday evening at a specific time (Friday_Close_Time, e.g., 22:45 broker time), the EA must automatically delete all remaining pending orders AND market-close all currently open positions. No trades can be held over the weekend.

--- INPUT PARAMETERS REQUIRED ---

- Delete_Time (default: 05:59) -

Start_Time (default: 06:00)

- Initial_Capital (default: 100000

) - Risk_Percent (default: 1.0) -

Friday_Close_Time (default: 22:45)

- Max_Spread_Filter (in points) -

Magic_Number (unique ID for the EA) Please provide clean code and a compiled .ex5 file. Thank you!


Files:

PNG
strategie.png
82.2 Kb

Responded

1
Developer 1
Rating
(258)
Projects
323
30%
Arbitration
34
26% / 65%
Overdue
10
3%
Working
2
Developer 2
Rating
(11)
Projects
18
17%
Arbitration
3
33% / 67%
Overdue
3
17%
Free
3
Developer 3
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
4
Developer 4
Rating
(104)
Projects
127
24%
Arbitration
23
30% / 52%
Overdue
8
6%
Free
5
Developer 5
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
(454)
Projects
718
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
7
Developer 7
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(258)
Projects
265
29%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
9
Developer 9
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(163)
Projects
172
44%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
12
Developer 12
Rating
(2667)
Projects
3399
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
13
Developer 13
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(851)
Projects
1460
72%
Arbitration
122
29% / 48%
Overdue
356
24%
Working
Published: 3 articles
15
Developer 15
Rating
(46)
Projects
59
53%
Arbitration
7
86% / 0%
Overdue
2
3%
Working
16
Developer 16
Rating
(363)
Projects
436
54%
Arbitration
22
50% / 14%
Overdue
30
7%
Loaded
17
Developer 17
Rating
(40)
Projects
43
58%
Arbitration
2
50% / 0%
Overdue
1
2%
Working
Published: 5 codes
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
20
Developer 20
Rating
(458)
Projects
798
48%
Arbitration
74
19% / 51%
Overdue
139
17%
Working
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
23
Developer 23
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(5)
Projects
9
33%
Arbitration
1
100% / 0%
Overdue
1
11%
Working
26
Developer 26
Rating
(6)
Projects
5
0%
Arbitration
4
25% / 75%
Overdue
2
40%
Free
27
Developer 27
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(3)
Projects
6
17%
Arbitration
0
Overdue
1
17%
Free
Published: 3 codes
30
Developer 30
Rating
(279)
Projects
376
72%
Arbitration
19
32% / 47%
Overdue
14
4%
Working
Published: 15 codes
31
Developer 31
Rating
(76)
Projects
86
29%
Arbitration
8
13% / 63%
Overdue
4
5%
Loaded
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
34
Developer 34
Rating
(3)
Projects
4
0%
Arbitration
0
Overdue
1
25%
Free
35
Developer 35
Rating
(25)
Projects
31
13%
Arbitration
13
0% / 77%
Overdue
9
29%
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(58)
Projects
90
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(242)
Projects
286
77%
Arbitration
13
77% / 0%
Overdue
4
1%
Free
40
Developer 40
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
41
Developer 41
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
42
Developer 42
Rating
(314)
Projects
562
35%
Arbitration
81
31% / 44%
Overdue
205
36%
Working
43
Developer 43
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
44
Developer 44
Rating
(48)
Projects
56
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
45
Developer 45
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
47
Developer 47
Rating
(2322)
Projects
2925
63%
Arbitration
123
45% / 25%
Overdue
429
15%
Working
48
Developer 48
Rating
(27)
Projects
29
38%
Arbitration
0
Overdue
3
10%
Free
49
Developer 49
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
52
Developer 52
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
53
Developer 53
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
(6)
Projects
9
11%
Arbitration
4
50% / 0%
Overdue
0
Working
Published: 3 articles, 33 codes
55
Developer 55
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
56
Developer 56
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
57
Developer 57
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
58
Developer 58
Rating
(6)
Projects
7
43%
Arbitration
1
0% / 100%
Overdue
0
Free
59
Developer 59
Rating
(89)
Projects
252
79%
Arbitration
9
22% / 56%
Overdue
35
14%
Working
Published: 3 articles, 26 codes
Similar orders
Expert Advisor Development Specification (MT5) Project Overview I am looking for an experienced MQL5 developer to build a professional Expert Advisor for MetaTrader 5 dedicated exclusively to Bitcoin trading (BTCUSD / BTCUSDT). The objective is to create a robust, adaptive trading system focused on consistency, controlled drawdown, and long-term scalability. The EA must NOT use: Martingale Grid systems Recovery
Expert should be able to place trades across all Forex symbols (solution is advised) . xauusd live chart execution error . Deletion and Cleaning the Code (if required) . Live Chart Only
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
Simple EA 100+ USD
I need write EA which load csv file which content prices where is expected support/resistance level. When market price overstep price from csv file, EA open trade some pips above/under csv file price. Example: at symbol EURUSD market price overstep 1.16500 where is expected resistance. EA open trade pending order sellstop 1.1647 (3 pips will be external input). Trade will be closed based on smart trailling stoploss
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Hi, GOLD EA is an automated trading robot designed for MetaTrader 5, focused mainly on GOLD/XAUUSD trading. The EA uses a combination of multi-timeframe trend confirmation, EMA pullback logic, ADX strength filtering, support/resistance rejection, momentum breakout, and reversal capture modules to identify potential Buy and Sell opportunities. Strategy and Trading Logic: The EA is designed to detect market direction
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
I am looking for an MQL5 or MQL4 developer to build an Expert Advisor What I need: The Expert Advisor should be able to open up to 10 trades per day (24-hour market) Trades should not open all at once — only based on proper signals/conditions Each trade must include: Stop Loss Take Profit The Expert Advisor must use 1:2 risk to reward The strategy should aim for around 50% win rate (about 5 wins out of 10 trades)

Project information

Budget
30 - 100 USD
VAT (21%): 6.3 - 21 USD
Total: 36 - 121 USD
For the developer
27 - 90 USD

Customer

Placed orders1
Arbitrage count0