MT5 Expert Advisor: 1-Min Breakout with 56-Second Hard Exit & Trailing Balance Drawdown

İş tamamlandı

Tamamlanma süresi: 1 gün
Müşteri tarafından geri bildirim
very good he did exactly what i wanted very fast too professional
Geliştirici tarafından geri bildirim
Very respectful and understanding customer. He had clear requirements and was helpful.

Şartname

PLATFORM: MetaTrader 5 (MQL5)
ASSET: XAUUSD (Gold)
ACCOUNT TYPE: Live Raw Spread Account (Floating Spread + Commission) 500x leverage
The broker commission is exactly 
3 usd per standart lot per side6.00 round turn). The EA's internal trade tracking, net profit/loss metrics, and trailing drawdown calculations must completely factor in these commission charges alongside the raw asset spread.

I need a clean, optimized Expert Advisor for MT5 based on a 1-minute candle breakout strategy with strict time exits and capital protection.

1. INPUT SETTINGS (User Configurable)
• Target_Risk_Cash: (Fixed dollar amount per trade, e.g., i can control how much i can risk per trade like for example 5$ or 10 or 500 
• SL_Distance_Gold: (Fixed price distance, default 0.94) for example gold entry Price is 4300,50$ the sl is 4299,56$
• Risk_Reward_Ratio: (Default 1.10)
• Max_Daily_Loss_Percent: (Default 45.0)
• Session_1_Start / End: (Default 03:00 / 05:00 EST)
• Session_2_Start / End: (Default 08:00 / 12:00 EST)
 
NOTE ON TIME ZONES: Session inputs must reference the MetaTrader Server Time (TimeCurrent), NOT the user's local PC time. I will manually adjust these hour inputs to match my desired EST windows based on my broker's server clock.
I will 
Check their broker's server time using TimeCurrent() in MT5
Calculate the difference between their desired EST window and server time
Manually adjust the session inputs to match server time
Enter corrected values in the EA's input parameters
The EA should have two trading sessions that i control. I i i will decide when each session starts and ends by entering numbers in the EA settings.
The EA only trades during those times i set
The EA will have four input boxes that you fill in
1. Session 1 Start - When the first trading session begins
2. Session 1 End - When the first trading session ends
3. Session 2 Start - When the second trading session begins
4. Session 2 End - When the second trading session ends
the EA checks what time it is on my broker's server. If the current server time falls between any of the session start and end times, the EA is allowed to trade. If it's outside both sessions, the EA does nothing.
So if i set Session 1 to start at 11 and end at 13, the EA will only look for trades between 11:00 and 12:59 server time. At 13:00 exactly, it stops trading until the next session or the next day.


CORE TRADING LOGIC
• The EA monitors the 1-minute chart.
• Max 1 open trade at any given time. Only trade within the specified session hours.
• BUY ENTRY: If no trade is open, enter a BUY STOP Order the moment current price breaks above the HIGH of the previous completed 1-minute candle (Candle [1]).
• SELL ENTRY: If no trade is open, enter a SELL STOP Order the moment current price breaks below the LOW of the previous completed 1-minute candle (Candle [1]).
• TAKE PROFIT: Calculated using the Risk_Reward_Ratio multiplied by the SL distance. 1.10rr
• STOP LOSS: Fixed at the SL_Distance_Gold (e.g., if entry is 4350.00, SL for Buy is 4349.06).

• LOT SIZING: Must calculate dynamically before entry so that hitting the full SL equals exactly the Target_Risk_Cash amount that i chosed


HARD TIME EXIT (OnTimer execution)
• To ensure speed, please use an OnTimer() loop running every 1000ms.
• If a trade is open and the current server time reaches the 56th second of the minute (e.g., XX:XX:56), the trade must be closed immediately via market order, regardless of profit or loss status.If neither pending order has been triggered by the 56th second, the EA must delete both pending orders for that minute."
If a market position is open, the moment the current server time matches or exceeds the 56th second of the minute (e.g., time.sec >= 56), the position must be closed immediately via a market order, regardless of profit or loss.
Pending Order Cleanup: If neither the Buy Stop nor Sell Stop pending order has been triggered by the 56th second of the minute, the EA must immediately delete both pending orders.


BALANCE-BASED TRAILING DRAWDOWN PROTECTION
Tracking must be based on CLOSED account balance, completely ignoring open floating equity.
At the start of the day, set Peak_Balance = Current Balance.
If account balance increases after a trade closes, Peak_Balance ratchets up to match it.
If account balance decreases after a losing trade, Peak_Balance stays locked at its highest peak.
Calculate the Floor: Hard_Floor = Peak_Balance * (1.0 - (Max_Daily_Loss_Percent 45 / 100.0)).
If the closed account balance ever drops to or below this Hard_Floor, the EA must immediately close any active trade, cancel all pending stop order halt all operations, and block any new trades until the next calendar day.
Track a persistent variable called Peak_Balance. If the closed balance increases, Peak_Balance must ratchet up to match it. If the balance drops, Peak_Balance remains locked at its lifetime highest peak. Crucial: This peak must never automatically reset lower just because a new calendar day starts.
If the closed account balance drops to or below the hard floor wich is 45% of the account like for example the balance is 1000 and it become 550 or less then the EA must immediately close any active trade, delete all pending stop orders, halt all trading operations, and completely block execution until a new calendar day begins AND the user manually resets the EA."


NEWS FILTER INPUTS
• Use_News_Filter: (True/False, Default: True)
• News_Importance_Level: (Enum for MQL5 Calendar Impact: High Only, or High & Medium. Default: High Only)
• Filter_Currency: (Default: "USD")
• Mins_Before_News: (Default: 10)
• Mins_After_News: (Default: 10)
If for example there is high impact news at 14:30
The Block Before The EA must completely block any new trades or pending orders from 14:20 up until 14:30.
The Block After The EA must continue to block any new trades or pending orders after the news until 14:40.



DELIVERABLE: Fully commented source code (.mq5) and compiled file (.ex5).




Yanıtlandı

1
Geliştirici 1
Derecelendirme
(111)
Projeler
184
25%
Arabuluculuk
25
16% / 76%
Süresi dolmuş
16
9%
Serbest
2
Geliştirici 2
Derecelendirme
(22)
Projeler
28
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(556)
Projeler
850
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Çalışıyor
Yayınlandı: 1 kod
4
Geliştirici 4
Derecelendirme
(13)
Projeler
14
64%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(852)
Projeler
1467
72%
Arabuluculuk
123
28% / 47%
Süresi dolmuş
359
24%
Çalışıyor
Yayınlandı: 3 makale
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 makale, 4 kod
10
Geliştirici 10
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(369)
Projeler
459
55%
Arabuluculuk
24
58% / 17%
Süresi dolmuş
31
7%
Serbest
13
Geliştirici 13
Derecelendirme
(212)
Projeler
275
21%
Arabuluculuk
25
52% / 16%
Süresi dolmuş
0
Çalışıyor
14
Geliştirici 14
Derecelendirme
(263)
Projeler
309
76%
Arabuluculuk
15
67% / 0%
Süresi dolmuş
6
2%
Yüklendi
15
Geliştirici 15
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
16
Geliştirici 16
Derecelendirme
(10)
Projeler
12
33%
Arabuluculuk
0
Süresi dolmuş
2
17%
Çalışıyor
Yayınlandı: 1 kod
17
Geliştirici 17
Derecelendirme
(3)
Projeler
9
67%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
18
Geliştirici 18
Derecelendirme
(16)
Projeler
30
40%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
7
23%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(52)
Projeler
66
41%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
7
11%
Serbest
20
Geliştirici 20
Derecelendirme
(14)
Projeler
21
24%
Arabuluculuk
0
Süresi dolmuş
2
10%
Serbest
Yayınlandı: 3 kod
21
Geliştirici 21
Derecelendirme
(2676)
Projeler
3416
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
343
10%
Çalışıyor
Yayınlandı: 1 kod
22
Geliştirici 22
Derecelendirme
(22)
Projeler
30
40%
Arabuluculuk
8
25% / 38%
Süresi dolmuş
2
7%
Meşgul
Yayınlandı: 8 makale, 35 kod
23
Geliştirici 23
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
(319)
Projeler
573
35%
Arabuluculuk
83
31% / 45%
Süresi dolmuş
207
36%
Çalışıyor
25
Geliştirici 25
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
26
Geliştirici 26
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Geliştirici 27
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
14
0% / 79%
Süresi dolmuş
9
29%
Serbest
28
Geliştirici 28
Derecelendirme
(9)
Projeler
10
10%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
29
Geliştirici 29
Derecelendirme
(83)
Projeler
97
32%
Arabuluculuk
9
22% / 56%
Süresi dolmuş
5
5%
Çalışıyor
30
Geliştirici 30
Derecelendirme
(106)
Projeler
129
25%
Arabuluculuk
25
28% / 56%
Süresi dolmuş
8
6%
Serbest
31
Geliştirici 31
Derecelendirme
(16)
Projeler
21
29%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
4
19%
Çalışıyor
32
Geliştirici 32
Derecelendirme
(4)
Projeler
4
25%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
33
Geliştirici 33
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
34
Geliştirici 34
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
35
Geliştirici 35
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
36
Geliştirici 36
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
37
Geliştirici 37
Derecelendirme
(40)
Projeler
39
46%
Arabuluculuk
12
17% / 50%
Süresi dolmuş
2
5%
Serbest
38
Geliştirici 38
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
25%
Serbest
39
Geliştirici 39
Derecelendirme
(14)
Projeler
15
40%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
1
7%
Serbest
40
Geliştirici 40
Derecelendirme
(4)
Projeler
7
57%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
41
Geliştirici 41
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 11 kod
42
Geliştirici 42
Derecelendirme
(3)
Projeler
4
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
43
Geliştirici 43
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
44
Geliştirici 44
Derecelendirme
(1)
Projeler
2
50%
Arabuluculuk
0
Süresi dolmuş
1
50%
Çalışıyor
45
Geliştirici 45
Derecelendirme
(161)
Projeler
209
61%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
46
Geliştirici 46
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 3 makale
47
Geliştirici 47
Derecelendirme
(78)
Projeler
246
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
48
Geliştirici 48
Derecelendirme
(1)
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
49
Geliştirici 49
Derecelendirme
(25)
Projeler
33
18%
Arabuluculuk
6
50% / 33%
Süresi dolmuş
4
12%
Serbest
50
Geliştirici 50
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
51
Geliştirici 51
Derecelendirme
(3)
Projeler
3
100%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
52
Geliştirici 52
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
53
Geliştirici 53
Derecelendirme
(74)
Projeler
98
57%
Arabuluculuk
5
80% / 20%
Süresi dolmuş
4
4%
Yüklendi
54
Geliştirici 54
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
55
Geliştirici 55
Derecelendirme
(54)
Projeler
67
42%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
1%
Çalışıyor
56
Geliştirici 56
Derecelendirme
(298)
Projeler
478
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
82
17%
Yüklendi
Yayınlandı: 2 kod
57
Geliştirici 57
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
58
Geliştirici 58
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
59
Geliştirici 59
Derecelendirme
(33)
Projeler
36
33%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
60
Geliştirici 60
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
61
Geliştirici 61
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
Overview I am looking for an experienced MQL5 developer to design and deliver a professional Expert Advisor for MetaTrader 5. Rather than dictating the strategy, I want the developer to propose a proven, well-documented approach they have personally built and validated — one with a genuine statistical edge, not curve-fitted results. Quality and transparency matter more than speed of delivery. Budget is negotiable for
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
Title: Advanced XAUUSD MT5 Indicator – MQL5 Source Code Required I need a professional MT5 indicator written from scratch in MQL5 (.mq5) for XAUUSD. The indicator must be signals/analysis only — AutoTrading must remain OFF . I need the complete editable .mq5 source code, not only an .ex5 file. The system should analyze multiple timeframes: H4 → H1 → M30 → M15 → M5 → M1 . Required logic: Higher-timeframe
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop

Proje bilgisi

Bütçe
70 - 90 USD
Son teslim tarihi
from 2 to 5 gün