Master Guide: Connecting Your MT4 & MT5 Terminals
Connecting your MetaTrader terminals to TM Pro takes less than 60 seconds. Better yet, TM Pro uses a 100% Zero-DLL architecture—meaning you never have to enable risky "Allow DLL imports" in MetaTrader.
Why "Zero-DLL" Matters for Prop-Firm & Live Traders
Most third-party trade managers force you to check "Allow DLL imports", which loads an external .dll file with unrestricted access to your Windows PC. Many prop firms flag or prohibit unknown DLLs, and every Windows or MetaTrader update risks breaking them.
TM Pro requires ZERO DLLs:
- It communicates through MetaTrader's native, sandboxed
FileOpenpipe (\\.\pipe\MQL5.Pipe.Server). - In your EA settings,
Allow DLL importsstays UNCHECKED (OFF). - Only standard
Allow Algo Trading(MT5) orAllow live trading(MT4) is enabled.
Method A — 1-Click Automatic Install (Standard MT4/MT5 Terminals)
If you installed MetaTrader normally on Windows, TM Pro can find every terminal on your PC and install the EA for you automatically:
- Launch the TM Pro desktop app.
- Click the Settings tab (far right of the navigation bar).
- Scroll to the Install EA to MetaTrader card and click Scan & install.
- TM Pro scans your Windows
AppData\Roaming\MetaQuotes\Terminaldirectories, detects every installed MT4 and MT5 data folder, and copies the compiledTMProExpert Advisor into each one. - Switch to MetaTrader, right-click Expert Advisors inside the Navigator panel (
Ctrl+N), and click Refresh. You will seeTMProready underExpert Advisors -> TMPro.
Method B — Connecting Portable & Multi-Instance Prop-Firm Terminals
Many professional traders run 3 to 10 separate portable MetaTrader terminals side by side (for example, D:\MT5-FTMO-1, D:\MT5-FundedNext, D:\MT5-Pepperstone-Live). TM Pro supports an unlimited number of simultaneous terminals:
- In any MetaTrader terminal, click File → Open Data Folder.
- Open
MQL5 → Experts(orMQL4 → Expertson MT4). - Create a subfolder named
TMProand copyTMPro.ex5(for MT5) orTMPro.ex4(for MT4) into that folder:- MT5 path:
<Your-Terminal-Data-Folder>\MQL5\Experts\TMPro\TMPro.ex5 - MT4 path:
<Your-Terminal-Data-Folder>\MQL4\Experts\TMPro\TMPro.ex4
- MT5 path:
- In MetaTrader's Navigator panel (
Ctrl+N), right-click Expert Advisors and click Refresh.
If you only copied the .mq5 / .mq4 source files and Include\TMPro\*.mqh headers, double-click TMPro.mq5 in Navigator to open MetaEditor and press F7 (Compile)—it compiles with 0 errors, 0 warnings.
Step-by-Step: Attaching TMPro to Your Chart
Once TMPro appears in your MetaTrader Navigator panel:
1. Turn On the Global "Algo Trading" Button in MetaTrader
Look at the top toolbar of MetaTrader:
- In MT5: Make sure the Algo Trading button has a green play icon.
- In MT4: Make sure the AutoTrading button is green.
2. Drag TMPro Onto Any Chart
Drag TMPro from Navigator -> Expert Advisors -> TMPro onto the chart you want to trade (for example, EURUSD M15 or XAUUSD M5).
3. Verify the Checkboxes in the Popup Dialog
In the Common tab of the Expert Advisor popup window:
- CHECK (
ON):Allow Algo Trading(MT5) /Allow live trading(MT4). - UNCHECK (
OFF):Allow DLL imports(leave this unchecked!).
In the Inputs tab, the defaults work out of the box:
| EA Input Parameter | Default Value | What It Does |
|---|---|---|
InpMagic | 20260400 | Magic number tag stamped on orders placed by TM Pro. |
InpSlippagePoints | 20 | Maximum allowed slippage in points on market orders. |
InpSyncIntervalMs | 250 | How often (in milliseconds) the EA streams live prices and positions to TM Pro (4 times per second). |
InpPipeName | \\.\pipe\MQL5.Pipe.Server | Local Windows Named Pipe address (do not change unless instructed). |
Click OK.
4. Confirm the Live Connection (Takes Under 1 Second)
Immediately after clicking OK, check two places:
- On your MetaTrader chart (top-left corner): The chart comment will read:
TM Pro: connected (session mt5-62145326-133391509839784522)
- In the TM Pro desktop app (top header bar):
- The status dot on the top-left turns solid green.
- The terminal dropdown shows
EURUSD M15 · MT5 · 62145326alongside aDemoorLivebadge. - Your live Balance, Equity, Floating P&L, Margin Level, and live Bid / Spread / Ask begin updating 4 times per second.
Connecting Multiple Charts or Multiple Terminals at Once
You are not limited to one chart or one broker:
- Multiple symbols in one terminal: Open
EURUSD,XAUUSD, andUS100charts in the same MetaTrader window and attachTMProto each chart. Use the top dropdown selector in TM Pro to switch between symbols instantly. - Multiple accounts across different brokers: Open 2, 5, or 10 different MT4/MT5 terminals (e.g., FTMO, FundedNext, IC Markets, Pepperstone) and attach
TMProto a chart in each terminal.- Switch between individual accounts using the top dropdown selector, OR
- Click the Fund tab to view your combined multi-account equity and copy trades across all terminals simultaneously!
Practicing Without MetaTrader Open (Built-In Demo Broker)
Want to test TM Pro on a laptop without MetaTrader installed, or practice when forex markets are closed over the weekend?
- Open TM Pro → Settings tab.
- Check Built-in demo broker (under the Practice card).
- Two simulated broker charts (
EURUSD M15on MT5#100001andXAUUSD M5on MT5#100002) connect immediately over the real pipe so you can test the Order Ticket, AI Quant Radar, Protection Rules, and Fund Manager risk-free.