Connect a trading account
Connect a MetaTrader 4 or 5 account through MetaApi's secure page or the MetaTrader EA in your own terminal, or create a broker demo account to practise on.
Tether Terminal reaches your broker through MetaApi, a MetaTrader connection service. You describe the account in Tether Terminal, then type your MetaTrader login and password on MetaApi’s own page, so your broker password never enters Tether Terminal. You can also connect through the MetaTrader EA in your own terminal instead.
Connecting a demo account named Practice account, from Accounts to a live, synchronized account. The password is typed on MetaApi's own page, where it stays masked.
Before you start
- Your MetaTrader login (the account number) and password.
- The exact name of your broker’s server, for example
ICMarketsSC-Live06. It’s on the MetaTrader login screen and in the details your broker sent when you opened the account. Copy it character for character. - Pop-ups allowed for Tether Terminal in your browser. The secure step opens MetaApi in a new tab.
Connect an existing account
-
Open Accounts in the sidebar and click Connect Account. The Connect Account button on the Dashboard and the Connect your MetaTrader account step in the Get started checklist open the same page.
-
Under What would you like to connect?, choose Connect an existing account and click Continue.
-
Under Describe the account, fill in:
- Display name: the name you’ll see for this account everywhere in the app, such as your broker and strategy.
- Trading platform: MT4 or MT5.
- Broker server: the exact server name from MetaTrader.
If it’s a prop firm account, you can keep the firm’s rules with it. Tick Choose a prop firm profile for this account above the form first. See Choose a prop firm profile.
-
Click Create provider account. The button shows Creating account… while Tether Terminal sets the account up with MetaApi. This usually takes a few seconds.
-
On Finish the connection securely, wait until Provider account created shows Complete. Until then the main button reads Waiting for MetaApi. Then click Open MetaApi in new tab.
-
In the MetaApi tab, enter your MetaTrader login and password and submit the form. You can close that tab when it’s done.
-
Go back to the Tether Terminal tab. It checks for your details as soon as you return and shows Waiting for MetaApi to confirm your credentials. If nothing changes, click Check now.
-
Once MetaApi accepts the login, the page moves to Verify the account. The badge steps through Authorization confirmed, Deploying and Synchronizing. You can keep the page open or carry on elsewhere in the app.
-
When the badge reads Live and the heading says Account synchronized, click Return to accounts.
Choose a prop firm profile
When you connect a prop firm account, you can save the firm’s listed rules with it: the profit target, daily and maximum loss, profit split and payout frequency for the program and size you bought. It’s optional, and the rules are for reference. Tether Terminal doesn’t check your orders against them. See Prop firm profiles.
- On the details step, tick Choose a prop firm profile for this account.
- Choose your firm under Prop firm. Find a firm and Market narrow the list.
- Choose the Program and the Account profile and size shown in your firm dashboard. The profile’s rules appear below.
- Tick I understand this saves reference rules only. Automatic prop firm protection is not activated. My account permits this MetaTrader connection.
- Fill in Describe the account and click Create provider account as usual.
Create provider account stays greyed out until you’ve chosen a profile and ticked the box, or unticked Choose a prop firm profile for this account. Only forex and CFD profiles can be chosen here, because this page connects MetaTrader accounts. Save a futures, crypto or perpetuals profile in the library instead. Once the account is created, the profile is saved with it, and its rules show on the setup page and on the account’s rules page.
The four stages
The timeline on the secure step tracks four stages. The setup notifications count them as steps 1 to 4.
| Stage | What’s happening |
|---|---|
| Provider account created | MetaApi sets up the connection for this account. |
| Authorize the broker connection | Tether Terminal is waiting for you to enter your login and password on MetaApi’s page. |
| Deploy account | After your details are accepted, MetaApi starts a cloud MetaTrader terminal for the account. |
| Synchronize trading state | Your balance, positions, orders and history load into Tether Terminal. |
How long it takes
Creating the account with MetaApi usually takes a few seconds. Deploying and the first sync take longer, and an account with a long trade history takes more time to load. After the first sync, your older trades keep loading in the background, starting within a few minutes. The page and the notifications update by themselves, so you don’t need to refresh.
For 30 minutes after you open MetaApi’s page or come back to the setup page, Tether Terminal watches closely for your details. After that, the page says We haven’t received your credentials yet. Finish the MetaApi form, then click Check now.
The secure link only works for a limited time. The page shows when it expires, under Current link expires.
Following progress from anywhere
You don’t have to wait on the setup page. If you leave it, a notification in the corner of the screen stays up until setup finishes. It names the account, says which step of 4 it’s on, and has an Open setup button that takes you back.
| Notification | What it means |
|---|---|
| Creating the MetaApi account | Step 1. Usually a few seconds. |
| Waiting for your broker login | Step 2. Enter your login and password on MetaApi’s page. |
| The secure link expired | Step 2. Open setup to request a new link. |
| Broker login accepted or Starting the cloud terminal | Step 3. MetaApi is deploying the account. |
| Syncing trading data | Step 4. Balance, positions and history are loading. |
| Account connected | Done. Live data is flowing. |
| No account capacity left | Your allowance is full. Free a slot to continue. |
| MetaApi is having trouble | Setup resumes by itself when MetaApi recovers. |
| Connection needs attention | Open setup to see what to do. |
If a notification adds Live data is delayed and will catch up automatically, the connection is fine and the data feed is behind. If you dismiss a notification, it stays hidden until the connection reaches its next stage.
On the Accounts page, an account that’s still being set up shows Needs credentials or Connecting. Opening it takes you back to the step that needs you, with a Continue setup button.
Create a demo account
When your workspace supports it, the first step also offers Create a demo account. Tether Terminal asks a supported broker to open a new demo (practice) account and connects it for you. It never opens a live brokerage account.
- Under What would you like to connect?, choose Create a demo account and click Continue. If the option shows Checking support, wait a moment.
- Under Configure a supported demo, fill in:
- Display name
- Trading platform: MT4 or MT5.
- Supported broker demo: a broker and server from the list. Only combinations MetaApi has confirmed are listed.
- Starting balance and Leverage: optional. Left blank, they default to 1,000 USD and 1:100.
- Click Generate broker demo. The button shows Generating broker demo… while the broker creates the account.
- On Save your demo credentials now, copy the Broker login, Broker password and Server into your password manager. This is the only time Tether Terminal shows them.
- Tick the box confirming you saved them, then click I saved them — continue.
- Follow Verify the account until it shows Live, as in the steps above.
If no supported demo brokers are available, the demo option doesn’t appear and the page says so. You can still connect an existing account.
Connect through the MetaTrader EA
You can also connect an account through an Expert Advisor (EA) that runs in your own MetaTrader 4 or 5 terminal, on your computer or your own VPS. The EA sends your balance, positions, orders, history and prices to Tether Terminal and places the orders you send from Tether Terminal. Your broker login and password stay in MetaTrader and never reach Tether Terminal or MetaApi.
The EA only works while your MetaTrader terminal is open with the EA attached. If you close MetaTrader or your computer goes to sleep, the account goes offline until you open it again.
Before you start
- MetaTrader 4 or 5 installed and logged in to the account you want to connect.
- The exact name of your broker’s server, as shown in MetaTrader.
- If it’s a prop firm account, check that your firm allows EAs. Some don’t.
Create the EA account
-
Open Accounts and click Connect Account. Under What would you like to connect?, choose Connect with the MetaTrader EA and click Continue.
-
Under Describe your EA account, fill in:
- Display name: the name you’ll see for this account everywhere in the app.
- Trading platform: MT4 or MT5.
- Broker server: the exact server name from MetaTrader. The EA checks it when it connects.
- Prop firm (optional): choose your firm if it’s a prop firm account. Tether Terminal checks the firm’s published EA policy first, and firms that don’t allow EAs are marked EA not permitted.
-
Click Create EA account. Tether Terminal creates the account and a one-time bridge token for the EA.
Install the EA in MetaTrader
The Install the EA step walks you through MetaTrader. Keep it open while you work in MetaTrader.
-
Download the EA. Click Download TetherBridgeMT5.ex5 (or TetherBridgeMT4.ex4 for MT4). The page shows the file’s version and SHA-256 checksum. In MetaTrader, open File → Open Data Folder, go to
MQL5/Experts(MQL4/Expertson MT4), paste the file there, then right-click Expert Advisors in the Navigator and click Refresh.
-
Allow WebRequest. MetaTrader blocks an EA’s outgoing connections until you allow them, once per terminal. Click Copy allowlist URL. In MetaTrader, open Tools → Options → Expert Advisors, tick Allow WebRequest for listed URL, and paste the URL exactly, with no slash at the end.
-
Download the .set preset. Click Download .set preset. The file holds your connection settings and your bridge token, so you don’t type anything into MetaTrader.
-
Attach the EA to one chart. Drag the EA from the Navigator onto any one chart. On the Inputs tab, click Load, choose the
.setfile you downloaded, and click OK. Attach it to one chart only. -
Turn on Algo Trading. Turn on Algo Trading in the MetaTrader toolbar (AutoTrading on MT4), and allow algorithmic trading on the EA’s Common tab. Without these, orders from Tether Terminal can’t be placed.
-
MT4 only: load all history. On the Account History tab in MT4, right-click and choose All History. MT4 only shares the trades that tab shows.
-
Back in Tether Terminal, tick the box confirming you downloaded the preset or saved the token, then click I saved the token — continue.
If you’d rather set the EA up by hand, Manual input values (fallback) lists the settings: choose the Gateway preset shown there from the EA’s InpGatewayPreset list, and paste the bridge token into InpBridgeToken with Copy bridge token.
Verify the connection
On Verify the EA connection, the page shows Waiting for your MetaTrader EA until the EA reaches Tether Terminal. It updates by itself when the EA’s first heartbeat arrives, and the Broker box fills in when the EA connects. Once it connects, the page says EA bridge connected.
After it connects, the account’s open positions and pending orders show in the Terminal, and symbol search and the watchlist list every symbol your broker offers, not only the ones in MetaTrader’s Market Watch (EA version 1.1.1 or later). The EA loads up to one year of your past trades into Tether Terminal, and charts for the account get their price history from your terminal.
With EA version 1.2.0 or later, the account stays up to date while MetaTrader runs:
- Balance, equity, margin and free margin update about once a second while you have trades open.
- Positions and pending orders update as soon as one opens, closes or changes its stop loss, take profit or size, and their profit and current price follow the market.
- Each trade you close arrives in Tether Terminal as it closes, without the EA sending the whole year of history again.
- A chart for a symbol that isn’t in MetaTrader’s Market Watch loads its history without you opening that chart in MetaTrader first. The EA adds the symbol to Market Watch and waits a few seconds for MetaTrader to fetch it.
You can place, close, partly close and modify positions, and place, change and cancel pending orders, from the Terminal on an EA account, the same way as on any other account. MetaTrader carries them out through the EA, so Algo Trading must be on.
In MetaTrader
The EA adds two panels to the chart you attached it to, on the right-hand side:
- The status panel shows Tether Bridge with the EA’s version, whether it’s connected, the gateway’s response time, and how far the trade history has loaded. If something needs fixing, it names it: a URL missing from the WebRequest list, a switched-off Algo Trading setting, or on MT4 the All History reminder.
- The trade ticket places orders from the chart. Drag it by its title bar, or collapse it with the button in its corner. Choose Market, Limit or Stop, then Buy or Sell. Size the order by Risk %, Risk $ or Lots: risk sizing works out the lot size from your stop loss, and the ticket shows the risk, reward and risk-to-reward ratio. 1R, 1.5R, 2R and 3R set the take profit as a multiple of your risk, and with Magnet ON the take profit follows when you move the stop loss. Lines: ON draws entry, stop loss and take profit lines on the chart that you can drag. Below, BE moves the stop loss to break-even, and 50% and Close close half or all of the chart symbol’s open positions.
The ticket works out margin with your broker’s own figures and shows amounts in your account currency. Its lines stay where you drag them while prices move.
Orders placed from the trade ticket show up in Tether Terminal like any other order on the account.
On MT4 accounts with market execution (common on ECN accounts), the broker refuses a stop loss or take profit on the opening order. EA version 1.2.0 opens the trade first and then adds the stop loss and take profit.
Manage the EA connection
The account’s Connection tab has a Connection transport card. It has a row for Cloud (MetaApi) and one for the MetaTrader EA. The row the account runs through is marked Active, with its own connection state and when Tether Terminal last heard from it. Under the rows is the bridge token, masked apart from its first characters.
- On an account you connected through the EA alone, the Cloud (MetaApi) row shows Not configured.
- On an account that also has a MetaApi connection, the Cloud (MetaApi) row shows Standby while the EA is active, with MetaApi’s own status and when it was last checked. If MetaApi has an outage, the row says so.
- Switch to Cloud (MetaApi) moves the account back to MetaApi. It’s only available while MetaApi is deployed, connected, recently checked and free of outages. Otherwise the dialog explains why, and the account stays on the EA.
- After a switch either way, the account shows Connecting for up to 90 seconds while the new connection starts. Balances, positions, orders and history stay.
- Show reveals the full token, and Hide masks it again. Copy copies it to your clipboard.
- Download .set downloads the
.setpreset again, with your connection settings and the current token, for loading into the EA on another terminal or after reinstalling MetaTrader. - Rotate replaces the token. The old one stops working, so download the new
.setpreset and load it into the EA. - Revoke turns the token off and disconnects the EA. Pair MetaTrader EA creates a new token when you’re ready to connect again.
Only the account’s owner can reveal, copy or download the token. A token created before Show and Copy were added can’t be revealed. The card says Rotate once to reveal or copy this token anytime: click Rotate, load the new .set preset into the EA, and from then on the token can be revealed.
If MetaTrader closes or loses its connection, the account shows MetaTrader EA offline within a few seconds. If the EA stays connected but stops sending heartbeats, it shows offline after 30 seconds. Either way the account turns Degraded and keeps its last known figures. Open MetaTrader with the EA attached and it reconnects. Rotating or revoking the bridge token also disconnects the EA straight away.
When Tether Terminal’s EA service restarts, a running EA reconnects by itself within a few seconds, so you don’t need to attach it again. This works with EA version 1.2.1 or later. From version 1.2.2, the EA also starts a fresh connection whenever the service turns down its current one.
You can archive, restore and remove an EA account from Accounts like any other account. See Archive or remove an account.
Update the EA
The status panel in MetaTrader shows the EA’s version. Setup always offers the newest version, but an account that’s already connected has no download button. To update one, download the new file from app.tetherterminal.com (TetherBridgeMT5.ex5 or TetherBridgeMT4.ex4), put it in MetaTrader’s Experts folder in place of the old file, and attach it again with the same .set preset. Download .set on the account’s Connection tab gets the preset back if you need it.
Your password stays with MetaApi
The details you type into Tether Terminal (display name, platform and server) only identify the account. Your login and password go straight to MetaApi on MetaApi’s own website. MetaApi keeps them and runs the connection to your broker. Tether Terminal receives the account’s data and connection status, never the password.
Troubleshooting
Nothing opens when you click Open MetaApi in new tab. Your browser blocked the new tab, and the page says Your browser blocked the secure MetaApi tab. Allow pop-ups for Tether Terminal in your browser settings and click the button again.
We could not open the secure MetaApi connection. The link request failed. Click the button again to request a new link.
The link expired. The button reads Regenerate link in new tab. Click it to get a fresh link. This doesn’t create a second account.
We haven’t received your credentials yet. Finish the form in the MetaApi tab, come back, and click Check now.
An error with an Action required badge. MetaApi or your broker needs something from you. Most often the login, password or server is wrong. Check that the server name matches MetaTrader exactly, click Open MetaApi in new tab and enter your details again.
An error with a Retry available badge. Something failed for a moment. Click Try connection in new tab.
An error with a Needs support badge. Tether Terminal can’t recover this one by itself, so the button is switched off. Contact support and give them the account’s display name.
We could not create the provider account. Shown on the details step. Your request is safe to send again and won’t create a duplicate. Click Create provider account again.
Provider account creation did not finish. Click Retry connection. It resumes the same setup and doesn’t add another account.
Account setup was cancelled. This setup stopped before you entered any broker details. Start again from Accounts with Connect Account.
No room for another account. The page says This workspace has no available provider capacity. Your allowance is full. Remove an account you no longer use to free a slot, or contact support. The Workspace allowance panel shows how many slots you’re using: connecting an account uses a provisioned slot, and a deployed slot is used once your broker login is accepted.
MetaApi is currently unavailable. MetaApi is having an outage. Your account is safe, and setup resumes by itself when MetaApi recovers.
Setup could not be resumed. The account was removed or you no longer have access to it. Click Return to accounts and connect again.
Supported demo brokers could not be loaded. Connecting an existing account still works. Try the demo option again later.
Using the desktop app. The MetaApi page opens in your default web browser. Finish there, then come back to the app.
The EA stays on Waiting for your MetaTrader EA. Check the status panel on the MetaTrader chart. If it shows a WebRequest error (4014 on MT5, 4060 on MT4), the URL isn’t in the allowlist: copy it again from the setup page and add it under Tools → Options → Expert Advisors. Also check that the EA is attached to a chart, that MetaTrader is logged in to the account you described, and that the server name matches MetaTrader exactly.
Orders from Tether Terminal aren’t placed on an EA account. Turn on Algo Trading (AutoTrading on MT4) in the MetaTrader toolbar and allow algorithmic trading in the EA’s properties. The status panel names any setting that’s still off. If it says your broker disabled automated trading on the account, contact your broker.
Older MT4 trades are missing. Right-click the Account History tab in MT4 and choose All History. The status panel keeps a reminder up until the EA can see the full history.
You lost the bridge token or the .set file. Open the account’s Connection tab and click Show, Copy or Download .set. If the card says Rotate once to reveal or copy this token anytime, click Rotate and load the new .set preset into the EA.
Symbol search on an EA account only finds the symbols in MetaTrader’s Market Watch. The EA attached in MetaTrader is older than version 1.1.1. Its status panel shows the version. Update the EA to the newest version.
Buy is switched off on an MT4 EA account, with “Only sell orders are allowed for this symbol”. The EA attached in MetaTrader is older than version 1.2.1, which reported MT4 symbols you can trade both ways as sell only. Update the EA to the newest version.
The MT4 status panel says connected, but the account shows MetaTrader EA offline. The EA is older than version 1.2.2, which kept showing connected on MT4 while the service turned it down. Update the EA. From 1.2.2, the panel shows that action is needed and the EA retries every second until it connects again.
An EA account’s balance or positions only change every few minutes, or a chart for a symbol stays empty. The EA is older than version 1.2.0. Update the EA.
An MT4 order from an EA account fails with error 130 (invalid stops). Your broker uses market execution and the EA is older than version 1.2.0. Update the EA; 1.2.0 adds the stop loss and take profit after the trade opens.