MT5 bot EA Specification: Pre-London Range Breakout (Pepperstone Compatible)

仕事が完了した

実行時間15 日

指定

Purpose

  • Develop an Expert Advisor (EA) for MetaTrader 5.

  • Strategy: Breakout from the pre-London session range with strict risk management and no grid/martingale.

  • Goal: Scalp intraday momentum after London open using pending orders.

  • Broker: Pepperstone (ECN / RAW spreads).

  • Instruments: default EURUSD and XAUUSD (configurable).


Trading Logic

1. Pre-Range Session

  • Time based on server time (TimeTradeServer).

  • Define range between PreRangeStart and PreRangeEnd .

    • Default: 05:00 – 07:15 server time.

  • Record PreHigh (highest price) and PreLow (lowest price) of this window.

  • Range filters:

    • If (PreHigh – PreLow) < MinRangeATR * ATR(14, M5) → skip trading.

    • If (PreHigh – PreLow) > MaxRangePips → skip trading.

2. Entry Window

  • Default: 07:15 – 11:30 (London) and optionally 13:30 – 16:30 (New York).

  • Place pending orders at breakout levels:

    • BUY STOP = PreHigh + BufferPips .

    • SELL STOP = PreLow – BufferPips .

  • Only if all filters are met:

    • Spread ≤ MaxSpreadPoints.

    • ATR(14, M5) within MinATR–MaxATR.

    • Optional: Trend filter → Only Buy if price > EMA200 (M15), only Sell if price < EMA200.

3. Pending Order Management

  • Place both orders (or only one if EMA trend filter applies).

  • Cancel the opposite order once one is triggered.

  • Cancel all untriggered orders when:

    • EntryWindow ends, or

    • Filters fail (spread too wide, volatility too low).

4. Stop Loss / Take Profit

  • SL options:

    • Default: kATR * ATR(14, M5) .

    • Or: opposite side of the pre-range ± buffer (choose the smaller distance).

  • TP = RR * SL (default RR = 1.5 for FX, RR = 2.0 for XAUUSD).

  • Break-even:

    • Move SL to entry after price moves in profit by BE_Trigger * SL (default 1.0).

    • Add offset ( BE_Offset ) if configured.

  • Trailing:

    • Start after TrailTrigger * SL .

    • Trail distance = TrailATR * ATR(14, M5) .

5. Risk Management

  • RiskPerTrade% (default 1%). Lot size calculated dynamically based on SL distance.

  • Use symbol properties ( SYMBOL_TRADE_TICK_VALUE , etc.) to compute correct lot size.

  • Daily loss limit: If equity drops by MaxDailyLoss% (default 3%), no new trades until next day.

  • Max trades per day: e.g., 2.


Inputs (parameters)

  • Session times:

    • PreRangeStart="05:00" , PreRangeEnd="07:15" .

    • EntryWindowStart="07:15" , EntryWindowEnd="11:30" .

    • UseNYWindow=true , NYWindowStart="13:30" , NYWindowEnd="16:30" .

  • Filters:

    • BufferPips=5 (EURUSD), BufferGoldPoints=50 (XAUUSD).

    • MinATR=0.0008 , MaxATR=0.0040 (for EURUSD).

    • MinRangeATR=0.6 , MaxRangePips=25 .

    • MaxSpreadPoints=12 .

    • UseEMATrend=true , EMAPeriod=200 , EMATF=PERIOD_M15 .

  • Stops & Targets:

    • UseATRStop=true , kATR=1.0 .

    • RR=1.5 (EURUSD), RR_XAU=2.0 .

    • UseBreakEven=true , BE_Trigger=1.0 , BE_Offset=2 .

    • UseTrailing=true , TrailTrigger=1.2 , TrailATR=1.0 .

  • Risk settings:

    • RiskPerTrade=1.0 .

    • MaxDailyLoss=3.0 .

    • MaxTradesPerDay=2 .

  • Execution:

    • MaxSlippagePoints=10 .

    • DeleteOppositePendingOnFill=true .

  • Symbols & Magic:

    • Symbols="EURUSD,XAUUSD" .

    • Magic=17092025 .

    • Comment="PreLondonBreakout_Pepperstone" .


EA Architecture

  • OnInit() → load symbols, initialize states.

  • OnTick():

    • Track PreRange highs/lows.

    • Place pending orders only in EntryWindow.

    • Cancel pending orders at window end or after opposite is triggered.

    • Manage active positions (BE, trailing, SL/TP).

  • OnTradeTransaction() → handle fills, update daily P&L, enforce limits.

  • OnDeinit() → clean pending orders.


Additional Requirements

  • Work with multiple symbols (EURUSD, XAUUSD by default).

  • One active trade per symbol.

  • Proper logging: reasons for order placement or cancellation.

  • Draw lines on chart: PreHigh/PreLow, pending orders, SL/TP.

  • Optimizable inputs for backtesting (range times, buffer, ATR multiplier, RR).


応答済み

1
開発者 1
評価
(22)
プロジェクト
28
7%
仲裁
9
33% / 33%
期限切れ
1
4%
仕事中
2
開発者 2
評価
(283)
プロジェクト
354
29%
仲裁
37
27% / 65%
期限切れ
10
3%
取り込み中
3
開発者 3
評価
(22)
プロジェクト
29
3%
仲裁
4
25% / 0%
期限切れ
3
10%
4
開発者 4
評価
(443)
プロジェクト
570
37%
仲裁
106
39% / 33%
期限切れ
17
3%
5
開発者 5
評価
(261)
プロジェクト
306
76%
仲裁
13
77% / 0%
期限切れ
5
2%
取り込み中
6
開発者 6
評価
(10)
プロジェクト
13
0%
仲裁
24
0% / 75%
期限切れ
4
31%
仕事中
7
開発者 7
評価
(62)
プロジェクト
90
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
8
開発者 8
評価
(179)
プロジェクト
193
46%
仲裁
4
50% / 25%
期限切れ
1
1%
取り込み中
9
開発者 9
評価
(19)
プロジェクト
23
48%
仲裁
10
0% / 100%
期限切れ
2
9%
10
開発者 10
評価
(324)
プロジェクト
329
71%
仲裁
2
100% / 0%
期限切れ
0
パブリッシュした人: 1 code
11
開発者 11
評価
(329)
プロジェクト
515
19%
仲裁
35
46% / 31%
期限切れ
34
7%
仕事中
12
開発者 12
評価
(453)
プロジェクト
566
26%
仲裁
24
42% / 38%
期限切れ
85
15%
パブリッシュした人: 6 codes
13
開発者 13
評価
(111)
プロジェクト
183
25%
仲裁
25
16% / 76%
期限切れ
16
9%
14
開発者 14
評価
(319)
プロジェクト
571
35%
仲裁
83
31% / 45%
期限切れ
206
36%
15
開発者 15
評価
(14)
プロジェクト
14
36%
仲裁
1
0% / 100%
期限切れ
1
7%
仕事中
類似した注文
1. Contexte Gomez Stratégie développe une stratégie de trading propriétaire nommée ABCD Fibonacci, basée sur des retracements de Fibonacci et des moyennes mobiles. Cette stratégie est déjà documentée dans un livre de stratégie professionnel et une première version de l'EA existe. Le projet consiste à développer (ou faire évoluer) un Expert Advisor MQL5 robuste, fidèle à 100 % à la logique décrite ci-dessous, pour un
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
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 : …
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are
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
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
1. Overview: I need an Expert Advisor (EA) for MT5 called "Gold Sniper" specifically optimized for XAUUSD (Gold). The EA should be a sniper scalper that takes high-probability trades on M5 and M15. It must work on any broker with low spread. 2. Strategy Logic: The EA should combine 3 confirmations: a) Trend Filter: EMA 50 & EMA 200. Only Buy if EMA 50 > EMA 200, only Sell if EMA 50 < EMA 200. Sniper Entry: Use RSI
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis

プロジェクト情報

予算
30 - 50 USD