MT5 EA Development

Termos de Referência

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.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(272)
Projetos
345
29%
Arbitragem
36
28% / 64%
Expirado
10
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(393)
Projetos
507
23%
Arbitragem
60
57% / 25%
Expirado
59
12%
Carregado
3
Desenvolvedor 3
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
5
Desenvolvedor 5
Classificação
(64)
Projetos
144
46%
Arbitragem
20
40% / 20%
Expirado
32
22%
Livre
6
Desenvolvedor 6
Classificação
(109)
Projetos
180
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Trabalhando
7
Desenvolvedor 7
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
8
Desenvolvedor 8
Classificação
(5)
Projetos
5
0%
Arbitragem
5
0% / 40%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(170)
Projetos
181
46%
Arbitragem
3
33% / 33%
Expirado
1
1%
Carregado
11
Desenvolvedor 11
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
12
Desenvolvedor 12
Classificação
(33)
Projetos
38
21%
Arbitragem
5
0% / 60%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(366)
Projetos
446
54%
Arbitragem
23
57% / 17%
Expirado
30
7%
Carregado
16
Desenvolvedor 16
Classificação
(4)
Projetos
5
40%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 código
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(3)
Projetos
4
0%
Arbitragem
2
0% / 100%
Expirado
1
25%
Livre
19
Desenvolvedor 19
Classificação
(550)
Projetos
838
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
20
Desenvolvedor 20
Classificação
(3)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(453)
Projetos
566
26%
Arbitragem
24
42% / 38%
Expirado
85
15%
Livre
Publicou: 6 códigos
23
Desenvolvedor 23
Classificação
(59)
Projetos
92
42%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
24
Desenvolvedor 24
Classificação
(45)
Projetos
52
58%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
26
Desenvolvedor 26
Classificação
(10)
Projetos
12
0%
Arbitragem
3
33% / 33%
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(2674)
Projetos
3411
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
30
Desenvolvedor 30
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
31
Desenvolvedor 31
Classificação
(2342)
Projetos
2947
63%
Arbitragem
124
44% / 26%
Expirado
429
15%
Livre
32
Desenvolvedor 32
Classificação
(258)
Projetos
267
30%
Arbitragem
1
0% / 0%
Expirado
3
1%
Carregado
Publicou: 2 códigos
33
Desenvolvedor 33
Classificação
(13)
Projetos
31
23%
Arbitragem
8
25% / 63%
Expirado
5
16%
Livre
34
Desenvolvedor 34
Classificação
(10)
Projetos
13
0%
Arbitragem
23
0% / 78%
Expirado
4
31%
Trabalhando
35
Desenvolvedor 35
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
38
Desenvolvedor 38
Classificação
(62)
Projetos
77
58%
Arbitragem
6
67% / 17%
Expirado
1
1%
Carregado
39
Desenvolvedor 39
Classificação
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
40
Desenvolvedor 40
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
41
Desenvolvedor 41
Classificação
(121)
Projetos
134
66%
Arbitragem
36
25% / 56%
Expirado
22
16%
Livre
Publicou: 10 códigos
42
Desenvolvedor 42
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
50 - 60 USD
Prazo
de 1 para 5 dias

Cliente

Pedidos postados1
Número de arbitragens0