To set a stop loss on MT5, type a price in the Stop Loss field of the New order window (press F9) before you click Buy or Sell, or add one later through "Modify or delete" on the position in the Trade tab. The stop is stored and run on your broker's server, so it works with the platform closed, but it closes your trade at the next available price, not a promised one.
Quick answer: Desktop: F9, enter the Stop Loss price, then Buy or Sell. Open trade: right-click the position in the Trade tab, choose "Modify or delete", enter the Stop Loss, click Modify. Phone: open the Trade tab, open the position's menu, choose "Modify Position", set the Stop Loss, tap Modify. Work out the stop price from your risk before you open the trade, not after.
Key takeaways
- You can set a stop loss when you open a trade, on a pending order, or on an open position at any time.
- A stop on a buy is checked against the Bid price, and a stop on a sell against the Ask.
- Stop Loss and Take Profit run on the broker's server. A trailing stop runs in your terminal and stops trailing when the platform is off.
- Your broker sets a minimum distance between the price and your stop. Too close and MT5 rejects it with "Invalid stops".
- A stop limits a loss per trade. It does nothing about the next trade, which is where most bad days come from.
What a stop loss on MT5 is
A stop loss is an order attached to a position that closes it when the market reaches a price you chose. MetaTrader 5's help describes the order condition: for long positions it is "checked using the Bid price (the order is always set below the current Bid price), and the Ask price is used for short positions (the order is always set above the current Ask price)" (MetaTrader 5 Help, "Basic Principles", checked 21 Nov 2026).
So on a buy, the spread does not trigger your stop, but on a sell it does: the Ask sits above the chart's Bid line, and the Ask is what reaches your stop. Leave room for the spread on short trades, and more room when the spread is wide.
Stop Loss and Take Profit levels "are stored and executed on the broker's server, and therefore do not depend on the performance of the trading platform" (same page). You can shut your laptop and the stop still works.
A stop loss is not a guaranteed exit price. The help page says that if the closing operation can't be carried out when the stop triggers, the order "will not be deleted. It will trigger again at the next tick" (same page). If the market gaps past your level, over a weekend or on a news release, the trade closes at the next price available, which can be worse than your stop.
Why the stop has to come before the trade
Most traders set the stop after entering, by eye, wherever the chart "looks right". That puts the stop where the setup suggests and leaves the size of the loss to chance. The order should be the other way round: decide how much you'll risk, place the stop where the trade is wrong, then size the position so that distance costs no more than your risk. Our guide to prop firm risk per trade covers choosing the amount.
The second problem is moving it. A stop that gets dragged further away when price comes near it is not a stop. Our guide on how to get out of a losing trade is about that moment.
Set a daily loss limit that locks your trading apps when you hit it. Try TradeLock free for 7 days.
How to set a stop loss on MT5 desktop
When you open the trade
- Open the New order window. Press F9, use "New order" in the Tools menu or the toolbar, or right-click a symbol in Market Watch and choose "New order" (MetaTrader 5 Help, "Executing Trades", checked 21 Nov 2026).
- Check the Symbol and Volume.
- Enter your level in the Stop Loss field. MT5 takes it "as a price or distance in points from the price specified in order", depending on your settings (same page). If you leave the field at zero, no stop is set.
- Add a Take Profit if you use one.
- Click Buy or Sell (in Market Execution mode the buttons read "Buy by Market" and "Sell by Market").
If the level breaks your broker's rules, MT5 shows an "Invalid stops" alert and doesn't accept the order (same page).
Check you did it: the new position in the Trade tab shows your figure in its S/L column, not zero.
On a trade that's already open
- Open the Toolbox window and go to the Trade tab.
- Right-click the position and choose "Modify or delete".
- Type the new level into the Stop Loss field, or set it as a number of points from the opening price.
- Click Modify. The button stays greyed out until the level is valid (same page).
By dragging it on the chart
With "Show trade levels" switched on in the chart settings, your position's entry line appears on the chart. MT5's help says you can "left-click on it and drag the level up or down to the required value holding the mouse button", and that when you drop it, "the position modification window appears allowing users to adjust the level more precisely" (same page). Confirm the figure in that window before you click Modify.
Dragging is quick, which is also its risk: a stop can be moved by accident. You can turn dragging off with "Disable dragging of trade levels" (same page).
On a pending order
Buy Limit, Sell Stop and the other pending orders can carry a stop loss too. MT5's help: "Stop Loss and Take Profit can also be specified in a pending order. They will be set for the position that opens based on the order", and they only trigger once the position is open (same page). This is the cleanest way to work, because the stop exists from the first tick of the trade.
How to set a stop loss in the MT5 phone app
iPhone
Open the Trade tab, then tap the position or swipe its row from right to left, and choose "Modify Position". Set the Stop Loss with the − and + buttons or by tapping the field and typing, then tap Modify (MetaTrader 5 iPhone Help, "Modifying a Position", checked 21 Nov 2026). The app lets you show levels as a price, in pips or in currency (same page), and currency is the easiest way to check your loss matches your risk.
Android
Open the Trade tab, then tap and hold the position's row for a second, or swipe it from right to left, and choose "Modify position", which MT5 describes as the way to "modify the Stop Loss and Take Profit levels of a position" (MetaTrader 5 Android Help, "Trade", checked 21 Nov 2026).
On both apps, set the stop on the order screen when you open the trade if you can, so there's never a moment with no stop.
Trailing stops: the one that needs your terminal running
A trailing stop moves your stop loss behind the price as a trade goes your way. To set one on desktop, right-click the position in the Trade tab, choose "Trailing Stop", and pick a distance or set your own. Once profit in points reaches that distance, MT5 places a stop at that distance from the current price and keeps moving it (MetaTrader 5 Help, "Basic Principles", checked 21 Nov 2026).
The catch is in the same help page: "The Trailing Stop is executed in the trading platform rather than on the server (like Stop Loss or Take Profit). This is why it will not work, unlike the above orders, if the platform is off." Only the stop level it has already set will still trigger. If you close the terminal, the trail stops moving. A position can have only one trailing stop, and MT5 moves it no more than once every 10 seconds (same page). We did not find a trailing stop in the iPhone or Android help pages we read.
Worked example: a $10,000 account, 1% risk, EUR/USD buy
The risk amount, prices and stop are example choices to show the arithmetic, not advice. Contract size and pip value depend on your broker's symbol specification, so check yours in Market Watch before you trade. The table assumes a standard lot of 100,000 units on a five-digit EUR/USD quote, where a pip is 0.0001 (10 points).
| Step | Figure | How we got it |
|---|---|---|
| Account balance | $10,000 | Example account |
| Risk per trade (example choice) | $100 | 1% of $10,000 |
| Entry (buy) | 1.08500 | Example price |
| Stop loss | 1.08200 | Example: below the setup's invalidation point |
| Stop distance | 30 pips (300 points) | 1.08500 − 1.08200 = 0.00300 |
| Value of 1 pip on 1 lot | $10 | 100,000 × 0.0001 |
| Loss at the stop on 1 lot | $300 | 30 × $10 |
| Volume to trade | 0.33 lots | $100 ÷ $300 = 0.333, rounded down |
| Loss if the stop fills at 1.08200 | $99 | 0.33 × 30 × $10 |
In the New order window, that's Volume 0.33 and Stop Loss 1.08200. Because it's a buy, the stop is checked against the Bid, so the spread doesn't bring it closer. If you sold instead with the same 30-pip stop, the Ask would trigger it, and a 1-pip spread would leave you with 29 pips of chart room.
The $99 assumes a fill at your price. A gap through 1.08200 would close the trade at the next available price, and the loss would be larger. Size so that a bad fill is survivable, not just the planned one.
Common mistakes
- Leaving the field at zero. The order goes in with no stop. Check the S/L column every time.
- Setting the stop after entry. If you mean to add it a moment later, the market can move first. Use the order window or a pending order.
- Forgetting the spread on sells. Your stop is hit by the Ask, which sits above the chart line.
- Relying on a trailing stop with the laptop shut. It only trails while the terminal runs.
- Moving the stop further away. If you widen it, you've changed the trade's risk after the fact.
- Thinking a stop limits the day. It limits one trade. Five stopped-out trades in a row is still five losses.
A stop loss per trade, a limit per day
A stop protects each trade. It doesn't stop you opening the next one straight after, and a string of small, properly stopped losses can still end a day well past what you'd planned. That needs a daily limit on top. Our guide to the MT5 daily loss limit covers enforcing one with an EA, and our guide to the 7% stop-loss rule covers one fixed way of choosing where a stop goes.
TradeLock works on the daily side. It connects to MT5 with your read-only investor password, has no permission to open, close or modify trades, and never closes a trade for you, so it doesn't replace your stop loss. Trade-triggered locks activate only after a trade closes: when your closed trades break the rules you've set, such as a daily loss amount, it locks the trading apps you've chosen on your phone. It doesn't block orders at broker level or guarantee restrictions on unconfigured devices, other installations or existing sessions. It's on iOS and Android, with the Windows app listed as coming soon (TradeLock home page, checked 21 Nov 2026).
Set a daily loss limit that locks your trading apps when you hit it. Try TradeLock free for 7 days.
Frequently asked questions
How do I put a stop loss and take profit on MT5?
In the New order window (F9), fill in both the Stop Loss and Take Profit fields before you click Buy or Sell. On an open trade, right-click the position in the Trade tab, choose "Modify or delete", enter both levels and click Modify. On the phone apps, use "Modify Position" from the position's menu in the Trade tab.
Does my MT5 stop loss work if I close the platform?
Yes. MetaTrader 5's help says Stop Loss and Take Profit are stored and executed on the broker's server, so they don't depend on your terminal. A trailing stop is different: it runs in the platform and stops trailing when the platform is off, though a stop level it has already set will still trigger.
Why does MT5 say "Invalid stops"?
Your stop is too close to the current price, or on the wrong side of it. Brokers set the minimum distance in each symbol's contract specification, and MT5 rejects a level that breaks it. Check the specification in Market Watch and move the stop further away.
Is an MT5 stop loss guaranteed?
No. A stop triggers at your level, but the trade closes at the next price the market offers. If price gaps past your stop, for example over a weekend or on news, the fill can be worse than your level. Size each trade so a worse fill is still a loss you can take.
Can I set a stop loss on a pending order in MT5?
Yes. You can enter a Stop Loss and Take Profit when placing a pending order, and MT5 sets them on the position that opens from it. They only start working once the position is open.
This guide is education, not financial advice. Trading carries a high risk of loss, and you can lose more than you expect. Prop-firm challenge and funded accounts are simulated. Firm rules change: check the firm's own page before you trade.
Author: TradeLock. Updated 24 November 2026.