Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

London Breakout EA: simple and transparent/London Breakout Expert Advisor: simple and transparent - expert for MetaTrader 5

Views:
70
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A deliberately simple Expert Advisor that you can read and understand in five minutes.

Rules:
1. During the Asian session (times are specified as inputs, based on the broker’s server time), the EA measures the high and low of the range.
2. After the range ends and until the ‘no new entries’ hour, if a closed bar breaks the range by a small buffer, the EA enters in the direction of the breakout.
3. Stop loss: the opposite side of the range (plus the buffer). Take profit: RR times the stop distance (1.5 by default).
4. A maximum of one trade per day. Any open trade is closed at the selected time.
5. Lot size is calculated based on the risk percentage of the balance (0.5% by default, max 2%).
6. Filters: maximum spread; the day is skipped if the stop is further than 3 × ATR(H1, 14).

What it does NOT do: no grid trading, no martingale, no averaging, no hidden lot increases; every trade has a stop loss.

How to use: attach it to a liquid instrument on the M5 or M15 timeframe (EURUSD, GBPUSD, XAUUSD), check your broker’s trading hours (server times may vary), and run it first in the Strategy Tester, then on a demo account. Always test using your own broker’s data.

Important: this is an educational and testing tool. Past performance and strategy tester results do not guarantee future profits. Trading carries the risk of loss. The author does not promise any profit.

Tester results (unadjusted, XAUUSD M15, risk 0.5%, 10,000 USD, no delay): Jan–Jun 2026 +4.2% (PF 2.29, 29 trades); July–October 2026: +0.4% (PF 1.17, 14 trades); 2025: +3.2% (PF 1.18, 108 trades, maximum drawdown 3.2%, data quality 59%). On EUR/USD, the result was close to break-even. The edge is small and depends on the time period; the sample size is small. Treat it as a template, not as a source of income.

I am ready to adapt this EA to your specifications or develop any indicator or Expert Advisor from scratch.


A deliberately simple Expert Advisor that can be read and understood in five minutes.


Rules:

1. During the Asian session (times are set by the parameters, based on the broker’s server time), the Expert Advisor measures the high and low of the range.

2. After the range ends and until the ‘no new entries’ hour, if a closed candlestick breaks through the range by a small buffer, the EA enters in the direction of the breakout.

3. Stop-loss: the opposite side of the range (plus the buffer). Take-profit: RR based on the distance to the stop (default 1.5).

4. A maximum of one trade per day. An open trade is closed at a set time.

5. Lot size is calculated as a percentage of the risk relative to the balance (default 0.5%, maximum 2%).

6. Filters: maximum spread; the day is skipped if the stop-loss is further than 3 x ATR(H1, 14).


What the EA does NOT do: no grid trading, no Martingale, no averaging, no hidden lot size increases; every trade has a stop-loss.


How to use: apply to a liquid instrument on the M5 or M15 timeframe (EURUSD, GBPUSD, XAUUSD); check the trading session times for your broker (server times may vary); run it first in the strategy tester, then on a demo account. Always test using your broker’s data.


Important: this is an educational and testing tool. Past performance and back-test results do not guarantee future profits. Trading involves the risk of loss. The author does not promise any profit.


Tester results (honest, XAUUSD M15, risk 0.5%, 10,000 USD, no delay): Jan–Jun 2026 +4.2% (PF 2.29, 29 trades); July–October 2026: +0.4% (PF 1.17, 14 trades); 2025: +3.2% (PF 1.18, 108 trades, max. drawdown 3.2%, backtest quality 59%). On EUR/USD, the result is close to zero. The advantage is small and depends on the period; the sample size is small. Treat the expert advisor as a template rather than a source of income.


I am willing to adapt the expert advisor to your specifications or to develop an indicator or expert advisor from scratch.

Balance and Funds Chart Summary of the report


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/78293

ReliableOutbox: persistent message queue with Telegram demo ReliableOutbox: persistent message queue with Telegram demo

Persistent MQL5 outbox with a Telegram demo and offline tests. An uncertain result is never retried automatically. Manual retry may duplicate a message; SENT means API acceptance, not a read receipt.

Risk Lot Size Calculator Panel Risk Lot Size Calculator Panel

Lot size calculator panel for MT5 on Gold (XAUUSD), forex and indices: risk in percent of balance, percent of equity or money, stop in points, exact loss per lot, one click Buy or Sell with stop and target. Open source code.

Supertrend Gold Signals Supertrend Gold Signals

Supertrend indicator for MT5 on Gold (XAUUSD), forex and indices: ATR trailing line in two colours, buy and sell arrows only on the closed candle of the flip, popup, push and sound alerts. Open source code.

MACD Signals MACD Signals

Indicator edition for new platform.