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.

İş Gereklilikleri

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
(496)
Projeler
963
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
100
10%
Meşgul
Yayınlandı: 1 makale, 6 kod
2
Geliştirici 2
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(32)
Projeler
35
34%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
4
Geliştirici 4
Derecelendirme
(323)
Projeler
502
19%
Arabuluculuk
33
42% / 30%
Süresi dolmuş
33
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
(42)
Projeler
61
21%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
10
16%
Yüklendi
7
Geliştirici 7
Derecelendirme
(428)
Projeler
623
54%
Arabuluculuk
30
53% / 23%
Süresi dolmuş
6
1%
Meşgul
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
(2294)
Projeler
2888
63%
Arabuluculuk
122
44% / 25%
Süresi dolmuş
428
15%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(57)
Projeler
84
26%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Yüklendi
12
Geliştirici 12
Derecelendirme
(15)
Projeler
18
6%
Arabuluculuk
8
38% / 38%
Süresi dolmuş
2
11%
Yüklendi
13
Geliştirici 13
Derecelendirme
(24)
Projeler
30
13%
Arabuluculuk
12
0% / 67%
Süresi dolmuş
8
27%
Çalışıyor
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
(19)
Projeler
23
22%
Arabuluculuk
0
Süresi dolmuş
1
4%
Çalışıyor
18
Geliştirici 18
Derecelendirme
(6)
Projeler
5
0%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
40%
Serbest
19
Geliştirici 19
Derecelendirme
(15)
Projeler
21
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Çalışıyor
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
(30)
Projeler
34
15%
Arabuluculuk
13
8% / 69%
Süresi dolmuş
0
Meşgul
Benzer siparişler
Expert Advisor not taking trades automatically as expected Need to make sure logic is sound and effective Make sure it is optimized to trade crash and boom only Modify if necessary so that the EA can perform at its best It should provide 1 notification per trade/signal found
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take
MT5 EA 30 - 60 USD
Hi i want a professional developer who can create me Ea based on candle sticks and high and lows , i have full specifications what exactly i want to be in my Ea , the inputs and how it should work and i will also tell u what type of panel i want for proper detailed specifications message me only professional developers
I am looking for an experienced MQL4 / MQL5 developer to create a custom Expert Advisor (EA). Trading details: - Symbol: XAUUSD (Gold) only - Platform: MT4 or MT5 - Strategy type: Scalping (fast trades) - Timeframes: M1 / M5 - Fixed Stop Loss and Take Profit - Risk management: - Lot size based on balance OR fixed lot (user configurable) - Maximum trades per day (user configurable) - Spread and slippage filter -
First trade begins when the super trend changes and crosses the fast moving average. · Open trade (buy) when super trend crossing changes from sell to buy and crosses the fast moving average. If the price is is above the 200 EMA (slow moving average) only take buy positions. ( combining the 200 EMA with the supertrend) (If the super trend crossing cuts the slow EMA (200), do not take the trade) ·
Automated trading 70 - 100 USD
Automated trading board that runs 24 x 7 on cryptocurrencies/Forex and as well as copy with all the integrated, etc., along with profit and having no boundary of a minimum investment. I want fully executable file, fully customizable robot not a demo
I have an existing MT5 EA and I am sharing the exact behaviour settings below. I need a NEW custom MT5 Expert Advisor that behaves the SAME WAY as these settings. Platform: MetaTrader 5 Symbol: Gold (XAUUSD) Timeframe: M5 (Trading_TF = 0 means current chart) ======================== INDICATOR & TRADE MODE ======================== - Trade Mode = 2 (both Buy & Sell) - Trading timeframe = Current chart (M5)
For a buy case, ea will set buy stop order at the high of the current 4H candle, if the close of the current 4h candle is higher than the open and if the close is less than the high of the 4H candle , then ea will set a buy stop at the high of the current 4h candle. Reverse of this is the sell case. , - -- sell SL to 1800point for gold pair only, set 4500 point for TP, --- , BE the SL to 50points when price moved
//+------------------------------------------------------------------+ //| INDICES SCALPING BOT | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 4.0; input int EMAtrend = 50; input int EMAPullback = 20; input int RSIPeriod = 14; input double ATRMultiplierSL = 3.0; input double ATRMultiplierTP = 2.5; double LotSize(double
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and be verifiable on real account and have a low drawdown. The developer will send a demo of the EA which I can test for myself. I am looking for more of an experienced developer. Please no EA on demo account

Proje bilgisi

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