BLACK FRIDAY 30% OFF
BLACK FRIDAY SALE 30% OFF MASTERCLASSES USE CODE BLACKFRIDAY SALE STARTS IN 03d 08h 36m 29s
Skip to main content

What Happens to Your Stop-Loss if MetaTrader Disconnects? Server Orders vs EAs

If MetaTrader 5 disconnects from your broker, an already accepted conventional Stop Loss or Take Profit is normally stored and processed on the broker’s trading server; an Expert Advisor that requires your local terminal to run cannot continue making new decisions when that terminal is offline. This distinction is crucial: a platform disconnect does not automatically cancel protective stops, but a stop shown only in an unsent order ticket or managed solely by local code is not equivalent to a server-accepted stop.

The official MetaTrader 5 Executing Trades manual explicitly says that stop-loss and take-profit levels are associated with positions and stored on the broker’s server, while robots cannot manage positions if the computer or internet fails. This guide explains what retail traders can verify without making the unsafe assumption that every order or automation will work through a connection outage. It is separate from our trailing-stop and VPS guide, which focuses on the trailing adjustment mechanism.

Where does the instruction live?
Broker trading server

Accepted ordinary stop-loss and take-profit levels can remain active after disconnection.

Your terminal / EA

New orders, trailing changes and local trade-management logic generally stop without a running connection.

A stop is still subject to market hours, liquidity, contract rules and slippage; broker server storage is not a guarantee of execution at the trigger level.

Three things that can stop working, and one that may continue

FunctionWhen local MT5 goes offline
Already accepted SL / TPNormally continues to be monitored by the broker’s trade server, subject to market and order rules
New manual Buy / SellCannot be transmitted from the disconnected terminal
New EA-generated order or modificationThe local EA cannot execute new logic or transmit requests without connectivity
Locally calculated trailing adjustmentCannot update a stop from a stopped terminal; the last accepted stop may remain
Pending market-triggered order accepted on serverOrdinarily remains subject to its expiration, session, broker and order-type rules

Do not confuse a locally displayed line with a server acknowledgement. An order ticket may allow typing a stop value but that setting has no protective effect until the server accepts the initial order or modification. A terminal can display the last known state from before disconnection, which may not reflect what occurred during the outage.

How to confirm a stop really exists on the server

Before relying on protection, inspect the open position’s actual Stop Loss and Take Profit fields and look for confirmation of the modification in the trading history and Journal. A valid trade with a red or green line plotted by an indicator is not necessarily a broker stop. When a disconnection has occurred, reconnect to the broker’s actual trading server and refresh the open position state before acting on a cached screenshot.

In an account where the stop is created by an EA, verify whether the program submitted an actual broker-side protective level or is monitoring a price in software and planning to send a close request when triggered. Those are mechanically different. The former may survive the app closing; the latter generally cannot function without the program and its network. The documentation for that particular EA is necessary to distinguish the two behaviours.

Worked failure example: last confirmed stop versus intended update

Consider a fictional long EUR/USD position whose broker-accepted stop is 1.09500. At 14:00 the trader plans to raise it to 1.09800 using local automation, but the internet connection fails before any modification receives a server acknowledgement. Under the ordinary server-stop model, the remaining effective level could still be 1.09500, not the locally desired 1.09800.

Suppose the Bid then falls to 1.09650 while the terminal is offline. The intended 1.09800 trailing update might have closed the position, but the actual server-held stop at 1.09500 was not touched by that hypothetical price. If Bid later reaches 1.09470 and the stop closes at the available executable price, the trade can experience slippage beyond its 1.09500 trigger. No proof of a broker defect follows just because an EA chart shows an intended higher level.

The gap between intended 1.09800 and last confirmed 1.09500 is 30 pips on EUR/USD. At a hypothetical 0.10 lot with around $1 per pip when P/L is USD, that is $30 of extra potential price exposure before actual slippage, spread, commission or account-currency conversion. The calculation is illustrative and not a guaranteed bound.

What happens if the market closes during an outage?

Broker-server storage does not create liquidity while an underlying market is closed. An ordinary stop can remain registered over a weekend or holiday and execute only when the contract can trade and the relevant trigger and executable quotes are available. The next quote might gap through the stop, leaving realised loss higher than the planned amount. In a thin market, spreads can widen, and a short stop may depend on Ask when only a Bid-based candlestick is visible.

Our weekend forex and CFD guide examines normal versus guaranteed stops and reopening gaps. A disconnection and a closed market are different problems: one concerns transmitting instructions; the other concerns whether the contract can be traded at all.

Server stop, hidden stop and emergency close: comparison

A server-accepted stop is visible to the broker’s order handling systems. A ‘hidden’ or ‘virtual’ stop held only inside an EA is a local rule that sends a closing order later if and when its code runs. It might be selected for a particular strategy design, but it is more dependent on terminal health and continuous communication. Do not assume a hidden stop offers a superior level of protection or that it will avoid an outage.

An emergency close button also needs a live connection to transmit a valid request and may be rejected if the market is closed or liquidity unavailable. Repeatedly pressing Close while the connection is intermittent creates uncertainty about whether a previous request succeeded. Reconcile deal history before sending a replacement order, to avoid unintentionally reversing the account in a netting mode or opening an extra leg in a hedging mode. See MT5 netting versus hedging.

A six-step recovery checklist after reconnecting

  1. Confirm that MT5 is connected to the intended live or demo server and account.
  2. Read the current position and pending order list from the server; do not trust a screenshot taken before the disconnect.
  3. Check whether stops and take-profits were already accepted, not merely entered locally.
  4. Read History and Journal for fills, errors, partial execution and failed modifications while the connection was unstable.
  5. For EA-managed trades, inspect the software log and compare intended updates with accepted broker-side levels.
  6. Only after verifying the existing exposure, decide whether a fresh modification or closing request is consistent with the account’s risk plan and the market’s current executable price.

Where the broker offers independent mobile or web access, it can provide a second way to view account state, but it may share the same backend outage. A VPS provides another running environment for automation but does not eliminate broker server downtime, defective code, liquidity shortages or network failures.

What a robust pre-trade setup should document

Record the exact broker-accepted stop level and its price side, the EA’s method of managing exits, whether each pending order is server-held, the terminal’s dependency on continuous connection, and an independent method of viewing account history. Test failure scenarios using demo positions, including disconnecting a demo terminal while a broker-accepted stop exists, and then reconnecting to verify history. Do not intentionally disconnect a real account to test safety.

MetaTrader’s trading operations principles also distinguish positions, orders and deals; a green confirmation of one deal is not evidence that all protective modifications were accepted. Build your trading journal around server-confirmed state rather than intended local strategy actions.

Frequently asked questions

Does a MetaTrader stop-loss work when my laptop is switched off?

An already accepted ordinary Stop Loss stored by the broker normally continues to be monitored by the server, subject to the broker’s actual rules, dealing hours, quote triggers and slippage.

Does an Expert Advisor keep trading when MT5 closes?

Not if it relies on the local terminal to run. A separate hosted VPS or broker-side automation may have different availability, and should be verified.

What happens to a virtual stop during a disconnect?

A locally computed virtual stop generally cannot submit a closing order while its terminal or connection is unavailable. Confirm its implementation in the EA documentation.

Can an open trade close while my screen is disconnected?

Yes. Broker-accepted stops, take-profit orders, liquidation rules or other broker actions may change the account while the local terminal is disconnected.

Is a server stop guaranteed at the level shown?

No. Stop triggers and actual fills can differ in gapping or illiquid markets unless a separate explicit guaranteed-stop feature applies.

Should I immediately send another sell after reconnecting?

First check the actual position and deal history; a previous close may have succeeded and another opposite order could create unintended exposure.

Primary source documentation

Important notice: Hypothetical figures, not actual broker fills. Education only, not individual trading advice. Broker execution rules and jurisdictional protections vary, and a conventional stop does not guarantee a maximum loss.


Stay Ahead of the Markets

Get market analysis, financial news and practical trading insights delivered straight to your inbox.