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

MQL5 Asesores Expertos

Tarea técnica

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!


Archivos adjuntos:

PNG
strategie.png
82.2 Kb

Han respondido

1
Desarrollador 1
Evaluación
(258)
Proyectos
323
30%
Arbitraje
34
26% / 65%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(11)
Proyectos
18
17%
Arbitraje
3
33% / 67%
Caducado
3
17%
Libre
3
Desarrollador 3
Evaluación
(19)
Proyectos
24
8%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabajando
4
Desarrollador 4
Evaluación
(104)
Proyectos
127
24%
Arbitraje
23
30% / 52%
Caducado
8
6%
Libre
5
Desarrollador 5
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
6
Desarrollador 6
Evaluación
(454)
Proyectos
718
34%
Arbitraje
34
71% / 9%
Caducado
22
3%
Libre
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
9
Desarrollador 9
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(163)
Proyectos
172
44%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
12
Desarrollador 12
Evaluación
(2667)
Proyectos
3399
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(8)
Proyectos
9
11%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(851)
Proyectos
1460
72%
Arbitraje
122
29% / 48%
Caducado
356
24%
Trabaja
Ha publicado: 3 artículos
15
Desarrollador 15
Evaluación
(46)
Proyectos
59
53%
Arbitraje
7
86% / 0%
Caducado
2
3%
Trabaja
16
Desarrollador 16
Evaluación
(363)
Proyectos
436
54%
Arbitraje
22
50% / 14%
Caducado
30
7%
Trabajando
17
Desarrollador 17
Evaluación
(40)
Proyectos
43
58%
Arbitraje
2
50% / 0%
Caducado
1
2%
Trabaja
Ha publicado: 5 ejemplos
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(252)
Proyectos
462
26%
Arbitraje
139
20% / 60%
Caducado
100
22%
Libre
20
Desarrollador 20
Evaluación
(458)
Proyectos
798
48%
Arbitraje
74
19% / 51%
Caducado
139
17%
Trabaja
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Trabaja
23
Desarrollador 23
Evaluación
(169)
Proyectos
202
48%
Arbitraje
5
20% / 60%
Caducado
2
1%
Libre
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(5)
Proyectos
9
33%
Arbitraje
1
100% / 0%
Caducado
1
11%
Trabaja
26
Desarrollador 26
Evaluación
(6)
Proyectos
5
0%
Arbitraje
4
25% / 75%
Caducado
2
40%
Libre
27
Desarrollador 27
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
(3)
Proyectos
6
17%
Arbitraje
0
Caducado
1
17%
Libre
Ha publicado: 3 ejemplos
30
Desarrollador 30
Evaluación
(279)
Proyectos
376
72%
Arbitraje
19
32% / 47%
Caducado
14
4%
Trabaja
Ha publicado: 15 ejemplos
31
Desarrollador 31
Evaluación
(76)
Proyectos
86
29%
Arbitraje
8
13% / 63%
Caducado
4
5%
Trabajando
32
Desarrollador 32
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
33
Desarrollador 33
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
34
Desarrollador 34
Evaluación
(3)
Proyectos
4
0%
Arbitraje
0
Caducado
1
25%
Libre
35
Desarrollador 35
Evaluación
(25)
Proyectos
31
13%
Arbitraje
13
0% / 77%
Caducado
9
29%
Libre
36
Desarrollador 36
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
37
Desarrollador 37
Evaluación
(58)
Proyectos
90
43%
Arbitraje
4
0% / 100%
Caducado
3
3%
Trabaja
38
Desarrollador 38
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
39
Desarrollador 39
Evaluación
(242)
Proyectos
286
77%
Arbitraje
13
77% / 0%
Caducado
4
1%
Libre
40
Desarrollador 40
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
41
Desarrollador 41
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
42
Desarrollador 42
Evaluación
(314)
Proyectos
562
35%
Arbitraje
81
31% / 44%
Caducado
205
36%
Trabaja
43
Desarrollador 43
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
44
Desarrollador 44
Evaluación
(48)
Proyectos
56
34%
Arbitraje
15
27% / 60%
Caducado
1
2%
Trabaja
45
Desarrollador 45
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
46
Desarrollador 46
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
47
Desarrollador 47
Evaluación
(2322)
Proyectos
2925
63%
Arbitraje
123
45% / 25%
Caducado
429
15%
Trabaja
48
Desarrollador 48
Evaluación
(27)
Proyectos
29
38%
Arbitraje
0
Caducado
3
10%
Libre
49
Desarrollador 49
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
50
Desarrollador 50
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
51
Desarrollador 51
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
52
Desarrollador 52
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
53
Desarrollador 53
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
54
Desarrollador 54
Evaluación
(6)
Proyectos
9
11%
Arbitraje
4
50% / 0%
Caducado
0
Trabaja
Ha publicado: 3 artículos, 33 ejemplos
55
Desarrollador 55
Evaluación
(11)
Proyectos
18
28%
Arbitraje
4
50% / 50%
Caducado
1
6%
Libre
56
Desarrollador 56
Evaluación
(119)
Proyectos
169
38%
Arbitraje
9
78% / 22%
Caducado
15
9%
Libre
57
Desarrollador 57
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
58
Desarrollador 58
Evaluación
(6)
Proyectos
7
43%
Arbitraje
1
0% / 100%
Caducado
0
Libre
59
Desarrollador 59
Evaluación
(89)
Proyectos
252
79%
Arbitraje
9
22% / 56%
Caducado
35
14%
Trabaja
Ha publicado: 3 artículos, 26 ejemplos
Solicitudes similares
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)

Información sobre el proyecto

Presupuesto
30 - 100 USD
IVA (21%): 6.3 - 21 USD
Total: 36 - 121 USD
Para el ejecutor
27 - 90 USD

Cliente

Encargos realizados1
Número de arbitrajes0