MT5 EA Development

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
(272)
Projects
345
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Working
2
Developer 2
Rating
(393)
Projects
507
23%
Arbitration
60
57% / 25%
Overdue
59
12%
Loaded
3
Developer 3
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
0
Working
4
Developer 4
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
5
Developer 5
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Free
6
Developer 6
Rating
(109)
Projects
180
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Working
7
Developer 7
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Working
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
(170)
Projects
181
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
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
15
Developer 15
Rating
(366)
Projects
446
54%
Arbitration
23
57% / 17%
Overdue
30
7%
Loaded
16
Developer 16
Rating
(4)
Projects
5
40%
Arbitration
0
Overdue
0
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
(550)
Projects
838
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
(59)
Projects
92
42%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
24
Developer 24
Rating
(45)
Projects
52
58%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
26
Developer 26
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
27
Developer 27
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(2674)
Projects
3411
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
30
Developer 30
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
31
Developer 31
Rating
(2342)
Projects
2947
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Free
32
Developer 32
Rating
(258)
Projects
267
30%
Arbitration
1
0% / 0%
Overdue
3
1%
Loaded
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
23
0% / 78%
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
(62)
Projects
77
58%
Arbitration
6
67% / 17%
Overdue
1
1%
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
Similar orders
I'm looking for a developer that can make me an EA that uses TP / SL for NASDAQ ( NAS100 ). It should be trend following and fully customizable with a cool panel Thanks
Hello team..... It is my first time to be here and to order, so if I am not doing right please advise me, I am very teachable and good listener. I am here to order EA with a name given HouseXplore FxPro EA 4.0v. The EA can use the attached indicators to work but I will explain how. I attached 1. Bykov Trend Signal Arrows and the EA should use this indicator to open trades but Imputs on the TrendAlert indicator should
I want to develop a custom trading indicator based on the functionality shown in a YouTube video and the indicators available on a website that I will provide. The main indicators/features I want to replicate or develop are: Volume Profile – Display volume distribution at different price levels, including key levels such as POC, VAH, and VAL where applicable. Order Flow – Analyze buying and selling activity at each
Swing Breaks & AMD Expert Advisor The Swing Breaks & AMD Expert Advisor is an automated trading system designed around two core market-structure concepts: Swing Breaks and the AMD (Accumulation, Manipulation, Distribution) model . The EA is designed to analyze price action, identify meaningful swing structures, detect potential breaks of those structures, and evaluate the surrounding market behavior for possible AMD
I'm looking for a swing trading EA that takes 1-3 trades / week, holds these positions from a few days up to about 1.5 weeks. Symbol : any Strategy : any Timeframe : any Platform : MT4 only The catch : you would need to come up with the STRATEGY AND do the CODING The must have's : c onstant monthly returns, low drawdown I will backtest the trial version of your .ex4 file for 20+ years with 99.9% tick data accuracy
I'm a ninja trader day trader and I have worked with a company called Legendary Trader and use their indicated and automated strategies to trade. I rencenly have been playing with a free indicator I was able to download that uses CCI & ATR calculations to define the market being in an up or down trend. I have found in reviewing historical data that taking a trade when the signal flips from bull to bear sentiment or
PROJECT OVERVIEW I need a production-grade, modular Expert Advisor for MetaTrader 5 built to institutional coding standards. This is not a simple indicator-crossover bot. The system must be object-oriented, fully commented, and structured so individual modules can be replaced or disabled without breaking the build. Broker: IC Markets Raw. Primary symbol: XAUUSD. Secondary validation: EURUSD, GBPUSD, USDJPY, AUDUSD
Hi, do you have a proven EA for MT5, suitable for live accounts and prop firms, including the Brazilian market? I’m looking for ready, tested EAs. Can you send a backtest or demo? Please if you do have and can send me nacktest or demo you should Message me
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
Sharbat Khan 100+ USD
Looking for MQL5 Developer to debug my Gold Trading EA. Issues: - Error on compile - SL/TP not working correctly - Need to add Trail Stop feature Send me past work + Price + Delivery Time

Project information

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

Customer

Placed orders1
Arbitrage count0