How to Set a Stop Loss in MT5

Comparison table of MetaTrader 4, MetaTrader 5, cTrader and TradingView across automation, forex focus, futures support and prop firm support
The platform decides what you can automate. The rulebook decides the outcome.

A stop loss is the one setting on a prop firm account that turns an unknown loss into a known one, and MT5 buries it behind a small dialog that most new traders meet for the first time in the middle of a losing trade. This is the three routes to set one, the error that stops people doing it, and the difference between a stop in your terminal and a stop at the broker.

The expensive mistake

Entering a trade with no stop, intending to add one, and then watching the position. On a personal account that is sloppy. On an evaluation it can end the account in a single candle, because the daily drawdown is measured against the same equity curve the position is moving. Set the level before you are in the trade wherever possible.

Route 1 — set it in the order ticket, before you enter

This is the only route that leaves no window of exposure. Open the New Order dialog, choose the symbol, volume and direction, then fill the Stop Loss field with a price before you confirm. The ticket shows the resulting risk in currency terms as you type, which is useful because it exposes an oversized lot immediately rather than after the fact.

  1. Open the order ticket

    Press F9, or right-click the chart and choose Trading, then New Order. The instrument is pre-filled if you right-clicked its chart.

  2. Set the volume second, not first

    Decide where the stop goes from the chart structure, then choose a lot size that puts the loss inside your risk budget. Sizing from the lot size downwards is how a perfectly reasonable stop becomes a position that is too large for it.

  3. Fill the Stop Loss field

    Type the price. MT5 will place a Buy Limit or Sell Limit instead of a market order if the level is on the wrong side of the market, which is itself a useful signal that the level was entered backwards.

  4. Confirm and check the chart

    The position opens with its stop already attached, drawn as a line on the chart. If nothing appears, the level was rejected — see the Invalid stops section below.

Route 2 — modify the position afterwards

If you are already in the trade, or you want to move the stop as the position develops, modify it:

  • Toolbox route. Open the Toolbox, go to the Trade tab, right-click the position row and choose Modify or Delete. Both the Stop Loss and Take Profit fields are editable in the dialog that opens.
  • Double-click route. Double-clicking the same row opens the same dialog, which is faster once you are used to it.
  • Chart route. With a position open, drag the stop level line. MT5 shows the new price as you drag. Releasing commits the change.

A modification is not instant. It is a request to the broker, so on a volatile symbol during a news release you can see the level sit unchanged for a moment. Treat the drag as a request, and confirm in the Toolbox that the new level took effect.

Route 3 — MetaTrader 5 web and mobile

The web terminal follows the desktop layout closely: right-click the position in the trade panel and edit the levels, or use the order ticket's Stop Loss field before entry. On the mobile app, open Trade, tap the position, and choose Modify. Mobile is the version most likely to catch someone out, because the field is a numeric stepper and a careless tap changes the level by more than intended — check the number before confirming.

Why MT5 says "Invalid stops"

This error means the level is inside the minimum stop distance the broker allows for that symbol — usually a small number of points either side of the current price. It is not a bug and not a sign of a broken platform.

  • Move the level further from price. A stop that has to sit inside the minimum distance is a stop that is too tight for the instrument.
  • Check the current limit. In Market Watch, right-click the symbol and open its Specification. The stop level is listed there, and it can change around news and on Sunday opens when spreads widen.
  • Remember the spread. Sell stops are measured from the ask and buy stops from the bid, so a level that looks valid on the chart can still be inside the limit once the spread is counted.

A terminal stop is not a broker stop

This distinction matters more on an evaluation than anywhere else. A Stop Loss attached in the MT5 terminal is held by the client and depends on your terminal being connected:

Terminal stopBroker-side stop
Held byYour MT5, on your machineThe broker's server
Survives closing the laptopNoYes
Survives a dropped connectionNoYes
Works while you sleepOnly if the terminal is running and connectedYes
Typical setupDefault for the SL fieldResting stop order, or server-attached SL at some brokers

For a challenge being traded over weeks, that gap is a real risk rather than a theoretical one. If your strategy depends on a stop being honoured while you are away from the screen, place a resting stop order instead of relying on the position's stop field, or confirm with the firm that stops are held server-side.

The related trap is the one in the name. MT5's trailing stop feature and a prop firm's trailing drawdown are unrelated things that share a word — the drawdown type is the one that fails accounts.

Sizing the stop before the lot

The stop is a risk decision expressed in price, and the lot size is what converts it into currency. Work in this order every time:

  1. Set the per-trade risk as a number

    A fraction of the daily drawdown limit, not a fraction of the balance. Most failures come from the daily limit, so size against it. See daily drawdown explained.

  2. Place the stop where the idea is wrong

    Below the structure that invalidates the trade, not at a round number of pips because it feels tidy.

  3. Convert to lots

    Risk divided by (stop distance in points × point value). MT5 shows the ticket's value-per-point as you change volume, which lets you verify the arithmetic before confirming.

If the lot size that falls out is below the broker's minimum, the honest conclusion is that this trade is not available at your risk budget — not that the risk budget should be raised to fit the minimum lot.

Frequently asked questions

The FAQ block below covers all three routes, the Invalid stops error, whether a stop survives closing your computer, and whether a stop is required on a challenge. Related: setting a take profit in MT5, the MT5 trailing stop and the same job in TradingView.

How do I set a stop loss in MetaTrader 5?
Open the order ticket (New Order) and enter a price in the Stop Loss field before you buy or sell, or open the position first and then modify it. On desktop, right-click the position in the Toolbox trade tab and choose Modify or Delete, or double-click the position row. You can also drag the stop level line directly on the chart once a position is open. On the mobile app, tap the position and choose Modify to type or step the level.
Why does MT5 say "Invalid stops"?
The level you entered is too close to the current market price. Every broker sets a minimum stop distance, quoted in points, and MT5 rejects anything inside it. Move the stop further away, or check the symbol specification in Market Watch for the current stop level. It is a broker rule rather than a fault in your terminal.
Can I set a stop loss on MT5 after entering a trade?
Yes. An open position with no stop can be modified at any time, and the same Modify action is where you add both a stop loss and a take profit. On prop firm accounts it is worth doing it immediately rather than intending to do it — an unprotected position is exposed to the firm's drawdown limit from the first tick.
Does an MT5 stop loss still work if I close my computer?
Not necessarily. A stop loss you set in the terminal is managed by the agent on your machine or device, so it depends on MT5 being connected. Closing the laptop or dropping the connection can leave the position unprotected. A stop placed as a resting stop order at the broker is held server-side, and some brokers also offer server-side stop attachment — confirm which yours uses before relying on it.
Should I use a stop loss on a prop firm challenge?
Yes, and it is usually mandatory in spirit even where it is not in the rules. What ends most evaluations is the daily or trailing drawdown, and a position without a stop has no defined maximum loss. A stop converts an open-ended risk into a known one, which is the only way to size a trade against a drawdown limit.

Have a question before you commit?

Ask us anything about your firm, your account size or whether a passing service suits you. Two ways to reach us, both answered by a person: Telegram @voraspas, or email support@elitepropx.com. No forms, no queues.

Ready to pass your prop firm challenge?

Flat $220 per evaluation — we trade it for you and hand over a funded account. No hidden cuts, no monthly fees. Send your firm and account size on Telegram or by email and we will confirm availability, the current rules and the timeline.

Chat on Telegram