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

MQL5 Experts

Termos de Referência

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!


Arquivos anexados:

PNG
strategie.png
82.2 Kb

Respondido

1
Desenvolvedor 1
Classificação
(258)
Projetos
323
30%
Arbitragem
34
26% / 65%
Expirado
10
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(11)
Projetos
18
17%
Arbitragem
3
33% / 67%
Expirado
3
17%
Livre
3
Desenvolvedor 3
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Carregado
4
Desenvolvedor 4
Classificação
(104)
Projetos
127
24%
Arbitragem
23
30% / 52%
Expirado
8
6%
Livre
5
Desenvolvedor 5
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(454)
Projetos
718
34%
Arbitragem
34
71% / 9%
Expirado
22
3%
Livre
7
Desenvolvedor 7
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(258)
Projetos
265
29%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
9
Desenvolvedor 9
Classificação
(13)
Projetos
20
40%
Arbitragem
1
0% / 100%
Expirado
1
5%
Livre
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(163)
Projetos
172
44%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
12
Desenvolvedor 12
Classificação
(2667)
Projetos
3399
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
13
Desenvolvedor 13
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(851)
Projetos
1460
72%
Arbitragem
122
29% / 48%
Expirado
356
24%
Trabalhando
Publicou: 3 artigos
15
Desenvolvedor 15
Classificação
(46)
Projetos
59
53%
Arbitragem
7
86% / 0%
Expirado
2
3%
Trabalhando
16
Desenvolvedor 16
Classificação
(363)
Projetos
436
54%
Arbitragem
22
50% / 14%
Expirado
30
7%
Carregado
17
Desenvolvedor 17
Classificação
(40)
Projetos
43
58%
Arbitragem
2
50% / 0%
Expirado
1
2%
Trabalhando
Publicou: 5 códigos
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(252)
Projetos
462
26%
Arbitragem
139
20% / 60%
Expirado
100
22%
Livre
20
Desenvolvedor 20
Classificação
(458)
Projetos
798
48%
Arbitragem
74
19% / 51%
Expirado
139
17%
Trabalhando
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
23
Desenvolvedor 23
Classificação
(169)
Projetos
202
48%
Arbitragem
5
20% / 60%
Expirado
2
1%
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(5)
Projetos
9
33%
Arbitragem
1
100% / 0%
Expirado
1
11%
Trabalhando
26
Desenvolvedor 26
Classificação
(6)
Projetos
5
0%
Arbitragem
4
25% / 75%
Expirado
2
40%
Livre
27
Desenvolvedor 27
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(3)
Projetos
6
17%
Arbitragem
0
Expirado
1
17%
Livre
Publicou: 3 códigos
30
Desenvolvedor 30
Classificação
(279)
Projetos
376
72%
Arbitragem
19
32% / 47%
Expirado
14
4%
Trabalhando
Publicou: 15 códigos
31
Desenvolvedor 31
Classificação
(76)
Projetos
86
29%
Arbitragem
8
13% / 63%
Expirado
4
5%
Carregado
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
34
Desenvolvedor 34
Classificação
(3)
Projetos
4
0%
Arbitragem
0
Expirado
1
25%
Livre
35
Desenvolvedor 35
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
Expirado
9
29%
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
(58)
Projetos
90
43%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
39
Desenvolvedor 39
Classificação
(242)
Projetos
286
77%
Arbitragem
13
77% / 0%
Expirado
4
1%
Livre
40
Desenvolvedor 40
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
41
Desenvolvedor 41
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
42
Desenvolvedor 42
Classificação
(314)
Projetos
562
35%
Arbitragem
81
31% / 44%
Expirado
205
36%
Trabalhando
43
Desenvolvedor 43
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
44
Desenvolvedor 44
Classificação
(48)
Projetos
56
34%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
45
Desenvolvedor 45
Classificação
(50)
Projetos
64
20%
Arbitragem
11
27% / 55%
Expirado
5
8%
Livre
46
Desenvolvedor 46
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
47
Desenvolvedor 47
Classificação
(2322)
Projetos
2925
63%
Arbitragem
123
45% / 25%
Expirado
429
15%
Trabalhando
48
Desenvolvedor 48
Classificação
(27)
Projetos
29
38%
Arbitragem
0
Expirado
3
10%
Livre
49
Desenvolvedor 49
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre
50
Desenvolvedor 50
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
51
Desenvolvedor 51
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
52
Desenvolvedor 52
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
53
Desenvolvedor 53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Desenvolvedor 54
Classificação
(6)
Projetos
9
11%
Arbitragem
4
50% / 0%
Expirado
0
Trabalhando
Publicou: 4 artigos, 33 códigos
55
Desenvolvedor 55
Classificação
(11)
Projetos
18
28%
Arbitragem
4
50% / 50%
Expirado
1
6%
Livre
56
Desenvolvedor 56
Classificação
(119)
Projetos
169
38%
Arbitragem
9
78% / 22%
Expirado
15
9%
Livre
57
Desenvolvedor 57
Classificação
(64)
Projetos
83
28%
Arbitragem
9
33% / 56%
Expirado
9
11%
Livre
Publicou: 1 código
58
Desenvolvedor 58
Classificação
(6)
Projetos
7
43%
Arbitragem
1
0% / 100%
Expirado
0
Livre
59
Desenvolvedor 59
Classificação
(89)
Projetos
252
79%
Arbitragem
9
22% / 56%
Expirado
35
14%
Trabalhando
Publicou: 3 artigos, 26 códigos
60
Desenvolvedor 60
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
61
Desenvolvedor 61
Classificação
(545)
Projetos
827
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
62
Desenvolvedor 62
Classificação
(512)
Projetos
551
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
Pedidos semelhantes
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)

Informações sobre o projeto

Orçamento
30 - 100 USD
IVA (21%): 6.3 - 21 USD
Total: 36 - 121 USD
Desenvolvedor
27 - 90 USD

Cliente

Pedidos postados1
Número de arbitragens0