When MetaTrader displays No Connection, the terminal cannot establish or maintain the required connection to its trading server. The cause may be local internet access, the wrong server, expired credentials or a broker-side outage. A chart showing old candles is not evidence that current quotes or orders are reaching the server. Start by distinguishing a complete disconnect from a login rejection.
Key facts and checks
| Symptom | Possible cause | First check |
|---|---|---|
| No quotes across all symbols | Network or server connection | Connection indicator and journal |
| Invalid account or authorisation failure | Account or server mismatch | Correct server, account number and credentials |
| One symbol not updating | Session or symbol restriction | Market Watch specification |
| Connected but cannot trade | Read-only access or trade restriction | Login type and trade permissions |
MetaTrader 5’s account connection documentation identifies login, password and the correct server as necessary inputs. MQL4 documents error 6 for no connection with the trade server; MQL5’s trade server return code 10031 denotes no connection with the trade server. These are different code namespaces. Read the journal rather than infer the cause solely from a status label.
Use a safe connection diagnostic
If the terminal still shows historical candles, compare the last quote time across several normally active symbols and consult the journal. A single inactive symbol can have a closed session; multiple stale symbols plus a connection error point towards a wider connectivity issue. Check the broker’s current service notices before altering local settings.
| Check | Expected result |
|---|---|
| Test another trusted internet service | Establish whether general connectivity works |
| Check broker’s official service status | Identify known outages |
| Confirm server name in official account details | Match live or demo environment |
| Inspect journal timestamps | Identify authentication or connection failure |
Use the broker’s official instructions for connecting to the correct account server. Do not send passwords or one-time security codes to a support contact. If the terminal uses a proxy or VPN, consult your network administrator or broker before changing security settings. Do not disable firewall protection merely to make a trading platform connect.
Open orders during a disconnect
If a server-held order was accepted before a disconnect, it can remain active according to its terms even when your terminal is offline. Locally managed logic, including certain trailing stops or Expert Advisors, may stop updating when the terminal loses connectivity. Do not infer that all orders are cancelled. Use a verified native account interface or official telephone support if available to check accepted orders and open exposure. If an order submission timed out, obtain its final status before attempting another order. For instance, a trader who sends a second identical order without confirming the first could end up with double the intended quantity. Preserve the journal and the server timestamp for any complaint.
What happens to stop losses when MetaTrader disconnects?
An already accepted server-side stop loss can remain in place while the terminal is offline, but the locally managed MetaTrader trailing stop will not continue moving it without the required connection. The last accepted stop may still execute according to its terms. Confirm the current server-side level through the broker’s genuine interface; a stop is not a guarantee of its execution price.
A loss of terminal connectivity is not the same as cancellation of server-held orders. MetaTrader’s official trading documentation distinguishes server-based protective orders from the platform-managed trailing stop.
| Item | Typical behaviour while terminal is offline |
|---|---|
| Accepted server-held stop loss | Remains subject to server and order terms |
| Accepted server-held take profit | Remains subject to server and order terms |
| Local trailing stop | Stops adjusting until its controlling platform reconnects |
| Local Expert Advisor | Cannot send new instructions while disconnected |
| Order with unknown submission status | Must be checked with broker before retrying |
A separately running VPS or hosted strategy may behave differently from an offline local terminal. An accepted stop does not guarantee the execution price, and an unacknowledged modification may not have reached the server.
If exposure is open, prioritise checking positions and server-held orders through an authenticated alternate interface or official broker support. Afterwards record the journal time, server, affected symbols and error code to distinguish network and authorisation issues.
Frequently asked questions
Does a disconnected terminal cancel my stop? Not necessarily; check whether it is server-held.
Why can I see old prices? Previously downloaded chart data can remain visible.
Should I reinstall immediately? Check connection and account details first.
Conclusion
Resolve the connection without assuming that open positions or server-held orders have disappeared. Confirm the actual account state before retrying a failed or timed-out instruction. Related guides: trade disabled troubleshooting; pending order status; TradingView connection problems.
Primary sources
MetaTrader 5 account connection
Risk information: General educational information, not personal investment advice. Capital is at risk; leveraged products can cause substantial losses.



