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
等级
(17)
项目
21
10%
仲裁
4
50% / 50%
逾期
1
5%
工作中
2
开发者 2
等级
(240)
项目
301
28%
仲裁
33
24% / 61%
逾期
9
3%
工作中
3
开发者 3
等级
(21)
项目
27
4%
仲裁
4
0% / 0%
逾期
3
11%
工作中
4
开发者 4
等级
(442)
项目
570
37%
仲裁
106
39% / 33%
逾期
17
3%
空闲
5
开发者 5
等级
(236)
项目
279
77%
仲裁
12
75% / 0%
逾期
4
1%
空闲
6
开发者 6
等级
(8)
项目
12
0%
仲裁
22
0% / 77%
逾期
4
33%
空闲
7
开发者 7
等级
(57)
项目
82
24%
仲裁
24
13% / 58%
逾期
7
9%
已载入
8
开发者 8
等级
(103)
项目
111
31%
仲裁
3
33% / 33%
逾期
2
2%
已载入
9
开发者 9
等级
(19)
项目
23
48%
仲裁
10
0% / 100%
逾期
2
9%
空闲
10
开发者 10
等级
(301)
项目
307
69%
仲裁
2
100% / 0%
逾期
0
空闲
发布者: 1 代码
11
开发者 11
等级
(321)
项目
499
19%
仲裁
33
42% / 30%
逾期
32
6%
已载入
12
开发者 12
等级
(452)
项目
564
26%
仲裁
24
42% / 38%
逾期
85
15%
工作中
发布者: 6 代码
13
开发者 13
等级
(102)
项目
158
21%
仲裁
23
9% / 78%
逾期
16
10%
工作中
14
开发者 14
等级
(305)
项目
546
35%
仲裁
79
32% / 42%
逾期
196
36%
工作中
15
开发者 15
等级
(13)
项目
13
38%
仲裁
1
0% / 100%
逾期
1
8%
空闲
相似订单
Create simple EA 30 - 60 USD
Start BUY:- when i click start BUY button new panel should open which should contain bellow points:- Trigger Price Time frame Cross/Close RR ration Trailing Stop ratio Maximum Trade count Risk (percentage or cash) (Option to Increase risk when SL hit) Remove Trigger (True/False ) I will explain above point one by one here bellow •Trigger price :- here we enter price at which when market cross or
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
PrimeFlowEA — v1 Specification Objective: PrimeFlowEA v1 is designed to enforce disciplined, rule-based execution within a single daily trading session. The goal of v1 is correct behavior and execution discipline , not optimization or performance tuning. 1. Market & Time Platform: MetaTrader 5 (MQL5) Symbol(s): User-selectable (single symbol per chart) Execution timeframe: Configurable (default: M5 / M15)
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4
Looking for a developer to develop or provide past expert advisor that can cope with high impact news and high trends. needs to be mt5. Any strategy necessary. need to be able to backtest myself or see past results. Minimum profit per month 30% but needs to be very low drawdown. Can be one shot trade a day or a 1 min scalper ea. I will not be going to telegram to discuss further
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter

项目信息

预算
30 - 50 USD