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
Оценка
(509)
Проекты
977
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
Оценка
(328)
Проекты
512
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
Оценка
(433)
Проекты
634
54%
Арбитраж
32
56% / 22%
Просрочено
6
1%
Загружен
8
Разработчик 8
Оценка
(33)
Проекты
38
21%
Арбитраж
5
0% / 60%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
10
Разработчик 10
Оценка
(2322)
Проекты
2925
63%
Арбитраж
123
45% / 25%
Просрочено
429
15%
Свободен
11
Разработчик 11
Оценка
(61)
Проекты
89
28%
Арбитраж
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
Оценка
(21)
Проекты
27
26%
Арбитраж
0
Просрочено
2
7%
Работает
18
Разработчик 18
Оценка
(6)
Проекты
5
0%
Арбитраж
3
33% / 67%
Просрочено
2
40%
Свободен
19
Разработчик 19
Оценка
(20)
Проекты
26
38%
Арбитраж
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
Оценка
(46)
Проекты
53
32%
Арбитраж
15
20% / 60%
Просрочено
1
2%
Работает
Похожие заказы
Articles How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 780 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
https://youtu.be/mUoczuxL0XE?si=2IzxX4jhML_-4f47&nbsp ; ...... “Secret London Session CRT Model - Insane Accuracy | ICT Secrets.” The model is called London Twilight and focuses on quick scalps near the end of London session. Source summary notes it uses CRT + Turtle Soup + PO3/AMD , mainly between 3:00 AM and 5:00 AM EST/New York time . ( Video Highlight | AI Video Summarizer ) Give your MQL5 coder these rules
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
I want to buy proven profitable EA, any kind of strategy is considerable, working on any forex pairs or XAUUSD. I don't want to build from the scratch, so only apply if you already have profitable EA. Please send your EX4 file in advance with your application (MANDATORY), with additional information as below : - Pair and timeframe to use, minimum initial capital requirement, and so on - Type of EA (scalping, in day
Alert indicator 30+ USD
I want an alert indicator using moving average and another one is customized indicator, but i don't have it's source file. is it possible? if yes let me know we will discuss further
Auto trading system with hi probability win rate. Trades and auto trading system works well on gold and forex most important risk reward ratio. It must be 1:3 or more then that
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Intraday Trade Ninja EA Indicators used: Price Border(TMA) MA-X Arrows xSuperTrend Candles EMA 49 & 89- Per Candle Color Switching Lemansignal 200 SMA Major Criteria to consider before a trade setup or condition is taken · The price must have touched/tested the upper or

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

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