Trading botv1.4.014 options

London Breakout Bot

Expert Advisor for MetaTrader 5 that marks the Asian session range and trades the first close out of it in the London morning, once a day.

Net return
+200.8%
Profit factor
2.07
Max drawdown
14.5%
Trades
201

Backtest on XAUUSD M15 over 82 months, from $500 at 0.5% risk per trade and a 30% drawdown limit. Past results do not promise future returns.

Recommended MT5 setup

Best: XAUUSD · M15

Trades the Asian-range breakout during the London open and closes flat before rollover.

Primary chart
XAUUSD M15
Secondary pair
GBPUSD M15
Suggested risk
0.5%–1.0%
7-year winning months
61W / 21L

Optimized v1.4.0 defaults built into this EA

Asia / London GMT00–05 / 05–09
CloseAtHourGmt20
MaxConsecutiveLosses2 (48h)
MaxEmaDistanceAtr3.0
MaxMonthlyLossPercent5.0%

XAUUSD M15 · $500 @ 0.5% (2020–2026). Secondary pair verified on GBPUSD M15 (+45.3%, PF 1.32, 59W/22L at $10k @ 1%).

Multi-symbol portfolio slot:GBPUSD M15 (Magic 71040052) · XAUUSD M15 (Magic 71040051)
See full v1.4.0 portfolios

What it does

7 capabilities
  • Trading hours filter in GMT with automatic DST offset refresh, rollover pause, Friday cutoff and MT5 Economic Calendar news blackout
  • Asian session range marked each day with minimum and maximum hourly-ATR range quality gates
  • First clean directional close out of the range in the London window, once per day, with the higher-timeframe bias
  • Mandatory end-of-day flat exit at 20:00 GMT to avoid overnight swap and gap risk
  • Cost-adjusted break-even, partial take-profit, and rolling spread-spike guard
  • Account-currency OrderCalcProfit risk sizing, monthly loss budget and profit lock
  • Pre-flight OrderCheck, freeze-level protection and execution circuit breaker

How it works

The bot marks the high and low of the Asian session (00:00 to 05:00 GMT by default) as the key levels of the day. In the London window (05:00 to 09:00 GMT) it waits for the first clean directional bar that closes outside the range and trades in that direction, if the higher-timeframe bias agrees. Days with an abnormally tight or overly wide Asian range are skipped. The broker's clock is converted to GMT with automatic DST tracking. The stop goes to the middle of the range, the target at a fixed reward to risk, and any open position closes flat at 20:00 GMT before daily rollover so there is no overnight swap or gap risk; there is at most one trade per day. The range and the step the bot is at are shown on the chart. The strategy runs in the bot's DLL and works only with an approved FXOpsPro license key.

Parameters & options

Configured directly in MetaTrader 5 Expert Advisor inputs.

14 of 14
ParameterTypeDefaultDescription
MaxMonthlyLossPercent
number5.0The bot loses at most this % of the month's starting balance in a calendar month: new trades are sized to the loss that is left, then none until the next month (5.0 for this bot; 0: off)
MaxConsecutiveLosses
int2Account protection: pause new entries for LossCooldownHours after this many consecutive losing positions in a row (2 for this bot; 0: off)
LossCooldownHours
int48Account protection: hours to pause new entries after hitting MaxConsecutiveLosses (48 for this bot)
MonthProfitLockPercent
number0.25Month profit lock: after the month's closed result reaches this % of the month's starting balance, new trades are sized to keep MonthProfitKeepPercent of its best closed result (0.25 for this bot; 0: off)
MonthProfitKeepPercent
number50.0Share of the month's best closed result that the month profit lock keeps, in % (50 for this bot; 0: break-even)
DrawdownThrottlePercent
number0.0Multiply RiskPercent by DrawdownThrottleFactor while account equity is this % or more below its peak (0 for this bot: off)
MaxEmaDistanceAtr
number3.0Anti-chase filter: skip a signal when price is already extended more than this many ATRs beyond the fast EMA in the trade direction (3.0 for this bot; 0: off)
RiskReward
number2.0Take profit at this many times the stop distance (2.0 for this bot)
UseZoneTarget
boolfalseThe target is the near edge of the next key zone in the trade direction (false for this bot: fixed RiskReward target)
CloseAtHourGmt
int20Intraday flat exit: close open positions at this GMT hour before daily rollover (20 for this bot; -1: off)
AsiaStartGmt
int0Start of the Asian session, hour in GMT
AsiaEndGmt
int5End of the Asian session and start of the London window, hour in GMT (5 for this bot)
LondonEndGmt
int9End of the London window, hour in GMT (9 for this bot)
MaxRangeAtr
number5.0Skip the day when the Asian range is wider than this many hourly ATRs (the chart's ATR is converted to H1, so the value works on any timeframe; M15 or higher is recommended)

More trading bots

View all trading bots