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.

Time
≈ 2 minutes
You need
MT5 or MT4 + a broker account
Tip
Start on a demo account

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).

Part 1

Create your account

⏱ 1 min

Sign up on the user portal. You only do this once.

  1. Open the site and press Get started.
  2. Enter your first and last name, email and phone number. The country code is chosen from your location - change it if it is wrong.
  3. Choose a strong password (10+ characters with upper case, lower case and a digit). Press Show to check what you typed.
  4. Tick the risk box and press Create account. You are signed in automatically.
Fobot AI sign-up form with first name, last name, email, phone with country code and password fields
Figure 1 · Portal screenshot. The sign-up form.
  1. Your name, email and phone number
  2. Country code (set from your location)
  3. Show / hide your password
Part 2

Choose MetaTrader 5 or MetaTrader 4

⏱ 10 sec

Pick the platform your broker gives you. The title bar of your trading app says which one it is.

  1. Choose MetaTrader 5 if your broker offers it: it is recommended and comes with a ready-made file.
  2. Choose MetaTrader 4 only if your broker has no MetaTrader 5. It needs one extra step (a one-click compile).
Platform picker with MetaTrader 5 (recommended) and MetaTrader 4 cards
Figure 2 · Portal screenshot. Choosing your platform.
  1. MetaTrader 5 (recommended)
  2. MetaTrader 4
Part 3

Meet the setup page

The portal creates your private connection and shows three short steps with a live status bar.

  1. The status bar says Waiting for your terminal. Leave this page open - it turns green by itself when you connect.
  2. Do steps 1, 2 and 3 below in your MetaTrader terminal, using the Copy buttons on this page.
Connection setup page with three steps and an orange 'Waiting for your terminal' status bar
Figure 3 · Portal screenshot. The setup page before your terminal connects.
MetaTrader 5 - Step 1

Get the connector file

⏱ 30 sec

The connector is a small file (an Expert Advisor) that lets your terminal talk to your portal account.

  1. In the portal press Download FobotBridge.ex5.
  2. In MetaTrader 5 open the File menu and choose Open Data Folder.
  3. Open the MQL5 folder, then Experts, and drop the downloaded file in it.
  4. Back in MetaTrader 5: in the Navigator right-click Expert Advisors and press Refresh.
  5. 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 like net.metaquotes.wine.metatrader5 (or your broker's name) → drive_c/Program Files/MetaTrader 5/MQL5/Experts, then drop the file there.
Setup step 1 with the Download FobotBridge.ex5 button
Figure 4 · Portal screenshot. Download the file.
  1. Download FobotBridge.ex5
MetaTrader 5 File menu with Open Data Folder highlighted
Figure 5 · MetaTrader illustration. File, then Open Data Folder.
  1. File → Open Data Folder
Data folder window showing MQL5 then Experts with FobotBridge.ex5 inside
Figure 6 · MetaTrader illustration. Drop the file in MQL5 → Experts.
  1. You are in MQL5 → Experts
  2. FobotBridge.ex5 goes here
MetaTrader 5 - Step 2

Allow it to reach the portal (one time)

⏱ 30 sec

MetaTrader blocks programs from using the internet unless you allow the address. You do this once.

  1. In the portal press Copy next to your site address.
  2. In MetaTrader 5 choose Tools → Options and open the Experts tab (in MetaTrader 4 this tab is called Expert Advisors).
  3. 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.
  4. Double-click the empty line in the list, paste your site address (no slash at the end) and press OK.
  5. Good to know: if you later switch to a different account, MetaTrader switches Algo Trading off for safety. Just press the button again.
Setup step 2 with the site address and a Copy button
Figure 7 · Portal screenshot. Copy your site address.
  1. The address to allow
  2. Copy button
MetaTrader 5 Options dialog, Experts tab, with algorithmic trading and WebRequest ticked and the site address listed
Figure 8 · MetaTrader illustration. Tools → Options → Experts.
  1. Allow algorithmic trading
  2. Allow WebRequest for listed URL
  3. Your site address in the list
MetaTrader 5 - Step 3

Start it with your connection code

⏱ 30 sec

The connection code is private: it links this terminal to your portal account.

  1. In the portal press Copy next to your connection code.
  2. In MetaTrader 5 drag FobotBridge from the Navigator (under Expert Advisors) onto any chart.
  3. Open the Inputs tab, paste the code into InpCode and press OK. Leave the other rows as they are.
  4. Make sure the Algo Trading button on the toolbar is green.
Setup step 3 showing the private connection code with a Copy button
Figure 9 · Portal screenshot. Copy your private code.
  1. Your connection code
  2. Copy button
MetaTrader 5 Navigator with FobotBridge under Expert Advisors and an arrow to the chart
Figure 10 · MetaTrader illustration. Drag FobotBridge onto a chart.
  1. FobotBridge in the Navigator
  2. Drop it on any chart
Expert FobotBridge dialog, Inputs tab, with the connection code pasted into InpCode
Figure 11 · MetaTrader illustration. Paste the code into InpCode.
  1. InpCode
  2. OK
MetaTrader 5 - Check

Confirm it is connected

You can check from both sides: in MetaTrader and in the portal.

  1. 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.
  2. 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).
MetaTrader 5 with a green Algo Trading button, a smiley face next to FobotBridge and the Experts log
Figure 12 · MetaTrader illustration. What a working connection looks like in MetaTrader 5.
  1. Algo Trading is green
  2. Smiley face = running
  3. Experts log confirms it
Portal status bar turned green showing Connected, Demo account, server, balance and gold symbol found
Figure 13 · Portal screenshot. The portal turns green by itself.
  1. Connected, with account type and gold symbol
Last step

Choose how we trade for you

⏱ 20 sec

You stay in control. Change the mode at any time from Trading mode in the menu.

  1. Manual: you place your own trades; we send signals and alerts.
  2. Automatic: the platform trades for you (every trade has a stop loss and is sized to a small percentage of your account).
  3. Both: the platform trades for you and you can still trade manually.
  4. For Automatic or Both, tick the authorisation box. Then press Finish setup.
Mode choice: Manual, Automatic or Both, with an authorisation tick box and a Finish setup button
Figure 14 · Portal screenshot. Picking your trading mode.
  1. Manual
  2. Automatic
  3. Both
  4. Authorise automatic trading
  5. Finish setup
Dashboard showing the connected demo account online with its balance
Figure 15 · Portal screenshot. Your dashboard after setup.
  1. Your account: online, demo, balance
MetaTrader 4

Using MetaTrader 4? What is different

⏱ +1 min

The steps are almost identical. MetaTrader 4 needs the source file compiled once, and the folder is called MQL4.

  1. Download the .mq4 file from the portal and put it in File → Open Data Folder → MQL4 → Experts.
  2. Double-click the file to open MetaEditor, press Compile (or F7) and check it says 0 errors.
  3. In MetaTrader 4: Tools → Options → Expert Advisors, tick Allow automated trading and Allow WebRequest, add your site address.
  4. Drag FobotBridge onto a chart, paste your code into InpCode, press OK. The AutoTrading button turns green and the smiley face appears.
MetaTrader 4 setup step 1 with the .mq4 download and a Compile instruction
Figure 16 · Portal screenshot. The portal's MetaTrader 4 step 1.
  1. Download the .mq4 file
  2. One extra step: Compile
MetaTrader 4 File menu with Open Data Folder highlighted
Figure 17 · MetaTrader illustration. File → Open Data Folder → MQL4 → Experts.
  1. Open Data Folder
MetaEditor with the FobotBridge.mq4 file, the Compile button and a result of 0 errors
Figure 18 · MetaTrader illustration. Compile once in MetaEditor.
  1. Compile (F7)
  2. 0 errors = ready
MetaTrader 4 Options dialog with automated trading and WebRequest ticked and the site address listed
Figure 19 · MetaTrader illustration. Tools → Options → Expert Advisors.
  1. Allow automated trading
  2. Allow WebRequest
  3. Your site address
MetaTrader 4 with a green AutoTrading button, a smiley face and the Experts log
Figure 20 · MetaTrader illustration. A working connection in MetaTrader 4.
  1. AutoTrading is green
  2. Smiley face
  3. Experts log
Help

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