MetaTrader 5 in your terminal

A small program runs in your own MT5 and reports to Tradeus. No password leaves your machine — and copying stops when the machine does.

MetaTrader 5 has no API for your own account. Every service that claims one is running a Windows terminal in a datacentre with a small program inside it, exactly like the one you are about to install — the only difference is whose computer it runs on. Tradeus gives you that program to run on yours.

So you type no password anywhere. Tradeus never signs in to your broker, and there is nothing stored on our side that could. For a prop-firm account that matters beyond privacy: handing a third party your master password is what most firms' rules call credential sharing, and this route never asks for one.

  1. 1
    Get your token
    Pick MetaTrader 5 on the connect screen. Tradeus shows you a token and an address, once. Only a fingerprint of the token is kept, so copy it before you leave the page. For an account from a prop firm, pick Other firm… — or the firm and then Show all brokers — before MetaTrader 5, and the firm goes along with the token request.
  2. 2
    Install the program
    Download Tradeus.mq5 — the same file the connect screen links beside your token — put it in your terminal's MQL5\Experts folder and press F7 to compile it. If you already have an older copy on a chart, replace it: each version does something the one before it could not. The newest reads the stop and target resting on your positions, takes a stop as a PRICE rather than as a distance from its own fill, and can MOVE one behind a position that is already open. An older copy reads the levels and cannot move them, and Tradeus says so by name instead of failing quietly. Moving one also waits on a server switch, because most MetaTrader brokers refuse a stop placed too close to the market and nobody has watched yours answer yet — which is what lets Tradeus name the level you set instead of telling you that you set none. Carrying it on to your followers is a separate ability, switched on per broker once it has been proven there — see Trades you take by hand on the Copier page for what Tradeus does with it today.
  3. 3
    Allow the address
    In MetaTrader: Tools → Options → Expert Advisors → tick “Allow WebRequest for listed URL” and add the address Tradeus gave you. Skip this and the terminal silently refuses to talk to us.
  4. 4
    Put it on a chart
    Drag it onto any chart, paste the token and the address into its settings, and allow algo trading. Your account appears in Tradeus within a few seconds.
It only works while MetaTrader is open
The program asks Tradeus for work four times a second. Close the terminal, let the computer sleep, lose the connection — and copying stops until it comes back. Nothing warns you, because a program that has stopped asking cannot report that it stopped. If the account matters, run it somewhere that stays awake: a Windows server rented for trading, such as TradingVPS, keeps MetaTrader open while your own computer is off.
When something is wrong, the Experts tab says what
A refused connection prints one line naming the actual cause — a token that was not accepted, an address missing from the allow-list, or an account already connected to Tradeus somewhere else. The program then slows down instead of asking again four times a second, doubling the gap up to a minute, because hammering a refusal is how an address gets locked out entirely. So after you fix the setting, give it up to a minute before deciding it did not work — or take it off the chart and put it back on, which starts it again immediately.

Tradeus will not guess at an account it cannot see. If the terminal has not reported for a few seconds, reading that account fails with a message saying so rather than answering from the last picture it had — because sizing a trade against an account that has since moved is the kind of mistake that only shows up on the statement.

Your broker's lot rules come from your terminal
Lot sizes on MetaTrader belong to the broker, not to the instrument: the same EURUSD is traded in steps of 0.01 on one server and 0.1 on another, the smallest and largest order differ, and your broker may spell it EURUSD, EURUSD.raw or EURUSD.m. So the program reports what your own terminal says about every symbol in your Market Watch, and Tradeus sizes against that — a size that does not fit the grid is reduced to the next one that does, never raised. Where it cannot fit at all, the order is refused with the reason instead of being sent for the broker to reject.
Two things that make an order refuse, and both are quick to fix
A symbol that is not in your Market Watch cannot be sized, because your terminal never described it — add it there, or map the symbol on the account. And a copy of Tradeus.mq5 from before this was built does not report lot rules at all: your positions, balance and exits keep working exactly as they did, but a new order is refused rather than sized against a guess. Download the current Tradeus.mq5 — it needs no login and no new token, so your connection stays as it is — then recompile with F7 and put it back on the chart.
Map every FX pair you trade by hand
Tradeus recognises a trade you opened yourself by matching your broker's spelling to a symbol it knows. Indices and metals it works out on its own, whatever suffix your broker adds — NAS100, US30, SPX500, USOIL, UKOIL, XAUUSD, XAGUSD. FX pairs it cannot: a position you open yourself in EURUSD.pro is only recognised once you have mapped that pair on the account, and until then Tradeus says it could not read the account rather than guessing at it. A pair Tradeus has already traded on that account needs no mapping.
What to expect
Speed
A copied trade arrives roughly a third of a second to a second and a half after the signal. Half of that is the wait until the program next asks.
Symbols
Your broker's own spelling is used — EURUSD.pro or XAUUSD.m rather than EURUSD. Where the name your alert uses differs, map it on the account.
Hedging or netting
Read from the account itself, never assumed. MetaTrader decides this per account and your broker sets it, and the two behave differently when an opposing signal arrives.
Stops
A stop and a target travel with the order itself, so there is no moment where the position is open and unprotected. On MetaTrader they travel as a DISTANCE and your terminal works the level out from the price it actually filled at — which is exact for that account, but means a follower filling a little away from you rests a little away from your level too. Where a broker takes a price instead, every account in the group rests on the same number; the event log says which you got.

Also in Connect a broker