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
I already have a fully functional MT5 Expert Advisor that includes all the necessary features required for prop firm trading (risk management, drawdown control, lot sizing, etc.). However, the current entry logic is not performing well, and I am looking for an experienced MQL5 developer and strategy designer to replace or significantly improve the trade entry system. Objective: Develop and integrate a robust
I need an experienced developer to carry out an indicator and trading robot using the following; moving averages risk ( take profit and stop loss) and maximum drawdown limits heiken ashi confirmation. trendline breakout if possible The developer will test this on a demo account that I will provide before conclusion as I don’t want anyone to waste my time trying to use chartgpt trial and error. If you can do the
Volume Gaps & Imbalances by Zeiierman is the indicator I want to convert to MT5. I want to work with someone who specializes /understands scalping on the 1min. You need to be able to modify and play with the settings, back & forward test, and find settings that will work best for scalping the NQ. I am not looking for a developer that just builds without completely forward testing it, that all the fields works, and
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Описание: Мне нужен пользовательский индикатор для MT4, основанный на логике концепции «умных денег» (Smart Money Concepts, SMC). Индикатор должен определять изменения структуры рынка без перерисовки. Основные требования: Логика: Индикатор должен использовать подход, основанный на зигзаге, для определения точек HH/LL и LH/HL. Сигналы: - Фиолетовая стрелка (Продажа): Появляется, когда цена формирует новый нижний
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
[Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
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
The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). Please follow the specification strictly without any discretionary interpretation

项目信息

预算
70 - 150 USD
截止日期
 5  10 天