XAUUSD M5 8:00 IST Two-Candle Breakout EA (1:2 RR, 2nd Entry Logic, Risk % Position Sizing) – MQL5 Expert Advisor Needed

Работа завершена

Время выполнения 9 часов
Отзыв от заказчика
The developer pressured me to complete early, said backtesting is useless and the EA “loves to be on the chart”. After completion it didn’t work and no real support was provided.

Техническое задание

1. Strategy Overview

I need an MQL5 Expert Advisor that trades once per day based on a 2-candle combination zone formed at 8:00 AM IST.

The EA must detect the correct server time equivalent of IST and work on any MT5 broker (Exness).

2. Combination Zone Logic

At 08:00 IST, the EA must:

  1. Take the first M5 candle starting at 08:00.

  2. Take the next M5 candle (08:05).

  3. These two candles form the Combination Zone:

comb_high = max(high of both candles)

comb_low  = min(low of both candles)

  • Ideally candles should be Green → Red or Red → Green.

  • If they are same color, still use these two candles as the combination zone.

  • Only one combination per day.

3. Trade Entry Rules

LONG Entry

  • Trigger: price breaks above comb_high

  • Order type: Market Buy

  • Stop Loss = comb_low

  • Take Profit = EntryPrice + 2 × (EntryPrice - comb_low)

    (1:2 Risk-Reward)


SHORT Entry

  • Trigger: price breaks below comb_low

  • Order type: Market Sell

  • Stop Loss = comb_high

  • Take Profit = EntryPrice - 2 × (comb_high - EntryPrice)

4. Trade Sequencing (Very Important)

First Entry

  • EA enters first breakout trade (long or short).


If FIRST trade hits TP

  • Stop trading for the rest of the day.

  • No second entry.


If FIRST trade hits SL

  • EA must allow ONE MORE trade (second entry).

  • Second entry follows same breakout rules.

  • After second entry closes (TP/SL) → stop for the day.

5. Position Sizing (Risk % Based)


Lot size must be calculated using 1% or 2% risk of account balance:

stopDistance = comb_high - comb_low

riskAmount = Balance × Risk%

lot = riskAmount / (stopDistance × valuePerPointPerLot)


EA must:

  • Detect broker min / max lot

  • Respect lot step

  • Skip trade if lot < min lot

  • Include a max lot input cap (user adjustable)

6. Filters & Safety Rules

  • Do NOT trade if spread > user input (e.g., 50 points).

  • Avoid duplicate trades on restart — use persistent variables or OnTradeTransaction tracking.

  • EA must handle restarts without forgetting:

    • combination zone

    • whether first trade was taken

    • whether second entry is allowed

  • EA must prevent more than 2 trades per day.

7. Time Handling

EA must reliably detect 08:00 IST, even if the broker server uses a different timezone.


Acceptable solutions:

  • Auto-detect using TimeLocal (if VPS is IST), OR

  • Input parameter: “Server hour equivalent of 8:00 IST”.


Either method is fine; the EA must work correctly.

8. Inputs Required

  • Symbol

  • Risk Percent (1% or 2%)

  • Max Lot Cap

  • Spread Filter

  • Slippage (Deviation)

  • Magic Number

  • Enable/Disable 2nd Entry

  • Server Start Hour (if not auto-detected)

9. Deliverables

  • Fully working .mq5 + .ex5

  • Clear, commented source code

  • Clean input menu

  • One backtest showing logic from any date range

  • 7–14 days bug-fix / correction support

10. Acceptance Criteria

The EA is considered complete when:

  1. Combination candles at 8:00 IST are detected correctly.

  2. Breakout entries occur exactly as per rules.

  3. First trade hits TP → no more trades that day.

  4. First trade hits SL → second entry allowed.

  5. Lot size matches the risk % position sizing formula.

  6. EA works after MT5 restarts with no duplicate trades.

  7. Backtest examples for:

    • 2025-Sep-24 to 2025-Nov-18




Откликнулись

1
Разработчик 1
Оценка
(508)
Проекты
976
74%
Арбитраж
27
19% / 67%
Просрочено
101
10%
Работает
Опубликовал: 1 статью, 6 примеров
2
Разработчик 2
Оценка
(8)
Проекты
9
11%
Арбитраж
0
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(32)
Проекты
35
34%
Арбитраж
5
0% / 80%
Просрочено
0
Работает
Опубликовал: 2 примера
4
Разработчик 4
Оценка
(327)
Проекты
509
19%
Арбитраж
33
45% / 30%
Просрочено
34
7%
Загружен
5
Разработчик 5
Оценка
(15)
Проекты
19
16%
Арбитраж
5
40% / 40%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(43)
Проекты
62
23%
Арбитраж
8
25% / 38%
Просрочено
10
16%
Работает
7
Разработчик 7
Оценка
(429)
Проекты
629
54%
Арбитраж
32
53% / 22%
Просрочено
6
1%
Загружен
8
Разработчик 8
Оценка
(33)
Проекты
38
21%
Арбитраж
5
0% / 60%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
10
Разработчик 10
Оценка
(2313)
Проекты
2912
63%
Арбитраж
122
44% / 25%
Просрочено
429
15%
Работает
11
Разработчик 11
Оценка
(60)
Проекты
87
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
12
Разработчик 12
Оценка
(16)
Проекты
20
10%
Арбитраж
8
38% / 38%
Просрочено
3
15%
Работает
13
Разработчик 13
Оценка
(24)
Проекты
30
13%
Арбитраж
12
0% / 75%
Просрочено
8
27%
Свободен
14
Разработчик 14
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(64)
Проекты
83
28%
Арбитраж
9
33% / 56%
Просрочено
9
11%
Свободен
Опубликовал: 1 пример
16
Разработчик 16
Оценка
(1)
Проекты
3
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(19)
Проекты
24
21%
Арбитраж
0
Просрочено
2
8%
Свободен
18
Разработчик 18
Оценка
(6)
Проекты
5
0%
Арбитраж
2
50% / 50%
Просрочено
2
40%
Свободен
19
Разработчик 19
Оценка
(17)
Проекты
23
39%
Арбитраж
6
33% / 50%
Просрочено
0
Свободен
20
Разработчик 20
Оценка
(39)
Проекты
54
61%
Арбитраж
2
50% / 50%
Просрочено
0
Свободен
21
Разработчик 21
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
22
Разработчик 22
Оценка
(10)
Проекты
14
43%
Арбитраж
0
Просрочено
3
21%
Свободен
23
Разработчик 23
Оценка
(28)
Проекты
31
45%
Арбитраж
1
100% / 0%
Просрочено
3
10%
Свободен
24
Разработчик 24
Оценка
(39)
Проекты
46
28%
Арбитраж
14
21% / 64%
Просрочено
1
2%
Загружен
Похожие заказы
Project Description I am looking for a highly experienced MQL5 developer to build a professional-grade Expert Advisor for MetaTrader 5, focused on XAUUSD (Gold). This project is not a simple EA, but the foundation of a scalable multi-strategy trading system, designed for long-term development and future upgrades. Core Concept The EA must support a maximum of 5 internal strategies, each working independently but
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
Profitable EA for sell 200 - 1000 USD
I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
EA MACENIC PRO V12L 30 - 50 USD
Ready made robot for executing trades because don't have PC or laptop does it come as license key that allows straight extension to be a ready made of change your mind and the match is still hustling and I recommend exness broker on any. Strategy of a mobile robot arrena that execute trades it self and 24/7 operational system that enhances power of electronic art technology with automatic EA optimization
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service
I need someone to recreate this indicator for mt5 for $60 it has to be non repaint ,I've been trying to code this indicator so if someone can do it my contact is , sebokomorobi6@gmail.com ,or 073 923 0151 you can contact the number on Whatsapp no calls allowed
Existing EA 30 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Hi, I require a robot that can read this non MT4 object . Trade opened when the object shows ' Look to sell / Buy'. The closing logic is based on the crossing of another custom indicator . Stop loss based on Fib levels. Take profit and partial take profit also required using these levels. A more detailed breakdown of the logic to be provided. The robot/EA is to be created and installed on MT4 on my VPS
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for

Информация о проекте

Бюджет
70 - 150 USD
Сроки выполнения
от 5 до 10 дн.