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

MQL5 Uzmanlar

Şartname

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!


Dosyalar:

PNG
strategie.png
82.2 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(258)
Projeler
323
30%
Arabuluculuk
34
26% / 65%
Süresi dolmuş
10
3%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(11)
Projeler
18
17%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
3
17%
Serbest
3
Geliştirici 3
Derecelendirme
(19)
Projeler
24
8%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Yüklendi
4
Geliştirici 4
Derecelendirme
(104)
Projeler
127
24%
Arabuluculuk
23
30% / 52%
Süresi dolmuş
8
6%
Serbest
5
Geliştirici 5
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(454)
Projeler
718
34%
Arabuluculuk
34
71% / 9%
Süresi dolmuş
22
3%
Serbest
7
Geliştirici 7
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(258)
Projeler
265
29%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
9
Geliştirici 9
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
5%
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(163)
Projeler
172
44%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
12
Geliştirici 12
Derecelendirme
(2667)
Projeler
3399
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
13
Geliştirici 13
Derecelendirme
(8)
Projeler
9
11%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(851)
Projeler
1460
72%
Arabuluculuk
122
29% / 48%
Süresi dolmuş
356
24%
Çalışıyor
Yayınlandı: 3 makale
15
Geliştirici 15
Derecelendirme
(46)
Projeler
59
53%
Arabuluculuk
7
86% / 0%
Süresi dolmuş
2
3%
Çalışıyor
16
Geliştirici 16
Derecelendirme
(363)
Projeler
436
54%
Arabuluculuk
22
50% / 14%
Süresi dolmuş
30
7%
Yüklendi
17
Geliştirici 17
Derecelendirme
(40)
Projeler
43
58%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
2%
Çalışıyor
Yayınlandı: 5 kod
18
Geliştirici 18
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(252)
Projeler
462
26%
Arabuluculuk
139
20% / 60%
Süresi dolmuş
100
22%
Serbest
20
Geliştirici 20
Derecelendirme
(458)
Projeler
798
48%
Arabuluculuk
74
19% / 51%
Süresi dolmuş
139
17%
Çalışıyor
21
Geliştirici 21
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
23
Geliştirici 23
Derecelendirme
(169)
Projeler
202
48%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
2
1%
Serbest
24
Geliştirici 24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
(5)
Projeler
9
33%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
11%
Çalışıyor
26
Geliştirici 26
Derecelendirme
(6)
Projeler
5
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
40%
Serbest
27
Geliştirici 27
Derecelendirme
(298)
Projeler
477
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
81
17%
Yüklendi
Yayınlandı: 2 kod
28
Geliştirici 28
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
29
Geliştirici 29
Derecelendirme
(3)
Projeler
6
17%
Arabuluculuk
0
Süresi dolmuş
1
17%
Serbest
Yayınlandı: 3 kod
30
Geliştirici 30
Derecelendirme
(279)
Projeler
376
72%
Arabuluculuk
19
32% / 47%
Süresi dolmuş
14
4%
Çalışıyor
Yayınlandı: 15 kod
31
Geliştirici 31
Derecelendirme
(76)
Projeler
86
29%
Arabuluculuk
8
13% / 63%
Süresi dolmuş
4
5%
Yüklendi
32
Geliştirici 32
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
33
Geliştirici 33
Derecelendirme
(206)
Projeler
333
35%
Arabuluculuk
66
12% / 58%
Süresi dolmuş
87
26%
Serbest
34
Geliştirici 34
Derecelendirme
(3)
Projeler
4
0%
Arabuluculuk
0
Süresi dolmuş
1
25%
Serbest
35
Geliştirici 35
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
13
0% / 77%
Süresi dolmuş
9
29%
Serbest
36
Geliştirici 36
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
37
Geliştirici 37
Derecelendirme
(58)
Projeler
90
43%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
3
3%
Çalışıyor
38
Geliştirici 38
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
39
Geliştirici 39
Derecelendirme
(242)
Projeler
286
77%
Arabuluculuk
13
77% / 0%
Süresi dolmuş
4
1%
Serbest
40
Geliştirici 40
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
41
Geliştirici 41
Derecelendirme
(4)
Projeler
8
0%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
4
50%
Serbest
42
Geliştirici 42
Derecelendirme
(314)
Projeler
562
35%
Arabuluculuk
81
31% / 44%
Süresi dolmuş
205
36%
Çalışıyor
43
Geliştirici 43
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
44
Geliştirici 44
Derecelendirme
(48)
Projeler
56
34%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
45
Geliştirici 45
Derecelendirme
(50)
Projeler
64
20%
Arabuluculuk
11
27% / 55%
Süresi dolmuş
5
8%
Serbest
46
Geliştirici 46
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
47
Geliştirici 47
Derecelendirme
(2322)
Projeler
2925
63%
Arabuluculuk
123
45% / 25%
Süresi dolmuş
429
15%
Çalışıyor
48
Geliştirici 48
Derecelendirme
(27)
Projeler
29
38%
Arabuluculuk
0
Süresi dolmuş
3
10%
Serbest
49
Geliştirici 49
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
1
100%
Serbest
50
Geliştirici 50
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
51
Geliştirici 51
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
52
Geliştirici 52
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
53
Geliştirici 53
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
54
Geliştirici 54
Derecelendirme
(6)
Projeler
9
11%
Arabuluculuk
4
50% / 0%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 3 makale, 33 kod
55
Geliştirici 55
Derecelendirme
(11)
Projeler
18
28%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
1
6%
Serbest
56
Geliştirici 56
Derecelendirme
(119)
Projeler
169
38%
Arabuluculuk
9
78% / 22%
Süresi dolmuş
15
9%
Serbest
57
Geliştirici 57
Derecelendirme
(64)
Projeler
83
28%
Arabuluculuk
9
33% / 56%
Süresi dolmuş
9
11%
Serbest
Yayınlandı: 1 kod
58
Geliştirici 58
Derecelendirme
(6)
Projeler
7
43%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
59
Geliştirici 59
Derecelendirme
(89)
Projeler
252
79%
Arabuluculuk
9
22% / 56%
Süresi dolmuş
35
14%
Çalışıyor
Yayınlandı: 3 makale, 26 kod
Benzer siparişler
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)

Proje bilgisi

Bütçe
30 - 100 USD
KDV (21%): 6.3 - 21 USD
Toplam: 36 - 121 USD
Geliştirici için
27 - 90 USD

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0