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

Lavoro terminato

Tempo di esecuzione 9 ore
Feedback del cliente
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.

Specifiche

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




Con risposta

1
Sviluppatore 1
Valutazioni
(510)
Progetti
977
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
In elaborazione
Pubblicati: 1 articolo, 6 codici
2
Sviluppatore 2
Valutazioni
(9)
Progetti
10
10%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
4
Sviluppatore 4
Valutazioni
(329)
Progetti
515
19%
Arbitraggio
35
46% / 31%
In ritardo
34
7%
In elaborazione
5
Sviluppatore 5
Valutazioni
(17)
Progetti
21
19%
Arbitraggio
5
40% / 40%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(43)
Progetti
63
24%
Arbitraggio
10
30% / 50%
In ritardo
10
16%
Gratuito
7
Sviluppatore 7
Valutazioni
(436)
Progetti
645
53%
Arbitraggio
35
63% / 20%
In ritardo
6
1%
Caricato
8
Sviluppatore 8
Valutazioni
(33)
Progetti
38
21%
Arbitraggio
5
0% / 60%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(16)
Progetti
35
23%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
10
Sviluppatore 10
Valutazioni
(2348)
Progetti
2954
63%
Arbitraggio
125
44% / 26%
In ritardo
429
15%
Gratuito
11
Sviluppatore 11
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
12
Sviluppatore 12
Valutazioni
(19)
Progetti
22
18%
Arbitraggio
9
33% / 44%
In ritardo
3
14%
In elaborazione
Pubblicati: 1 codice
13
Sviluppatore 13
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
14
Sviluppatore 14
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(64)
Progetti
83
28%
Arbitraggio
9
33% / 56%
In ritardo
9
11%
Gratuito
Pubblicati: 1 codice
16
Sviluppatore 16
Valutazioni
(1)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(29)
Progetti
35
37%
Arbitraggio
0
In ritardo
2
6%
Gratuito
18
Sviluppatore 18
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
19
Sviluppatore 19
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(40)
Progetti
55
62%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(10)
Progetti
14
43%
Arbitraggio
0
In ritardo
3
21%
Gratuito
23
Sviluppatore 23
Valutazioni
(28)
Progetti
31
45%
Arbitraggio
1
100% / 0%
In ritardo
3
10%
Gratuito
24
Sviluppatore 24
Valutazioni
(54)
Progetti
66
41%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
Caricato
Ordini simili
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
I need a skilled and experienced programmer, who is sincere and communicates effectively, to debug my pre-built indicator and EA for me: Bugs to fix - EA & Indicator 1. Fixed lot size not working properly 2. SL too tight 3. Grid not working properly - toggled. When Grid is off, single entries and default inputs apply. 4. Grid starting fixed lot - toggled. When off, ATR lot applies 5. Grid distance - fixed position 6
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
We are seeking an independent technical reviewer for a frozen Python evidence/specification candidate related to an XAUUSD paper-trading risk system (ALKOOS-AI). This is NOT a request to develop, modify, optimize, or execute a trading robot or trading strategy. The task is limited to independent verification of a prepared evidence package. The reviewer should verify: Integrity of the supplied frozen artifact using
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following

Informazioni sul progetto

Budget
70 - 150 USD
Scadenze
da 5 a 10 giorno(i)