Example robot for MetaTrader 5

London Breakout

At 08:00 London time it places one order above and one below the night's price range on GBPUSD. The first order to fill cancels the other, and everything is closed before the weekend.

Market
GBPUSD
Bars
1-hour bars (H1)
Clock
London time
What it does
Opens trades

When we open, you will be able to open this robot in the builder, change what you like and check it. Join the waitlist and we will email you once.

London Breakout in the builder: its 7 blocks, in rows. When: Time of day, 08:00 London time, Monday to Friday. Then: Buy stop, 20 points above the night's high; Sell stop, 20 points below the night's low; Cancel, the other order once one fills. Safety limits: Daily loss limit, 2.5% of the account; Stop loss, 250 points on every trade; Closed for the weekend, Friday at 20:00.

The rules, in plain words

Each rule is one or more blocks in the builder. Every number will be changeable before you check the robot.

When
At 08:00 London time, Monday to Friday.
What it looks at
The highest high and the lowest low of the last 8 closed 1-hour bars: the range the price made between 00:00 and 08:00.
Then
It places a buy stop order 20 points above that high and a sell stop order 20 points below that low. Both orders expire at 16:00. When one of them fills, the other is cancelled.
Exit
The trade has a stop loss 250 points away and a take profit at one and a half times the risk (1.5R).
Trade size
Each trade risks 1% of the account, and is never bigger than 3 lots.
The weekend
Every Friday at 20:00 London time it closes any open trade and deletes any pending order, and places nothing until Monday at 00:00.

Its safety limits

When a limit is reached, the robot stops opening new trades. You can change the numbers, but you cannot delete the limits.

  • Daily loss limit2.5%

    After a 2.5% loss in one day, counted from the balance at 00:00, it opens no new trades until the next day.

  • Stop loss on every trade250 points

    Each trade closes by itself if the price moves 250 points against it.

  • Trades per day1

    One trade a day: once an order fills, the other is cancelled and nothing else is placed that day.

  • Most trades open at once1

    It never holds two trades.

  • Biggest trade size3 lots

    A trade bigger than this is not placed.

  • Spread at most20 points

    When the spread is wider than this at 08:00, it places no orders.

  • Closed for the weekendFriday 20:00

    Open trades are closed and pending orders deleted every Friday at 20:00 London time.

What it does not do

Every robot here does only what its blocks say. These are the things people often expect from a robot that this one does not do.

A limit stops new trades. It cannot stop prices from jumping, so a loss can sometimes go past the limit you set. More on the safety page.

London Breakout

Not this

  • It places orders once a day and never chases the price after 16:00.
  • It holds one trade at a time, and never makes a trade bigger after a loss.
  • It holds nothing over the weekend.
  • Past results do not tell you what will happen next.

Build it, test it, get it

When we open: open the robot in the builder, change what you like, and press Check. Then test it on past prices in your own MetaTrader 5, and get it for your accounts.

The step-by-step guide covers every click, from the builder to a running robot.

Three steps

From this page to your chart

  1. Build. When we open, press Open it in the builder, change any number, then press Check. The builder says what is missing, in plain words. Building a robot

  2. Test. Download the free test copy and run it in the Strategy Tester. For this robot choose GBPUSD and H1. The robot works in London time. In the tester, choose dates that include a few weeks of normal trading days. Testing a robot

  3. Get it. Enter the MetaTrader 5 account numbers it may run on. You will pay once for each robot, and we will email you when it is ready to download. The account lock

Questions about this robot

More answers on the questions page.

What is a stop order?

A pending order that becomes a trade only if the price reaches it. A buy stop sits above the current price; a sell stop sits below it. Here they bracket the night's range, so the robot trades the direction the price breaks out in.

What happens if neither order fills?

Both orders expire at 16:00 London time and the robot waits for the next morning. Nothing is traded that day.

Can I use it on another pair or another time?

Yes. The symbol, the time, the range length, the distance above and below it, and every limit are blocks you can change in the builder.

More example robots

  • EMA Cross Trend

    Follows the trend on EURUSD, one hour at a time. It buys when a fast moving average crosses above a slow one while the price is above its long-term average, and sells on the opposite cross.

    Market
    EURUSD
    Bars
    1-hour bars (H1)
    What it does
    Opens trades

    Read its rules

  • RSI Mean Reversion

    Buys GBPUSD when the RSI says it is oversold and the price is above its long-term average, sells when it is overbought below that average, and gets out when the RSI returns to the middle.

    Market
    GBPUSD
    Bars
    15-minute bars (M15)
    What it does
    Opens trades

    Read its rules

  • Account Protector

    Opens no trades. It watches your whole account, including trades you place yourself, and closes everything when today's loss reaches 4% or the total loss reaches 8%. It also closes everything on Friday evening.

    Market
    Any account
    Bars
    Checks every 5 seconds
    What it does
    Watches the account, opens no trades

    Read its rules

All six example robots

Join the waitlist

We will email you once, when TheTradingRobot opens.