Guide
Connect MetaTrader 5 to limit.trade
Connect once and limit.trade keeps your balance and open positions up to date from MT5. Follow the 5 steps below, about 3 minutes.
What you need
- A limit.trade account (sign in to get your connection code)
- MetaTrader 5 on a Windows PC, Mac or VPS, logged in to your trading account (any broker)
- The MT5 mobile app can't run EAs: use a computer or a VPS
The LimitTrade EA only READS your balance and open positions and sends them to limit.trade. It never places, modifies or closes trades, and it doesn't need your MT5 password.
-
1Allow MT5 to connect to limit.trade
- Install MT5 on your computer
- Open the MT5 of the account you're connecting
- Copy the limit.trade web address below
- In MT5, go through the steps and follow the instructions
https://limit.trade- Tools
- Options
- Expert
- In the Expert tab: tick "Allow WebRequest for listed URL"
- Double-click the "+add new url like..." line, paste the address you copied, then OK.
- Open Tools > Options again, go to the Charts tab: set "Max bars in chart" to Unlimited (so backtests can load the longest history), click OK and restart MT5
You can install several MT5 terminals on one computer by copying the folder Each MT5 needs the EA connection set up once. It's an MT5 security setting: the EA can only send data to addresses you allow.
-
2Download the EA
Click the button below to download the LimitTrade.ex5 EA The file is saved to your computer's Downloads folder Download it once: the same EA works for all your MT5 terminals
-
3Copy the EA into MT5
- Open MT5 > File > Open Data Folder > MQL5 > Experts
- Switch to your Downloads folder and copy the LimitTrade.ex5 EA
- Go back to the Experts folder and paste it there
- File > Open Data Folder
- MQL5 > Experts
- Paste LimitTrade.ex5
- In MT5, right-click Expert Advisors in the Navigator panel > Refresh
- The LimitTrade EA appears in the list. Drag it onto any chart
Don't double-click the .ex5 file if you have several MT5 terminals (multiple accounts), because Windows always opens it with the default MT5. With a single MT5, double-clicking is fine. After dragging the EA onto a chart, check that the account and balance are right.
-
4Attach the EA and paste your code
After dragging LimitTrade onto a chart and confirming, the EA settings dialog opens: copy the code below, then continue as follows:
Get your connection code at limit.trade > Settings > Connections > MetaTrader 5 > Connect.
MT5 Inputs tab: paste your code into the highlighted cell. - Open the Inputs tab (next to Common)
- Click the first row "👉 Mã kết nối limit.trade / Connection code", then double-click the empty cell on the right (Value column, right under the word Value)
- Paste your connection code (Ctrl+V), press Enter
- Click OK
Each MT5 account uses its own code; attach the EA to just one chart. If the first row in your table is "Địa chỉ nhận dữ liệu" (older EA), paste the code into the second row "Mã kết nối (lt5_...)".
-
5Check the connection
The top-left corner of the chart shows the limit.trade label limit.trade updates your balance and positions while MT5 is open.
If MT5 or your computer is off, updates pause. To stay connected 24/7, run MT5 on a VPS (many brokers such as Exness offer a free VPS).
Frequently asked questions
The chart says "MT5 hasn't allowed the connection to limit.trade"
Repeat step 1: Tools > Options > Expert Advisors, tick "Allow WebRequest for listed URL" and add exactly https://limit.trade (no trailing slash). Click OK, then attach the EA to the chart again.
The chart says "Connection code is wrong or was changed"
The code was pasted incompletely, or you clicked "New code" on limit.trade. Go to Settings > Connections and click "New code". In MT5, press F7 on the chart, open Inputs, double-click the Value cell of "👉 Connection code" and paste it again.
I can't find LimitTrade in the Navigator
In MT5 choose File > Open Data Folder, go to MQL5 > Experts, copy LimitTrade.ex5 there, then right-click Expert Advisors > Refresh in the Navigator. With several MT5 terminals open, do this in the one you're connecting (don't double-click the file: Windows opens the default MT5). If Windows blocked the download, right-click the file > Properties > Unblock.
The chart doesn't show any limit.trade line
The EA isn't running. Press F7 on the chart to reopen the EA settings and check, in Inputs, that "👉 Connection code" has your code. If the EA icon in the top-right corner is grey, turn on Algo Trading in the toolbar.
Does the EA place trades or touch my money?
No. It only reads your balance and open positions and sends them to limit.trade. It contains no code to place, modify or close trades, and doesn't need your MT5 password.
What if I turn off my computer?
Updates pause and limit.trade shows "Disconnected". Reopen MT5 and the EA reconnects automatically. To stay online, use a VPS: many brokers (e.g. Exness) offer one for free if you qualify.
Can I connect several MT5 accounts?
Yes, up to 5. Create a separate connection on limit.trade for each account, each with its own code.