How to use TheTradingRobot

TheTradingRobot is not open yet. This guide shows how it will work when we open, from building your robot to running it in MetaTrader 5.

We are still building it, so some screens may change before we open. We will update this guide when they do.

Preview of the builder we are making. It shows an example robot: at 08:00 London time, if the price is above its 50-day average, buy with a stop loss, and stop for the day after a 2% loss.

What you need

  • MetaTrader 5 on a computer

    The free trading app many brokers give you. Robots run on a computer, not in the phone app.

  • An account with a broker

    You will need its account number when you buy your robot. Start with a demo account, which uses practice money.

  • A computer that stays on, or a VPS

    Your robot works only while the app is open. A VPS is a computer you rent online that stays on.

  • An account with us

    Building, checking and testing will be free. You will pay once for each robot you run on your own accounts.

Step 1 of 5

Build your robot

Start from a ready-made example robot, or from a blank page.

Your robot will be made of blocks, in rows:

  • Whenwhat starts a check, for example a time of day or a new price bar.
  • Ifwhat must be true, for example the price is above its average.
  • Thenwhat to do, for example buy or sell.
  • Safety limitsthe limits your robot must keep, for example a daily loss limit and a stop loss on every trade. Every trading robot will have them, and you will not be able to remove them.
  • Tell meoptional messages, for example an email when a trade opens.
Preview of the Build step: five rows of blocks for an example robot.

Click a block to change its numbers. Each block will say what it does in plain words.

Step 2 of 5

Let the builder check it

When you press Check, the builder will look at every block. If something is missing, it will say what and where, in plain words.

It will refuse to make a robot that:

  • makes the trade bigger after a loss;
  • keeps adding trades while the price moves against you;
  • opens trades in the other direction to try to win back a loss;
  • trades without a stop loss.

You will be able to change the numbers in your safety limits, but not delete them. See every robot we will not build.

Preview of the Check step: the result, and what a refusal looks like.

Step 3 of 5: Test it for free

Get the test copy

When your robot passes the check, you will be able to download a free test copy. It runs only in the Strategy Tester in MetaTrader 5, so you can try your rules on past prices before you pay.

You will download:

  • Your test copy. Its name ends in .ex5. Your numbers, such as your safety limits, are built into it.
  • Its compile log, which shows that it was built without errors.

On a chart, the test copy will show a message and will not trade.

Preview of the Test step: your free test copy and its compile log.

cTrader and MetaTrader 4 versions will come later.

Step 3 of 5: Test it for free

Put it into MetaTrader 5

MetaTrader 5 keeps robots in a folder called Experts. Copy your test copy there now. When you buy your robot later, you put it in the same folder in the same way.

Full instructions, with every click: Put your robot into MetaTrader 5.

In MetaTrader 5

Copy your robot into MetaTrader 5

  1. Copy it into the Experts folder. In MetaTrader 5, choose File, then Open Data Folder. In the folder that opens, open MQL5, then Experts, and copy your robot file there.

  2. Refresh the Navigator. Back in MetaTrader 5, open the Navigator (View, then Navigator, or Ctrl+N). Right-click Expert Advisors and choose Refresh. Your robot appears in the list.

Your robot now appears in the Navigator, under Expert Advisors.

Step 3 of 5: Test it for free

Run the test

MetaTrader 5 has a built-in Strategy Tester. It replays past prices, so you can see how your rules would have traded. Past results do not tell you what will happen next.

Use your free test copy here. You can test it as often as you like, with different symbols and dates.

More on testing, including the news file some robots need: Test your robot in the Strategy Tester.

Good to know: the test copy runs only in the Strategy Tester. To run your robot on your own accounts, you buy it in step 4.

In MetaTrader 5

Test it in the Strategy Tester

  1. Open View then Strategy Tester, or press Ctrl+R.

  2. On the Settings tab, choose your robot, the symbol it trades, the timeframe and the dates. For Modelling, "Every tick based on real ticks" is the most detailed choice when your broker provides it.

  3. Your robot's numbers are built into it, so there is nothing to load. Press Start.

  4. To keep the results, right-click in the Backtest tab when the test finishes and choose Report, then HTML. Save the file.

Step 4 of 5

Buy it for your accounts

When you are happy with your tests, you will be able to buy your robot to run it on your own accounts. You will pay once for each robot. While we launch, getting your robot will be free. Prices are not set yet.

When you buy, you will enter the MetaTrader 5 account numbers your robot may run on, for example a demo account and a live account. Your account number is the login your broker gave you. MetaTrader 5 lists your accounts in the Navigator, under Accounts.

We will then build your robot for those accounts and email you when it is ready. You will download the robot and its compile log from your account page, and downloading them again will be free.

Where to find your account number, and how to change accounts later: The account lock.

Preview of a robot you bought: locked to your demo and live accounts, and ready to download.

On any other account, your robot will show a message and will not trade. If you change your strategy later, the new robot will be a new purchase.

Step 5 of 5: Turn it on

Start your robot

Try your robot on your demo account first. Once it is on, it will follow your rules by itself while MetaTrader 5 is open.

It will run only on the accounts you entered when you bought it. It will not contact our website, so there is nothing else to set up.

In MetaTrader 5

Put it on a chart and switch it on

  1. Put your robot into MetaTrader 5 the same way as your test copy, in step 3b.

  2. Drag it onto a chart. Open a chart of the symbol your robot trades, then drag the robot from the Navigator onto it. In the window that opens, on the Common tab, tick “Allow Algo Trading” (older versions: “Allow Auto Trading”). Press OK.

  3. Switch Algo Trading on. On the toolbar, press Algo Trading (older versions call it AutoTrading). The button is green when it is on.

Your robot's name and icon appear in the top right corner of the chart.

Step 5 of 5: Turn it on

Keep it running

Your robot works only while MetaTrader 5 is open and connected to your broker. If you close MetaTrader or turn off your computer, it stops.

To keep it running all the time, use a VPS: a computer you rent online that stays on. Some brokers offer one. We will not host robots for you.

Your account page will keep every robot you bought. You can download them again at any time, for free.

In MetaTrader 5

Your robot runs while

  • MetaTrader 5 is open
  • It is connected to your broker
  • It is logged in to an account you entered
  • Algo Trading is on

To stop it at once

  • Press Stop robot on its chart and choose how to stop. It stays stopped until you press Resume robot.
  • Or switch off Algo Trading on the toolbar, or press Ctrl+E. Your robots stop opening trades. Open trades stay open.
  • Or right-click your robot's icon on the chart and choose Remove.

If something goes wrong

Common problems, and how to fix them.

My robot is not in the Navigator

Check that your robot file is in MQL5 then Experts inside the data folder. To open the folder, choose File then Open Data Folder. Then right-click Expert Advisors in the Navigator and choose Refresh.

My robot is on the chart but does not trade

Check that Algo Trading is switched on in the toolbar, and that "Allow Algo Trading" is ticked on the Common tab of your robot's window. Your safety limits may also have stopped it for the day, it may be outside your trading hours, or it may have been stopped with its own Stop robot button.

My robot says this account is not allowed

Your robot runs only on the account numbers you entered when you bought it. Make sure MetaTrader 5 is logged in to one of them: choose File then Login to Trade Account, or double-click the account in the Navigator, under Accounts. To run it on another account, ask for an account change on your account page.

The test copy will not run on my chart

The free test copy runs only in the Strategy Tester. To run your robot on your own accounts, buy it (see step 4), then turn it on.

It did well in the Strategy Tester. Will it do the same live?

No one can promise that. Past and test results do not show what will happen next. Live prices, spreads and delays differ from a test.

Something else on the chart?

Every message your robot can show, with what to do: Troubleshooting.

I still need help

Email us at and tell us what you see.

Join the waitlist

We will email you once, when TheTradingRobot opens.