How to connect your broker to Fobot AI
Link your MetaTrader 5 or MetaTrader 4 account to the portal in about 2 minutes. Your broker password is never shared: your own terminal keeps your login.
Watch the walkthrough (5 min 5 s)
Illustrated with the real portal and MetaTrader 5 / 4 screens. Captions are on by default.
Figures are labelled Portal screenshot (a real capture with demo data) or MetaTrader illustration (a drawing of the screen; yours may look slightly different, for example on Mac or with another broker's branding).
Create your account
⏱ 1 minSign up on the user portal. You only do this once.
- Open the site and press Get started.
- Enter your first and last name, email and phone number. The country code is chosen from your location - change it if it is wrong.
- Choose a strong password (10+ characters with upper case, lower case and a digit). Press Show to check what you typed.
- Tick the risk box and press Create account. You are signed in automatically.
- Your name, email and phone number
- Country code (set from your location)
- Show / hide your password
Choose MetaTrader 5 or MetaTrader 4
⏱ 10 secPick the platform your broker gives you. The title bar of your trading app says which one it is.
- Choose MetaTrader 5 if your broker offers it: it is recommended and comes with a ready-made file.
- Choose MetaTrader 4 only if your broker has no MetaTrader 5. It needs one extra step (a one-click compile).
- MetaTrader 5 (recommended)
- MetaTrader 4
Meet the setup page
The portal creates your private connection and shows three short steps with a live status bar.
- The status bar says Waiting for your terminal. Leave this page open - it turns green by itself when you connect.
- Do steps 1, 2 and 3 below in your MetaTrader terminal, using the Copy buttons on this page.
Get the connector file
⏱ 30 secThe connector is a small file (an Expert Advisor) that lets your terminal talk to your portal account.
- In the portal press Download FobotBridge.ex5.
- In MetaTrader 5 open the File menu and choose Open Data Folder.
- Open the MQL5 folder, then Experts, and drop the downloaded file in it.
- Back in MetaTrader 5: in the Navigator right-click Expert Advisors and press Refresh.
- On a Mac? The Open Data Folder window cannot accept drag-and-drop. Instead open Finder, press Cmd+Shift+G, paste
~/Library/Application Support/and open the folder named likenet.metaquotes.wine.metatrader5(or your broker's name) →drive_c/Program Files/MetaTrader 5/MQL5/Experts, then drop the file there.
- Download FobotBridge.ex5
- File → Open Data Folder
- You are in MQL5 → Experts
- FobotBridge.ex5 goes here
Allow it to reach the portal (one time)
⏱ 30 secMetaTrader blocks programs from using the internet unless you allow the address. You do this once.
- In the portal press Copy next to your site address.
- In MetaTrader 5 choose Tools → Options and open the Experts tab (in MetaTrader 4 this tab is called Expert Advisors).
- Tick Allow algorithmic trading and Allow WebRequest for listed URL. Leave the "Disable algorithmic trading when the account / profile has been changed" boxes as they are.
- Double-click the empty line in the list, paste your site address (no slash at the end) and press OK.
- Good to know: if you later switch to a different account, MetaTrader switches Algo Trading off for safety. Just press the button again.
- The address to allow
- Copy button
- Allow algorithmic trading
- Allow WebRequest for listed URL
- Your site address in the list
Start it with your connection code
⏱ 30 secThe connection code is private: it links this terminal to your portal account.
- In the portal press Copy next to your connection code.
- In MetaTrader 5 drag FobotBridge from the Navigator (under Expert Advisors) onto any chart.
- Open the Inputs tab, paste the code into InpCode and press OK. Leave the other rows as they are.
- Make sure the Algo Trading button on the toolbar is green.
- Your connection code
- Copy button
- FobotBridge in the Navigator
- Drop it on any chart
- InpCode
- OK
Confirm it is connected
You can check from both sides: in MetaTrader and in the portal.
- In MetaTrader: the Algo Trading button is green, a smiley face sits beside FobotBridge on the chart, and the Experts tab shows it is connecting.
- In the portal: the status bar turns green within seconds and shows your broker server, demo or live (detected for you), your balance, and your gold symbol (found automatically).
- Algo Trading is green
- Smiley face = running
- Experts log confirms it
- Connected, with account type and gold symbol
Choose how we trade for you
⏱ 20 secYou stay in control. Change the mode at any time from Trading mode in the menu.
- Manual: you place your own trades; we send signals and alerts.
- Automatic: the platform trades for you (every trade has a stop loss and is sized to a small percentage of your account).
- Both: the platform trades for you and you can still trade manually.
- For Automatic or Both, tick the authorisation box. Then press Finish setup.
- Manual
- Automatic
- Both
- Authorise automatic trading
- Finish setup
- Your account: online, demo, balance
Using MetaTrader 4? What is different
⏱ +1 minThe steps are almost identical. MetaTrader 4 needs the source file compiled once, and the folder is called MQL4.
- Download the .mq4 file from the portal and put it in File → Open Data Folder → MQL4 → Experts.
- Double-click the file to open MetaEditor, press Compile (or F7) and check it says 0 errors.
- In MetaTrader 4: Tools → Options → Expert Advisors, tick Allow automated trading and Allow WebRequest, add your site address.
- Drag FobotBridge onto a chart, paste your code into InpCode, press OK. The AutoTrading button turns green and the smiley face appears.
- Download the .mq4 file
- One extra step: Compile
- Open Data Folder
- Compile (F7)
- 0 errors = ready
- Allow automated trading
- Allow WebRequest
- Your site address
- AutoTrading is green
- Smiley face
- Experts log
Troubleshooting
The portal stays on “Waiting for your terminal”
Look for the smiley face on the chart; a sad face or no name means Algo/AutoTrading is off or the connector is not attached. Press the Algo Trading button so it is green, and attach FobotBridge again.
The Experts tab says “WebRequest failed” (error 4060 or 5203)
The site address was not added exactly as shown. Re-open Tools → Options → Experts (MetaTrader 4: Expert Advisors), tick Allow WebRequest and add the address with no slash at the end.
“The connection code looks wrong”
Copy the code again with the Copy button. It must contain a | character and no spaces.
“Gold symbol not found”
Brokers name gold differently. Type the name shown in your Market Watch, for example XAUUSDm, XAUUSD. or GOLD, and press Check.
I'm on a Mac and can't drop the file into the Data Folder window
That window is a small Wine file browser without drag-and-drop. Use Finder instead: Cmd+Shift+G, paste ~/Library/Application Support/, open the MetaTrader folder (for example net.metaquotes.wine.metatrader5), then drive_c/Program Files/MetaTrader 5/MQL5/Experts and copy the file in.
I installed a newer connector but the old one is still running
A running connector stays in memory. Right-click the chart → Expert List → select FobotBridge → Remove (or restart MetaTrader), refresh the Navigator, then drag FobotBridge onto the chart again.
I can't see FobotBridge in the Navigator
Check the file is in MQL5 → Experts (MetaTrader 4: MQL4 → Experts), then right-click Expert Advisors in the Navigator and choose Refresh.
My account shows as LIVE but I'm using a demo
The terminal itself reports whether the account is demo or real, so check which account you are logged in to in MetaTrader.
Ready to connect?
Create your free account and follow the steps above. Always try a demo account first - trading carries a high risk of loss and no profit is guaranteed.
Create a free account