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 article, 6 codes
2
開発者 2
評価
(8)
プロジェクト
9
11%
仲裁
0
期限切れ
0
3
開発者 3
評価
(32)
プロジェクト
35
34%
仲裁
5
0% / 80%
期限切れ
0
仕事中
パブリッシュした人: 2 codes
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 code
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%
仕事中
類似した注文
Required: Creation, Integration and successful execution of trading algo/robot in MT5 using MT5 VPS, and Execution of trades in MT5 via trading view (pine script), and c#(.NET) code for cTrader, all setups required on urgent basis. Brokers : Trades to be executed in both brokers Swissquote and Pepperstone. Parameters required Manual Start/Stop Session Time: Start Time (works as per below conditions) / End Time (auto
I am looking for an experienced MQL5 developer to create a highly profitable Expert Advisor (EA) based on a grid or hedge strategy. The EA should be designed for short-term trading and must operate efficiently on the M1 or M5 timeframes. Requirements: Strategy: Grid trading, hedging, or a hybrid of both Instruments: BTCUSD and XAUUSD Timeframes: M1 and M5 The EA must be optimized for high-frequency execution and fast
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
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
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
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
Gold Edge Pro 30 - 150 USD
Create a fully working Expert Advisor (EA) for MetaTrader 5, designed exclusively for GOLD (XAUUSD only). This is a high‑probability trend‑following breakout strategy built specifically for passing 2‑step prop firm challenges — it delivers a ~60–65% win rate, uses a strict 1:3 risk/reward ratio, and is optimised to pass both phases in roughly 1–2 weeks total. --- ⚙️ USER INPUTS — FULLY FLEXIBLE RISK --- All main

プロジェクト情報

予算
70 - 150 USD
締め切り
最低 5 最高 10 日