Guide · MetaTrader · comparison

MetaTrader or a custom API trading system?

MetaTrader 4 and 5 run a large share of the world’s retail forex automation, and for good reason. They are also the platforms we are most often asked to move strategies away from. Both things are true. Here is how to tell which side of the line your strategy is on.

The short answer

Stay on MetaTrader if your broker offers it, you trade one account on that broker’s instruments, and you want a quick, inexpensive build. Move to a custom system on your broker’s API when your broker has no MetaTrader, or you need several brokers or accounts under one set of limits, other instruments, or data beyond the broker feed. In between, you can keep the EA and add an outside program that watches it.

When MetaTrader is the right choice

  • Your broker offers MetaTrader 5 (or 4) and you are happy to stay with that broker.
  • The strategy trades one account, on instruments that broker carries.
  • You want a quick, inexpensive build: an Expert Advisor with the platform’s own backtester, which in MT5 can replay real tick data.
  • A rented server running the terminal around the clock is enough hosting for you.

In that situation a well-written EA is often the sensible answer, and we build them. See MetaTrader development.

When a custom system on your broker’s API is better

  • Your broker does not offer MetaTrader. Interactive Brokers, Charles Schwab, Alpaca and Tradier, for example, are reached through their own APIs.
  • Several brokers or accounts under one set of limits. One engine with a single view of risk is simpler than several terminals that cannot see each other.
  • Instruments beyond your MetaTrader broker’s list, such as US listed options or futures at a different broker.
  • Data beyond the broker feed: a separate tick feed, news, or your own database.
  • You want the whole system to be yours, independent of any one platform vendor’s plans. Our page on owning your trading system covers that argument.

Side by side

MetaTrader Expert AdvisorCustom system on a broker API
BrokersBrokers that offer MetaTraderAny broker with an API you can access
InstrumentsWhat the MetaTrader broker lists, mostly forex and CFDsWhatever the broker’s API offers
Several accountsOne terminal per account, limits kept per terminalOne engine, limits across all accounts
BacktestingBuilt in; MT5 can use real ticksBuilt to your needs, or a separate engine
HostingA server running the terminalYour server or cloud, no terminal needed
PortabilityTied to MetaTraderBroker adapters can be swapped
Typical buildSmaller and quickerLarger, more to test

The middle paths

It is rarely all or nothing. Three options sit between the two:

  • Keep the EA, add an outside watcher. MetaTrader 5’s official Python package lets a separate program read positions and send orders through the running terminal, so limits and logging can live outside the EA.
  • Move the logic, keep the broker. If your broker also offers its own API, the strategy can run outside MetaTrader while trading the same account.
  • Rewrite for a different broker. When the broker itself has to change, the strategy is rebuilt against the new API and checked signal by signal against the EA.

What moves cleanly, and what does not

The rules of a strategy move easily: entries, exits, sizing. What needs care is everything MetaTrader did for you without being asked: how it handles positions on netting and hedging accounts, how its tester models prices, and how stops and pending orders behave at your broker. A careful migration runs the old and new versions side by side on the same data until they agree, and explains any difference that remains. Our guide to building a forex EA for MT5 covers the MetaTrader side in detail. If you decide to move, see custom algorithmic trading software, and compare the broker APIs it could run on in our broker API comparison.

Common questions

Can MetaTrader trade at Interactive Brokers?
No. Interactive Brokers does not offer MetaTrader, so an Expert Advisor cannot place orders there directly. The usual answer is to rebuild the strategy as software that connects to the IBKR API, and check that its signals match the original EA.
Should I move my Expert Advisor off MetaTrader?
Only if you have hit one of its limits: a broker that does not offer MetaTrader, several brokers or accounts under one risk limit, instruments your MetaTrader broker does not carry, or a need to own and run the whole system yourself. If none of those apply, MetaTrader is often the cheaper and quicker home.
Can I keep my EA and still add controls around it?
Often, yes. MetaTrader 5 has an official Python package that can read data and send orders through a running terminal, so an outside program can monitor positions, enforce limits or log activity while the EA keeps trading.
start here

Tell us your market, your broker, and what you want automated.

Send us the requirement. We'll come back with the questions that turn it into a real scope, cost and timeline, usually within one working day.

Send us your brief

A few lines is enough to start: your rules in plain words, or a link to your script. We'll ask for the rest.