MT5 EA Development

Job finished

Execution time 4 days
Feedback from customer
Really enjoyed working with Krystian. He was patient with my repeated testing and explained everything clearly. Great communication and support. I’ll definitely come back for future EA updates. ❤️
Feedback from employee
Great client to work with. Clear communication, patient during testing and cooperative throughout the project. I’d be happy to work together again on future EA updates.

Specification

Project Overview:
I have a working MetaTrader 5 (MQL5) indicator (session-based range box with breakout line logic). I need this converted into a fully functional MetaTrader 5 Expert Advisor (EA), with complete entry/exit trading logic added on top. I will share the indicator file (.mq5) for reference — please replicate the exact same range/breakout calculation logic from the indicator in the EA, then add the trading logic described below.

1. Core Range/Breakout Logic (from the MT5 Indicator):

User-defined session time input (e.g., 23:29 to 17:00).
Track the session's highest and lowest close price (not wick highs/lows) during the active session.
Breakout line calculation:
Buy mode: (session lowest close) + X points.
Sell mode: (session highest close) − X points.
X ("Distance") is a user input.
Mode selector input: Buy / Sell / Both.

2. Entry Logic:

Entry is NOT triggered simply by price touching the breakout line.
Step 1: A candle must close beyond the breakout line (this confirms the breakout).
Step 2: After breakout confirmation, wait for price to retest — i.e., come back and touch the exact breakout line level.
Step 3: Enter the trade on retest touch.
Include a small tolerance input (in points) for what counts as a valid "touch" on retest, since an exact level touch is rare in live price action.

3. Stop Loss / Take Profit:

SL for Buy trades = session lowest close level.
SL for Sell trades = session highest close level.
TP = SL distance × a multiplier (user input, e.g., 4 or 5, adjustable).
Add separate tolerance inputs (in points, both positive and negative) for SL-hit detection and TP-hit detection, to account for spread/slippage and near-miss touches.

4. Lot Size:

Fixed lot size, manually set via user input (not percentage-based or risk-based sizing).

5. Magic Number:

Add a "Magic Number" input (user-defined, default e.g., 123456).
EA should only open, track, and manage trades with this magic number — it should ignore/not interfere with any other manual trades or trades from other EAs on the same account.

6. Symbol/Point Value Handling:

Correct point/pip value calculation for Forex pairs, Gold (XAUUSD), and Nasdaq (US100/NAS100).
Do NOT restrict or block crypto symbols — for crypto, use the symbol's own natural tick/point size rather than a fixed forex-style pip formula.

7. Daily Trade Limit & Profit-Lock:

Add a "Max Trades Per Day" input (default example: 5).
If any single trade within that day closes in profit, stop opening any further new trades for the rest of that day — even if the max trade count has not been reached yet.
If a trade closes in loss, continue attempting new trades (up to the max count) until either a profit occurs or the max daily trade limit is hit.

8. Session-Based Trading Window (critical — please read carefully):

New trades can only be opened while the session is active, per the session time logic.
When the session ends, stop opening any new trades for that day — even if the max trade count or profit-lock condition hasn't been reached (e.g., only 2 of 5 trades occurred that day — that's fine, simply stop for the day).
Any trade that is already open when the session ends, or when a new day begins, must NOT be force-closed. It must remain open and continue running until its own TP or SL is hit naturally — regardless of session end or day change.
Only the daily trade counter and the profit-lock condition should reset at the start of a new day/session. This reset must NOT affect any currently open trade.

9. Breakout Re-trigger Mode (Setting-Selectable):
After a trade's SL is hit, price may break out again in two different ways:

Scenario A — Line stays the same: SL is hit, but the session's lowest/highest close hasn't changed, so the breakout line level is unchanged. Price comes back and re-crosses/closes beyond the same line again.
Scenario B — Line shifts: While the SL was being hit, the session made a new high/low, so the breakout line itself has shifted to a new level.

Please add a user input — "Breakout Re-trigger Mode" — with two options:

"Same Line Re-cross Allowed" — a fresh valid breakout is registered any time a candle closes beyond the current breakout line, whether that line is the same as before or has shifted due to a new session high/low.
"New Line Only" — a fresh breakout is only registered when the breakout line itself has moved (due to a new session high/low). If the line is unchanged and price simply re-crosses it, this does NOT count as a new breakout.

This should be a simple input toggle so I can select which mode to run.

10. General Requirements:

Only one trade per breakout/retest cycle — no re-entry until a fresh breakout forms (as defined by the Breakout Re-trigger Mode setting above).
Reset the breakout state at the start of every new session.
Please test the EA on the Strategy Tester with sample historical data and share results before final delivery.

Responded

1
Developer 1
Rating
(289)
Projects
361
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
Published: 10 codes
2
Developer 2
Rating
(401)
Projects
519
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
3
Developer 3
Rating
(2)
Projects
4
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
5
Developer 5
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
6
Developer 6
Rating
(111)
Projects
184
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
7
Developer 7
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(5)
Projects
5
0%
Arbitration
5
0% / 40%
Overdue
0
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(184)
Projects
198
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
11
Developer 11
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
12
Developer 12
Rating
(33)
Projects
38
21%
Arbitration
5
0% / 60%
Overdue
0
Free
13
Developer 13
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
15
Developer 15
Rating
(369)
Projects
459
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Free
16
Developer 16
Rating
(10)
Projects
12
33%
Arbitration
0
Overdue
2
17%
Working
Published: 1 code
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(3)
Projects
4
0%
Arbitration
2
0% / 100%
Overdue
1
25%
Free
19
Developer 19
Rating
(559)
Projects
853
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
20
Developer 20
Rating
(3)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
23
Developer 23
Rating
(60)
Projects
94
43%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
24
Developer 24
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
25
Developer 25
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
26
Developer 26
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
27
Developer 27
Rating
(12)
Projects
19
32%
Arbitration
0
Overdue
1
5%
Working
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(2676)
Projects
3418
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
30
Developer 30
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
31
Developer 31
Rating
(2350)
Projects
2956
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
32
Developer 32
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
33
Developer 33
Rating
(13)
Projects
31
23%
Arbitration
8
25% / 63%
Overdue
5
16%
Free
34
Developer 34
Rating
(10)
Projects
13
0%
Arbitration
24
0% / 75%
Overdue
4
31%
Working
35
Developer 35
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
38
Developer 38
Rating
(75)
Projects
99
57%
Arbitration
5
80% / 20%
Overdue
5
5%
Loaded
39
Developer 39
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
42
Developer 42
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
43
Developer 43
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
47
Developer 47
Rating
(212)
Projects
275
21%
Arbitration
25
52% / 16%
Overdue
0
Loaded
48
Developer 48
Rating
(11)
Projects
16
50%
Arbitration
1
100% / 0%
Overdue
4
25%
Free
49
Developer 49
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
50
Developer 50
Rating
(29)
Projects
35
37%
Arbitration
0
Overdue
2
6%
Working
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
52
Developer 52
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
53
Developer 53
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
57
Developer 57
Rating
(3)
Projects
3
67%
Arbitration
0
Overdue
0
Free
Published: 6 articles, 2 codes
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 59
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
60
Developer 60
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
61
Developer 61
Rating
(1)
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
62
Developer 62
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
63
Developer 63
Rating
(646)
Projects
874
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Working
64
Developer 64
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
65
Developer 65
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
66
Developer 66
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
67
Developer 67
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
68
Developer 68
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
69
Developer 69
Rating
(25)
Projects
31
13%
Arbitration
14
0% / 79%
Overdue
9
29%
Free
70
Developer 70
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
71
Developer 71
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
72
Developer 72
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
73
Developer 73
Rating
(1)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Working
74
Developer 74
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
Hi all I'm looking for a good coder Existing Automated Trading System (Expert Advisor) This EA’s building block is the Bheurekso Pattern (which uses price action) indicators. 1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Hi All, I am looking for a bot EA which makes good profit. If any having please share it for TEST. After proper TESTING only I will make the payment, no cheating no fraud. Please do not waste the time also
Allow me to set the daily trading bias manually to BUY or SELL. Check my defined 4H and 1H trend-alignment conditions. Execute entries based on my 15-minute pullback and continuation rules. Trade only between 06:00 and 16:00 Nigeria time, Monday to Friday. Calculate lot size based on my chosen risk percentage and stop-loss distance. Automatically place stop-loss and take-profit orders. Enforce my daily trade limits
Rebate robot 30 - 100 USD
Need rebate robot,for pairs like gbpusd,eurusd,usdjpy,usdchf,Spreads are like around 2.5 pip,MAy be better hedge ea both buy and sell,i will get benifit just from rebate,so try ur best to do what i want,and if u r not expert plz go away plz its not simple job,if u already have the robot so i can test it will be surely selected,also u can get some benifit from this screen shoots that i attached,its from another job in
Economic Event Analysis Back ground . I have an app which downloads economic event data from a website called MyFXBook, using a script. But currently this website does not allow any script to be used. So, I have to go back to manually downloading a .csv file that shows the economic events scheduled to occur in the coming week Python . This job requires Python. Execution of this job by any other method that does not
I am looking for an experienced MQL5 developer or development team to build a scalable Telegram-to-MT5 copy trading system. The main purpose of the system is to monitor trading signals from my Telegram channel and automatically execute those signals on connected client MT5 accounts. Core Requirements Receive and parse trading signals from Telegram Automatically execute trades on connected MT5 accounts Support more
Sami 30+ USD
I've built the bot as a single-page app that runs the three-step workflow you described. Since the page can't pull live broker data, it runs on simulated 5-minute candles or on a CSV you paste in.I've published the trading bot page. I haven't opened or run it, so I can't confirm the logic behaves as intended. It runs on simulated 5-minute candles (or a CSV you paste in) and builds the 4H and 30M charts from them. How

Project information

Budget
50 - 60 USD
Deadline
from 1 to 5 day(s)