Session Breakout for MT5

Auftrag beendet

Ausführungszeit 1 Tag

Spezifikation

Build a Session Breakout EA for MT5 (EURUSD) — EXACTLY as below. No changes to logic.

but make it work on all pairs

double slPips, tpPips;

if (AssetType == "Forex")      { slPips = 20; tpPips = 60; }

if (AssetType == "GBPUSD")     { slPips = 25; tpPips = 75; }

if (AssetType == "NAS100")     { slPips = 30; tpPips = 90; }

if (AssetType == "US30")       { slPips = 40; tpPips = 120; }

if (AssetType == "Gold")       { slPips = 150; tpPips = 450; }

but optimize it for eurusd


================================================================
CORE STRATEGY
================================================================
- Trade ONLY at London Open: 08:00–08:05 UTC
- Breakout of Asian Session Range (00:00–07:59 UTC)
- Entry: 5M candle CLOSES outside Asian High/Low
- Volume Filter: Breakout candle volume > 2× 20-period average
- Risk: 0.5% of account per trade
- Option: Manual lot size override (input)
- SL: 20 pips beyond breakout level
- TP: 1:3 RR (60 pips target)
- Max 1 trade per day
- Skip: NFP, ECB Rate, FOMC, CPI, bank holidays

================================================================
TIME FILTER (BROKER TIME AUTO-DETECT)
================================================================
- Use TimeGMT() to detect broker offset
- Auto-calculate 08:00 UTC based on broker time
- Example: If broker is GMT+3 → trade 11:00–11:05 broker time

================================================================
INPUTS (User Can Change Only These)
================================================================
input double   RiskPercent       = 0.5;     // % risk
input double   FixedLotSize      = 0.0;     // 0 = use % risk, >0 = fixed lots
input int      VolumeMultiplier  = 2;       // Fixed
input int      SlippagePips      = 3;       // Max slippage
input bool     UseNewsFilter     = true;    // Auto-skip news
input string   MagicComment      = "SBOv1";

================================================================
SESSION LOGIC
================================================================
// Reset at 00:00 UTC
if (TimeHour(TimeGMT()) == 0 && TimeMinute(TimeGMT()) == 0)
{
   AsianHigh = -999; AsianLow = 999;
}

// Track Asian range (00:00–07:59 UTC)
if (TimeHour(TimeGMT()) >= 0 && TimeHour(TimeGMT()) < 8)
{
   double h = iHigh(_Symbol, PERIOD_H1, 0);
   double l = iLow(_Symbol, PERIOD_H1, 0);
   if (h > AsianHigh) AsianHigh = h;
   if (l < AsianLow)  AsianLow  = l;
}

// At 08:00 UTC → lock range
if (TimeHour(TimeGMT()) == 8 && TimeMinute(TimeGMT()) == 0)
   FinalAsianHigh = AsianHigh; FinalAsianLow = AsianLow;

// Trade window: 08:00–08:05 UTC (broker time adjusted)
datetime brokerTime = TimeCurrent();
int brokerHour = TimeHour(brokerTime);
int brokerMin  = TimeMinute(brokerTime);
int utcHour    = TimeHour(TimeGMT());
if (utcHour == 8 && brokerMin >= 0 && brokerMin <= 5)
   CheckBreakout();

================================================================
VOLUME FILTER
================================================================
double vol    = iVolume(_Symbol, PERIOD_M5, 1);
double volAvg = iMA(_Symbol, PERIOD_M5, 20, 0, MODE_SMA, PRICE_VOLUME, 1);
if (vol <= volAvg * VolumeMultiplier) return;

================================================================
ENTRY LOGIC
================================================================
if (iClose(PERIOD_M5, 1) > FinalAsianHigh && iLow(PERIOD_M5, 1) <= FinalAsianHigh)
   → LONG
if (iClose(PERIOD_M5, 1) < FinalAsianLow  && iHigh(PERIOD_M5, 1) >= FinalAsianLow)
   → SHORT

================================================================
RISK & POSITION SIZING
================================================================
double slPips = 20;
double lots;

if (FixedLotSize > 0)
   lots = FixedLotSize;
else
{
   double risk = AccountBalance() * RiskPercent / 100;
   double pipValue = MarketInfo(_Symbol, MODE_TICKVALUE);
   lots = NormalizeDouble(risk / (slPips * pipValue * 10), 2);
}
lots = MathMax(lots, 0.01);

================================================================
NEWS FILTER (BUILT-IN CALENDAR)
================================================================
- Use Forex Factory RSS or built-in MT5 calendar
- Skip if ANY high-impact event in next 2 hours:
  → NFP, ECB Interest Rate, FOMC, CPI (US/EU)
- Hardcode event names + auto-check

================================================================
TRADE MANAGEMENT
================================================================
- No trailing stop
- No partial close
- Max hold: 8 hours (auto-close at 16:00 UTC)
- If no fill by 08:05 UTC → cancel
- Close at TP or SL only

================================================================
SAFETY FEATURES
================================================================
- No trading on weekends
- No trading if spread > 2.0 pips (iSpread)
- No trading if equity < 50% of start balance
================================================================
DELIVERABLES
================================================================
1. .ex5 file
2. .mq5 source (fully commented)
3. PDF: 1-page user guide
4. CSV: Backtest 2015–2025 (1,026 trades)


Bewerbungen

1
Entwickler 1
Bewertung
(209)
Projekte
281
46%
Schlichtung
27
59% / 37%
Frist nicht eingehalten
36
13%
Frei
2
Entwickler 2
Bewertung
(18)
Projekte
22
9%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
1
5%
Beschäftigt
3
Entwickler 3
Bewertung
(1)
Projekte
2
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
Veröffentlicht: 2 Beispiele
4
Entwickler 4
Bewertung
(57)
Projekte
84
26%
Schlichtung
24
13% / 58%
Frist nicht eingehalten
7
8%
Beschäftigt
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(428)
Projekte
623
54%
Schlichtung
30
53% / 23%
Frist nicht eingehalten
6
1%
Überlastet
7
Entwickler 7
Bewertung
(496)
Projekte
963
74%
Schlichtung
27
19% / 67%
Frist nicht eingehalten
100
10%
Überlastet
Veröffentlicht: 1 Artikel, 6 Beispiele
8
Entwickler 8
Bewertung
(4)
Projekte
5
40%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
(33)
Projekte
38
21%
Schlichtung
5
0% / 60%
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(39)
Projekte
57
18%
Schlichtung
6
33% / 17%
Frist nicht eingehalten
1
2%
Frei
Veröffentlicht: 2 Beispiele
11
Entwickler 11
Bewertung
(1)
Projekte
1
100%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(306)
Projekte
550
35%
Schlichtung
79
32% / 42%
Frist nicht eingehalten
198
36%
Beschäftigt
13
Entwickler 13
Bewertung
(5)
Projekte
4
25%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(212)
Projekte
362
32%
Schlichtung
34
41% / 29%
Frist nicht eingehalten
108
30%
Frei
Veröffentlicht: 1 Beispiel
16
Entwickler 16
Bewertung
(21)
Projekte
25
52%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
2
8%
Frei
Ähnliche Aufträge
Final Trading System Specifications 1. Hedging Activation Allow opening buy and sell positions simultaneously when entry conditions are met for each direction independently. 2. Smart Entry Logic Candles Count: Analysis based on the last 72 candles. Overall Trend Determination: If the majority of candles are bullish → the trend is bullish. If the majority of candles are bearish → the trend is bearish. Buy Entry
Hi 30+ USD
عنوان: لا يقوم برنامج التداول الآلي بفتح الصفقات على منصة MT5 (النسخة التجريبية) - "الإشارة معطلة" رسالة: مرحبًا، لديّ مستشار خبير يعمل على منصة MT5 (حساب تجريبي - حساب تحوّط). يرتبط المستشار الخبير بالرسم البياني بشكل صحيح، والتداول الآلي مُفعّل، ولا تظهر أي أخطاء تداول في سجل التداول. مع ذلك، لم يقم البرنامج الآلي بفتح أي صفقات. يوضح سجل المعاملات ما يلي: • "الإشارة معطلة" • "مخططان بيانيان، وبرنامجان للتداول
Fixed alert mt4 40+ USD
I’m looking for an experienced developer to help fix and improve an alert system in a trading project. Tasks Review and fix existing alert logic Ensure alerts work perfectly with no lag or delay Organize and optimize scattered alert code Check for missing files and improve overall structure Suggest and implement necessary improvements Dashboard (Optional but Preferred) Create a dashboard displaying: Brand name
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 have a low drawdown. The developer will send a demo EA which I can test for myself. I am looking for more of a partnership with an experienced developer. Please no EA on demo accounts. The EA must be verifiable on real account
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
📌 Development Request – AI Precision Enhancement I would like to clarify my request clearly and precisely. The current trading strategy is strong, stable, and effective , and I do not want to modify or replace the core strategy logic in any way . The goal is only to enhance entry and exit precision , not to redesign the system. ✅ Scope of Work (Required) Please keep the existing strategy exactly as it is , and add
We're looking for a highly motivated and detail-oriented individual to fill a key position in our team. The successful candidate will be responsible for driving projects forward, analyzing complex data, and collaborating with cross-functional teams to achieve business objectives. The role requires exceptional problem-solving skills, effective communication, and adaptability in a fast-paced environment. If you're a

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 1 bis 20 Tag(e)