MetaTrader 4 Connection Setup: How to Connect to Broker Servers
Complete MetaTrader 4 connection guide: enter your server name, find account numbers, and fix Invalid Account or No Connection errors."Invalid account' and 'No.
Reviewed by Hà Ngọc Lộc· Lead Prop Firm & Quantitative Risk Analyst
Reviewed using our forex & CFD broker review methodology
[!NOTE] Independent Publisher Notice: HNL Growth is an independent research platform. We do not provide trading accounts, broker portals, or custody of funds. We never ask for or store your trading passwords or personal area credentials.
To log in to MetaTrader 4 you need three things from your broker: your account number (login), your password and the exact server name. On desktop, go to File → Login to Trade Account, enter them and click Login. On mobile, go to Settings → New account → Login to an existing account, search for the server and sign in. If MT4 shows "Invalid account", the server, login or password is wrong. "No connection" usually means the wrong server or a network block. Your MT4 login is separate from your broker's client-portal login.
Log In on Each Device: Step-by-Step Menu Paths
Every MetaTrader 4 terminal requires the same three credentials issued by your broker: your numeric Account Login, your Master (Trading) Password, and the exact Server Name assigned to your account tier and legal entity. However, the menu navigation differs across operating systems and devices:
| Device | Exact Menu Path | Connection Verification Indicator |
|---|---|---|
| Windows Desktop | File → Login to Trade Account → enter Login, Password, Server → click Login | Bottom-right status bar turns green/blue and shows data transfer (e.g., 42/3 kb) |
| macOS Desktop | File → Login to Trade Account (via MetaQuotes macOS wrapper) → enter details → Login | Connection chime sounds; Market Watch timestamps begin updating in real time |
| MT4 WebTrader | Open your broker's WebTrader URL → File → Login to Trade Account → select Server | Browser tab displays active account number and real-time bid/ask ticks |
| iPhone / iPad (iOS) | Settings (bottom right) → New Account → Login to an existing account → search broker server | Account name and live equity appear at the top of the Trade tab |
| Android App | Menu (☰ top left) → Manage accounts → + (top right) → Login to an existing account | Server ping indicator appears beside the account number in the account drawer |
Trading Terminal Suite: Broker Desktop, Web, Mobile & High-Frequency Server Topology
Comprehensive evaluation of Broker client terminals, automated EA support, and server routing stability.
ACTIVE INFRASTRUCTURE: MULTI-ASSET DEPTH OF MARKET (DOM) & FAST EXECUTIONMetaTrader 5 (MT5)
- 21 Timeframes & 38 Technical Indicators
- Level II Depth of Market (DOM) with tick volume
- MQL5 Multi-Threaded EA Strategy Tester
- 6 Pending Order Types & 1-Click Execution
MetaTrader 4 (MT4)
- 9 Timeframes & 30 Standard Technical Indicators
- MQL4 Expert Advisor automated trading
- Independent hedging order tickets
- Lightweight desktop footprint & high stability
Mobile App & WebTrader
- Zero-install HTML5 browser workspace
- Biometric login & push notifications
- Instant deposit & withdrawal cashier integration
- Live price alerts and watchlists
How to Add a Missing Broker Server on Desktop MT4
If you installed the generic MetaTrader 4 client from MetaQuotes rather than your broker's pre-configured installer, your broker's live or demo server might not appear in the server drop-down menu. To add it manually without reinstalling:
- Click File → Open an Account in the top menu bar (or right-click Accounts in the Navigator window and select Open an Account).
- Scroll to the bottom of the server list and click "Add new broker like 'BrokerName' or address (e.g. mt4.broker.com:443)".
- Type the exact server name from your broker's welcome email (such as
VantageInternational-Live 3) or the server IP address and press Enter to scan. - Once the green ping indicator appears next to the found server, click Cancel on the account creation screen, then return to File → Login to Trade Account. The server will now be selectable in your login drop-down.
- Alternatively, if your broker provides a
.srvconfiguration file, click File → Open Data Folder, open theconfigfolder, paste the.srvfile inside, and restart MT4.
Master vs Investor Password: Permissions and Password Resets
MetaTrader 4 assigns two distinct passwords to every trading account so you can separate trade execution from read-only performance auditing:
- Master password: Grants full administrative access to open, modify, and close market or pending orders, attach Expert Advisors, and adjust trailing stops.
- Investor password: Grants read-only access. Anyone logging in with the investor password can view open positions, account balance, equity, margin usage, and closed trade history, but the New Order button is disabled for execution (
Trade is disablederror). Traders use the investor password to connect third-party analytics trackers or show verifiable track records without risking unauthorized trades.
If you log in to MT4 and notice the New Order button is greyed out or receive "Investor mode" in the Journal tab, you signed in with the investor password instead of the master password. To change either password directly inside the desktop terminal once logged in with your master password, navigate to Tools → Options → Server (or press Ctrl+O), click the Change button, enter your current master password, and select either Change master password or Change investor (read only) password.
Fixing Common MT4 Login Errors
| Error Message in Journal | Root Cause | Step-by-Step Fix |
|---|---|---|
Invalid account |
Wrong server tier (e.g., Live 1 vs Live 3), typo in password, or entering an MT5 login into MT4 |
Copy-paste the server name and password from your welcome email without trailing spaces; reset the trading password in your broker's client portal if needed |
No connection |
Firewall/VPN blocking port 443, outdated .srv datacenter IP, or mistyped custom server name |
Click the bottom-right connection bar → Rescan servers; disable your VPN; or add the server via File → Open an Account |
Old version |
Terminal build is outdated and rejected by the broker's trade server | Run MT4 as Administrator so LiveUpdate completes, or download the latest installer from your broker's download page |
Account disabled |
Demo account expired after 30–90 days of inactivity, or live account archived due to zero balance | Open a fresh demo (guide) or ask broker support to reactivate your archived live account |
| MT4 login fails in MT5 | MT4 and MT5 use incompatible server architectures and account numbering | Use the MT4 terminal for MT4 accounts, or open a dedicated MT5 account in your client area |
Verifying Contract Specs, Margin, and Pip Value After Logging In
Once connected, always verify your account's leverage and symbol contract specifications before placing your first trade. Different broker servers (for example, a Standard STP server vs a Raw ECN server, or a Cent server) often append suffixes to symbols—such as EURUSD.r, EURUSDm, or EURUSD.pro. If the default chart displays "Waiting for update", right-click inside the Market Watch panel (Ctrl+M), select Show All, and drag your server's exact symbol onto the chart.
Right-click the pair in Market Watch and select Specification to verify contract size, margin percentage, and swap rates. You can also cross-check your pre-trade risk using our Profit Calculator and Drawdown Calculator. For example:
- 1.00 Standard Lot on EUR/USD (100,000 units) at 1.0850: Each 1-pip move equals $10.00. With a 25-pip stop-loss, your capital at risk is $250.00 plus round-turn spread/commission.
- Required Margin Comparison: On an offshore server set to 1:500 leverage (0.2% margin requirement), opening 1.00 lot of EUR/USD ties up $217.00 in used margin ($108,500 ÷ 500). On a tier-1 server capped at 1:30 leverage (3.33% margin), the same 1.00 lot requires $3,616.67 in margin.
Security Tips for Protecting Your MT4 Credentials
- Never share your master password, and never let an unlicensed "account manager" on Telegram or WhatsApp log in to trade for you.
- Download MT4 only from metatrader4.com or your regulated broker (MT4 app, MT4 download).
- Turn on two-factor authentication (2FA) in your broker's client portal, where deposits and withdrawals are controlled.
- Uncheck "Save account information" when logging in on shared computers or internet café machines.
For MT5, see MetaTrader 5 login.
Related: MT4 WebTrader · Open an MT4 real account · What is MetaTrader?
Official sources: MetaTrader 4 user guide (metatrader4.com).
MetaTrader 4 Connection Setup: Your Questions Answered
Where do I find my MT4 server name?
Your exact MT4 server name is sent in your broker's account-opening welcome email and is also displayed next to your account number inside the broker's client portal. It typically follows a format like BrokerName-Live2 or BrokerName-Demo01. You must select the exact numbered server assigned to your account, as Live1 and Live2 are separate servers and are not interchangeable.
Why does MT4 say invalid account when my password is correct?
MetaTrader 4 shows the "Invalid account" error in the Journal tab whenever any one of your three credentials—account number, password, or server—fails to match. Even if your password is correct, logging in to a Demo server with a Live account number, accidentally copying a blank space at the end of the password, or entering your client-portal password instead of your MT4 trading password will trigger this error.
Can I log in to MT4 with my email address?
No. MetaTrader 4 only accepts the numeric trading account login (usually a 5-to-9-digit number such as 6104829) generated by your broker's trade server. Your email address is used solely to sign in to your broker's web-based Client Portal or Personal Area, where you manage KYC verification, deposits, withdrawals, and password resets.
Why is the New Order button greyed out after I log in to MT4?
A greyed-out New Order button usually means one of three things: you logged in using the read-only investor password instead of the master password, you are looking at a standard EURUSD chart while your account type requires a suffixed symbol like EURUSD.raw, or the market is currently closed for the weekend. Check the Journal tab at the bottom of MT4 to confirm whether investor mode is active.
Can I stay logged in to MT4 on my PC and phone at the same time?
Yes. MetaTrader 4 allows simultaneous connections to the same trading account across Windows desktop, macOS, WebTrader, and the iOS or Android mobile apps. Any market order, stop-loss modification, or partial close executed on your phone updates immediately on your desktop terminal. If you run an Expert Advisor on a desktop or VPS, avoid manually closing the EA's trades from your phone unless you intend to override the robot.
How do I fix the "No connection" error at the bottom right of MT4?
First, click the red/green connection status indicator in the bottom-right corner of the desktop terminal and select Rescan servers to switch to the lowest-latency datacenter access point. If the status still reads "No connection", go to File → Open an Account, type your broker's server name to refresh the .srv server file, and check that your antivirus firewall or corporate VPN is not blocking TCP port 443.
Sources checked 2026-10-01: metatrader5.com help on account connection and passwords (MT4 uses the same login model); metatrader4.com.
Related Guides
Sources & verification
- Last checked
- Written by
- HNL Growth Team
- Reviewed by
- Hà Ngọc Lộc
- Length
- 8 min read · 1,737 words
Rules, prices and payout terms on this page were checked against the official websites, help-centre articles and published terms of the firms mentioned, on the date above. Prop firms and brokers change conditions often — confirm the current version on the official site before you buy or deposit. Read our broker review methodology and affiliate disclosure.
Official sources & documentation verified
- MetaTrader 4 user guide(metatrader4.com)
Explore Related Hubs & Free Trading Tools
Ready to Trade with Vantage Markets?
Vantage Markets is a multi-regulated forex & CFD broker (FCA, ASIC, FSCA, CIMA, VFSC) with Raw ECN pricing ($3/side = $6/lot RT), Pro ECN ($1.50/side = $3/lot RT), no deposit/withdrawal fees, and full MT4/MT5/TradingView support. Check which legal entity onboards your country before funding.
Risk disclaimer: Vantage Markets is a live, multi-entity broker — trading forex and CFDs is done with real capital under normal market risk (this is not a simulated prop-firm evaluation). Deposit credit promotions (150% + 25% bonus) and high leverage (above 1:30) are offered exclusively under offshore entities (VFSC/CIMA) and are prohibited for retail clients under FCA (UK) and ASIC (Australia) regulations. CFDs and leveraged forex products are complex instruments and carry a high risk of losing money rapidly due to leverage; most retail investor accounts lose money trading these products. Affiliate disclosure: HNL Growth earns a commission when you open a Vantage Markets account through links on this page.

