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

İş tamamlandı

Tamamlanma süresi: 9 saat
Müşteri tarafından geri bildirim
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.

Şartname

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




Yanıtlandı

1
Geliştirici 1
Derecelendirme
(510)
Projeler
977
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Serbest
Yayınlandı: 1 makale, 6 kod
2
Geliştirici 2
Derecelendirme
(8)
Projeler
9
11%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(33)
Projeler
36
33%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
4
Geliştirici 4
Derecelendirme
(328)
Projeler
513
19%
Arabuluculuk
34
44% / 32%
Süresi dolmuş
34
7%
Yüklendi
5
Geliştirici 5
Derecelendirme
(15)
Projeler
19
16%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(43)
Projeler
62
23%
Arabuluculuk
9
22% / 44%
Süresi dolmuş
10
16%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(434)
Projeler
638
53%
Arabuluculuk
32
59% / 22%
Süresi dolmuş
6
1%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(33)
Projeler
38
21%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(16)
Projeler
35
23%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
2
6%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(2327)
Projeler
2930
63%
Arabuluculuk
124
44% / 26%
Süresi dolmuş
429
15%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
12
Geliştirici 12
Derecelendirme
(17)
Projeler
21
14%
Arabuluculuk
8
38% / 38%
Süresi dolmuş
3
14%
Yüklendi
13
Geliştirici 13
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
13
0% / 77%
Süresi dolmuş
9
29%
Serbest
14
Geliştirici 14
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(64)
Projeler
83
28%
Arabuluculuk
9
33% / 56%
Süresi dolmuş
9
11%
Serbest
Yayınlandı: 1 kod
16
Geliştirici 16
Derecelendirme
(1)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
17
Geliştirici 17
Derecelendirme
(26)
Projeler
32
34%
Arabuluculuk
0
Süresi dolmuş
2
6%
Çalışıyor
18
Geliştirici 18
Derecelendirme
(6)
Projeler
5
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
40%
Serbest
19
Geliştirici 19
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
20
Geliştirici 20
Derecelendirme
(39)
Projeler
54
61%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
0
Serbest
21
Geliştirici 21
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
23
Geliştirici 23
Derecelendirme
(28)
Projeler
31
45%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
3
10%
Serbest
24
Geliştirici 24
Derecelendirme
(48)
Projeler
57
35%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Serbest
Benzer siparişler
Expert Advisor (EA) Requirements – MT5 (MQL5) Project Overview Develop an automated Expert Advisor (EA) for MetaTrader 5 based on EMA crossover signals combined with strict risk management and trade management principles. The EA must be optimized for Forex pairs and indices and should operate automatically without manual intervention. Entry Conditions Buy Setup Fast EMA crosses above Slow EMA. Current candle closes
Hi everyone, I need a custom automation tool (can be developed using Python automation, a Chrome extension, or other web automation scripts) to help me batch-export screenshots of trading charts for backtesting. Context: I already have a completed Pine Script indicator. Once loaded onto the TradingView chart, it plots signal marks (such as specific icons or arrows) directly on the screen. The "signals" or "marks"
MC Trader's 30+ USD
If Buy: it must Buy when a conformation is done Bye the candle that would be a bullish engolfing candle or after liqudity swip or when sellers has stepped down the market and the market regains energy and trand upwards, it's stop loss must be below the Buy position and it's take profit must be at the top of all candles
i am looking to upgrade my trading telegram bot and add live data to it and also make it linked to a dashboard where i can trace the users who register in my bot and pay and make them go in my private channel and manages the expiry date of each user
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
O EA deve operar - na corretora BINANCE - com duas médias móveis que podem ser aritmética, exponencial, ponderada, alma( Alnaud Legoux ), Jurik. O EA fica comprado quando a primeira média (rápida) cruzar a segunda média ( lenta ) para cima e vendido quando a primeira média cruzar a segunda média para baixo. Cada entrada deve ser zerada por stop loss, stop gain ou na virada de mão
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade

Proje bilgisi

Bütçe
70 - 150 USD
Son teslim tarihi
from 5 to 10 gün