Session Breakout for MT5

작업 종료됨

실행 시간 1 일

명시

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)


응답함

1
개발자 1
등급
(212)
프로젝트
285
46%
중재
27
59% / 37%
기한 초과
36
13%
무료
2
개발자 2
등급
(19)
프로젝트
24
8%
중재
9
33% / 33%
기한 초과
1
4%
로드됨
3
개발자 3
등급
(1)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
게재됨: 2 코드
4
개발자 4
등급
(62)
프로젝트
90
29%
중재
24
13% / 58%
기한 초과
7
8%
작업중
5
개발자 5
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
6
개발자 6
등급
(434)
프로젝트
638
53%
중재
32
59% / 22%
기한 초과
6
1%
작업중
7
개발자 7
등급
(510)
프로젝트
977
74%
중재
27
19% / 67%
기한 초과
100
10%
무료
게재됨: 1 기고글, 6 코드
8
개발자 8
등급
(4)
프로젝트
5
40%
중재
1
0% / 0%
기한 초과
0
무료
9
개발자 9
등급
(33)
프로젝트
38
21%
중재
5
0% / 60%
기한 초과
0
무료
10
개발자 10
등급
(39)
프로젝트
58
19%
중재
6
33% / 17%
기한 초과
1
2%
무료
게재됨: 2 코드
11
개발자 11
등급
(1)
프로젝트
1
100%
중재
0
기한 초과
0
무료
12
개발자 12
등급
(317)
프로젝트
564
35%
중재
81
31% / 44%
기한 초과
204
36%
무료
13
개발자 13
등급
(5)
프로젝트
4
25%
중재
1
0% / 100%
기한 초과
0
무료
14
개발자 14
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
15
개발자 15
등급
(217)
프로젝트
369
33%
중재
34
41% / 29%
기한 초과
108
29%
무료
게재됨: 1 코드
16
개발자 16
등급
(21)
프로젝트
25
52%
중재
3
0% / 100%
기한 초과
2
8%
무료
비슷한 주문
Your Trading app in 1 day 200 - 10000 USD
Custom MT5 Trading Solutions — Expert Advisors, Indicators & Tools I build reliable, well-documented MetaTrader 5 applications in native MQL5, tailored to your exact trading rules. Whether you have a strategy on paper, a TradingView script, or just an idea, I turn it into clean, tested code you can run with confidence. What I can develop for you: Expert Advisors (trading robots): Full automation of your strategy with
Hello, I have an automated trading EA for BTC and I am looking for an experienced strategy optimizer who can help find the most suitable settings. Current results show that the EA achieved approximately 700% profit over 1.5 years , but with drawdown that is too high for my requirements . My goal is to optimize the strategy parameters to achieve: Lower and more stable drawdown Consistent risk management Target return
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
# Project Specification — MT5 Expert Advisor "Prince Strategy" ## Project Goal Develop an Expert Advisor (trading robot) for MetaTrader 5 that automates a price-action trading strategy based on candlestick patterns across multiple timeframes. The robot must work on the forex.com broker. --- ## 1. Traded Instruments The robot must trade the following 4 forex pairs: - GBPUSD - EURUSD - NZDUSD - AUDUSD **Important
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
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
Need an MT5 EA coded in MQL5. Strategy uses internally calculated MT5 Heikin Ashi candles, EMA 9 and EMA 21 on M1 USDJPY. Fixed lot size 12.20. One trade at a time. 40-point stop loss. Exit after 3 consecutive opposite Heikin Ashi candles. I have a detailed strategy document and video examples of valid and invalid entries. Videos linked show MT5 IOS but custom EA code will be used for windows MT5
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
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
Read signal and enter trade and close trade at good profits and open trade again. Either bullish or bearish signals at 0.1 on XAUUSD. Maximum trade a day should be 4-5 times with good opens and close signals. Looking foward to a long cooperation and also a honest and genuine person

프로젝트 정보

예산
30+ USD
기한
에서 1  20 일