In short
- In MetaTrader 5 the stop-loss of a buy position is checked against the bid and the stop-loss of a sell position against the ask, so the spread can trigger a sell's stop that the bid chart never touched.
- A triggered stop becomes a market order and can fill worse; a stop-limit never fills worse than its limit but may not fill at all.
- Orders can be rejected for invalid stops, a closed market, missing margin or a requote; netting accounts hold one position per symbol, hedging accounts can hold several.
- Stop-loss and take-profit are executed on the broker's server, while a trailing stop runs in your platform and stops working when the platform is off.
In lesson 15 you sized the stop buffer with ATR so that normal noise does not reach it. This lesson looks at what happens at the moment a stop is reached, and what can go wrong between your click and the broker's server. After it you will be able to tell which price triggers your stop, choose between a stop and a stop-limit, recognise the common rejections, and run a short failure drill on a demo account.
The idea in plain words
A chart shows one line of prices, but there are always two: the bid and the ask. In MetaTrader 5 the candles are usually drawn from the bid. Your orders, however, are checked against whichever price the platform uses for that order. That is why a stop can trigger even though the candle on your chart never touched it.
The second idea: the platform on your screen and the broker's trade server are two different places. Some things live on the server and keep working when your computer is off. Others live only in your platform. Knowing which is which is part of managing risk.
Which price triggers your stop
The MetaTrader 5 help says the Stop Loss and Take Profit of a long position are checked using the bid price, and for a short position the ask price is used. In plain words:
- Buy position: you will close by selling, so the stop watches the bid. The bid chart shows you the real trigger.
- Sell position: you will close by buying, so the stop watches the ask. The ask sits above the bid by the spread, so a sell's stop can trigger while the bid candle stays below it.
For pending orders the same logic from lessons 3 and 5 applies: a buy stop opens at the ask and a sell stop opens at the bid.
Spreads are not fixed. As lesson 4 showed, thin hours tend to bring wider spreads. A wider spread lifts the ask further above the bid. A sell position with a stop close to the bid high is most exposed at those hours.
FINRA also warns that rapid price movement in a short period can trigger a stop order, and that price can later return to where it was. A triggered stop then becomes a market order and can fill at a worse price than the stop.
Stop, stop-limit and rejected orders
A stop-limit order has two prices. When the stop level is reached, MetaTrader 5 places a limit order at the second price. For a Buy Stop Limit the help says the stop level is set above the current ask and the limit price below the stop level; a Sell Stop Limit is the mirror image.
- Stop: once triggered, it fills at the next available price. You get out, but the price can be worse.
- Stop-limit: you never fill worse than the limit, but if price jumps past it, the order may not fill at all and you stay in the position or miss the entry.
For a protective exit this matters: a plain stop tries to close the position as soon as there is a price to trade at, while a stop-limit can leave you with no exit in a fast move.
Orders can also be rejected. Messages you may see on demo include:
- Invalid stops: the stop-loss or take-profit is on the wrong side of the price or too close to it (lesson 8).
- Market closed: the order was sent outside trading hours.
- Not enough money: the account does not have the margin the position needs.
- Requote: under instant execution (the order is sent with the price you saw), the help explains that the server can refuse the order and offer new prices when price has moved more than the allowed deviation, the distance you accept from that price. The new prices are valid only for a few seconds.
Under market execution, the broker sets the fill price without asking you; sending the order means you accept it.
Netting, hedging, partial fills and one click
Account type. The help says the position system depends on the account and is set by the broker:
- Netting: only one common position per symbol. A sell of 0.01 lot on a 0.01 lot buy closes it instead of opening a second trade.
- Hedging: several positions on the same symbol, including opposite ones, can be open at once.
Check which one your demo account uses before you practise closing trades.
Partial fills. A deal is one actual fill of an order. The help page on performing trades says several deals can belong to one order when one market offer did not cover the whole volume. At 0.01 lot this is rare, but read the history: one order can show more than one deal.
One-click trading. The help warns that if you click the close button for a position in one-click mode, it is closed immediately without confirmation. It is fast, and so are mistakes.
Platform failure drills
The help page on order types says the Stop Loss and Take Profit are executed on the server, while a trailing stop (a stop-loss that follows price by a set distance as the trade moves your way) is executed in the platform and will not work if the platform is off. So:
- A position with a stop-loss already set keeps its stop on the server if your internet drops.
- A position without a stop has no protection until you reconnect.
- A trailing stop stops moving when your platform is closed.
Before you need it, write down a second way to reach your account (for example the broker's mobile or web platform) and ask your broker how to close a position if your platform fails.
Worked example
Example: on a demo account you sell 0.01 lot of gold at a bid of 4,400.00 with a stop-loss at 4,410.00. 1 R is the planned risk between entry and stop, set before the trade: 10.00 of price × 1 USD at 0.01 lot = 10 USD. Costs are our broker's measured round trip in 2026: 0.50 USD at 0.01 lot.
- Later the bid candle reaches a high of 4,409.70. On a bid chart the stop looks safe: 4,410.00 − 4,409.70 = 0.30 below it.
- Example: at that moment the spread is 0.40, an example value for a thin hour, not a measured figure (our median quoted gold spread is 0.12). The ask is 4,409.70 + 0.40 = 4,410.10.
- A sell's stop watches the ask. 4,410.10 is above 4,410.00, so the stop triggers.
- It becomes a market order and fills at the next available ask. If that is 4,410.10, the price loss is (4,410.10 − 4,400.00) × 1 USD at 0.01 lot = 10.10 × 1 = 10.10 USD.
- Add our measured round trip of 0.50 USD on top, as in lessons 6 and 8: 10.10 + 0.50 = 10.60 USD, so −10.60 / 10 = −1.06 R, a slightly cautious figure because the 10.10 already includes the exit spread.
The bid chart never touched 4,410.00, yet the trade was closed, slightly worse than the stop. With a faster move, slippage or a gap the loss can be much larger. A stop-loss is an order, not a price guarantee.
To see this risk on your own chart, open the chart properties and switch on the Ask line.
Common mistakes
- Reading a sell's stop from the bid chart. The trigger is the ask. Leave room for the spread above the high, especially in thin hours.
- Using a stop-limit as a protective stop. In a fast move it may not fill at all, and the position stays open with no exit.
- Testing on the wrong account type. On a netting account an "opposite" trade closes your position; on a hedging account it opens a second one. Know which you have.
- Relying on a trailing stop with the platform closed. It runs in the platform. Set a normal stop-loss on the server as well.
- One-click trading while learning. One wrong click closes or opens a position at once. Keep confirmations on until the buttons are automatic.
Exercise
On a demo account, 0.01 lot only, run this drill:
- Find your account type (netting or hedging): look at the login line in the Journal tab.
- Open a gold buy with a stop-loss and take-profit. Then turn off your internet for one minute and turn it back on. Check that the stop-loss and take-profit are still there.
- Try to send an order with a stop-loss on the wrong side of price and note what happens: the Buy or Sell button may be greyed out, or you get an error message.
- Close the trade and open the history: count the deals behind the order.
Solution: The login line in the Journal shows whether the account uses netting or hedging. After reconnecting, the stop-loss and take-profit are still attached, because they are executed on the server. The wrong-side stop cannot be sent: either the button is not available or you see "Invalid stops". Opening and closing are separate orders, and each usually shows one deal; more than one deal on the same order would be a partial fill.
Quick quiz
- You hold a buy on gold. Which price must reach your stop to trigger it? Answer: The bid, as the MetaTrader 5 help says for long positions.
- Example: you sell US100 with a stop at 29,600.00. The bid high reaches 29,598.80 and the spread is 1.50 (an example value). Does the stop trigger? Answer: The ask is 29,598.80 + 1.50 = 29,600.30, above 29,600.00, so yes, it triggers.
- Your internet drops while a trade is open with a stop-loss and a trailing stop. What still works? Answer: The stop-loss, which is executed on the server. The trailing stop runs in the platform and stops working while it is off.
Summary
A buy's stop watches the bid and a sell's stop watches the ask, so the spread can trigger a sell's stop that the bid chart never touched. A stop tries to exit as soon as there is a price to trade at, but can fill worse; a stop-limit protects the price but may not fill. Know your account type, read the history for partial fills, and keep one-click trading off while learning. Stops live on the server, trailing stops in the platform. The next lesson covers gaps and slippage: weekends, holidays and why a stop can fill worse.
Questions
Why did my sell position close when the chart never reached my stop?
Candles in MetaTrader 5 are usually drawn from the bid, but a sell's stop is checked against the ask, which sits higher by the spread. Turn on the ask line to see the real trigger.
Should I use a stop-limit to avoid slippage on my stop-loss?
For a protective exit it is risky: if price jumps past the limit, the order may not fill and the position stays open. A normal stop can fill worse, but it tries to get you out.
What happens to my stop-loss if my internet drops?
The stop-loss and take-profit are executed on the server, so they stay in place. A trailing stop runs in the platform and stops moving until you reconnect.
Sources
- Types of Orders — MetaQuotes (MetaTrader 5 Help)
- Performing Trades — MetaQuotes (MetaTrader 5 Help)
- One Click Trading — MetaQuotes (MetaTrader 5 Help)
- Stop Orders: Factors to Consider During Volatile Markets — Financial Industry Regulatory Authority (FINRA)
Written and reviewed by AI agents (Claude and Gemini models) under rules set by the owner; no person reviews each text. Last AI review: 22 Oct 2026. Sources are listed at the end of the article.