How to Set a Stop Loss in MetaTrader 5 (MT5): Guide
To set a stop loss in MetaTrader 5, open the order window, enter your chosen price in the Stop Loss field and submit the order. For an existing position, open the Trade tab, select Modify or Delete, enter the stop-loss price and confirm the change.
The stop must be placed on the correct side of the market: below the current price for a buy position and above the current price for a sell position. Your broker may also impose a minimum distance between the current market price and the stop.
The exact buttons can differ slightly between MT5 desktop, web and mobile versions. Broker settings, symbol specifications and execution rules can also affect which stop prices the platform accepts.
What a stop loss does in MT5
A stop loss is an instruction to close an open position when the market reaches a specified adverse price. Its main purpose is to limit the planned loss on a trade.
For example, suppose a trader buys EUR/USD at a hypothetical price of 1.08500 and places a stop loss at 1.08250. The price difference is 0.00250, equal to 25 pips on this currency pair. If the stop is triggered, MT5 sends the closing instruction according to the broker's execution rules.
A stop loss limits risk, but it does not guarantee execution at the exact requested price. During gaps, low liquidity or fast market movement, the position may close at the next available price. This difference is commonly called slippage.
How to set a stop loss when opening an MT5 trade
Steps on MT5 desktop
- Open MetaTrader 5 and select the instrument you want to trade in Market Watch.
- Right-click the instrument and select New Order. You can also press F9 in many desktop installations.
- Check the symbol, order type and trade volume.
- Enter your chosen price in the Stop Loss field.
- If required, enter a take-profit price separately.
- Select Buy by Market or Sell by Market after checking every order parameter.
- Open the Trade tab in the Toolbox and confirm that the stop-loss value appears beside the position.
For a buy order, the stop-loss price normally needs to be below the current market price. For a sell order, it normally needs to be above the current market price. MT5 will usually reject an invalid price or a stop that is too close to the market.
Hypothetical buy and sell examples
| Position | Entry price | Stop-loss price | Price risk |
|---|---|---|---|
| Buy EUR/USD | 1.08500 | 1.08250 | 25 pips |
| Sell EUR/USD | 1.08500 | 1.08700 | 20 pips |
These figures are purely illustrative. A suitable stop distance depends on the instrument, volatility, trading strategy and the amount the trader can afford to lose.
How to add or modify a stop loss on an open position
If you opened a position without a stop loss, or need to adjust an existing one, you can modify the position from MT5's Trade tab.
- Open the Toolbox window at the bottom of MT5. The common keyboard shortcut is Ctrl+T.
- Select the Trade tab.
- Right-click the open position.
- Choose Modify or Delete.
- Enter the new price in the Stop Loss field.
- Click the modification button to submit the change.
- Return to the Trade tab and confirm that the new stop price is displayed.
Depending on your chart settings, you may also be able to drag the position's stop-loss line directly on the chart. Make sure trade levels are visible and carefully check the confirmation box before approving the new price. Dragging a line quickly can lead to an unintended stop level.
Do not assume that a modification was accepted merely because you clicked the button. Look for a successful confirmation and verify the stop-loss price in the Trade tab. A rejected modification leaves the previous setting unchanged.
How to set a stop loss in the MT5 mobile app
On the MT5 mobile app, a stop loss can be entered when placing the trade or added to an existing position.
For a new mobile order
- Open the Quotes screen and select the required symbol.
- Tap Trade or New Order.
- Choose the order type and volume.
- Enter the stop-loss price in the Stop Loss or SL field.
- Review the symbol and volume, then submit the buy or sell order.
- Check the Trade screen to confirm the stop is attached.
For an existing mobile position
- Open the Trade screen.
- Tap the open position. On some Android versions, you may need to tap and hold it.
- Select Modify Position.
- Enter or change the stop-loss price.
- Confirm the modification and verify the updated SL value.
Menu names can vary by operating system and app version, but the basic process remains the same. Always confirm that you are modifying the intended position, especially when several trades are open in the same instrument.
Setting a stop loss on an MT5 pending order
MT5 also lets traders attach a stop loss to pending orders such as Buy Limit, Sell Limit, Buy Stop and Sell Stop orders.
- Open the New Order window.
- Change the order type to Pending Order.
- Select the required pending-order category.
- Enter the pending entry price and volume.
- Enter the intended stop-loss price.
- Set an expiry if needed and supported.
- Place the order and review it in the Trade tab.
The stop loss generally becomes relevant once the pending order is activated and creates a position. Check both the pending entry price and the stop-loss price because each must be on the correct side of the market and comply with the symbol's minimum-distance rules.
How to choose a stop-loss price
A stop should not be selected solely by choosing an arbitrary number of pips. It should reflect the point at which the original trade idea is no longer valid while keeping the financial risk within a predefined limit.
Common reference points include:
- A recent swing low for a buy trade or swing high for a sell trade.
- A support or resistance level, with room for normal price movement.
- A volatility-based distance derived from a consistently applied method.
- A technical pattern's invalidation level.
- A maximum monetary risk that fits the trader's risk plan.
Placing a stop exactly on an obvious recent high or low may expose it to normal market noise. However, moving the stop farther away increases the loss per lot. The position size should therefore be calculated after choosing a logical stop price.
Calculate lot size from the stop distance
The same stop distance can create very different financial outcomes depending on trade volume. A 20-pip stop on a small position risks less money than a 20-pip stop on a large position.
A simplified calculation is:
Risk amount = account balance × chosen risk percentage
Position size = risk amount ÷ loss per lot at the stop distance
Suppose a hypothetical account balance is 10,000 units of account currency and the trader chooses to risk 1%, or 100 units. If the selected stop distance would produce a loss of 200 units for one standard lot, the approximate position size would be 0.50 lots.
This is only a simplified illustration. The real result can be affected by the account currency, contract size, tick value, conversion rates, commission, spread and slippage. Values also differ substantially across forex, metals, indices and other instruments. Check the symbol's specification in MT5 rather than assuming that every point has the same monetary value.
Points, pips and price decimals in MT5
MT5 order fields normally require a price, not a number of pips. This can cause confusion when a symbol is quoted with fractional pip decimals.
For a five-decimal EUR/USD quote, a movement from 1.08500 to 1.08490 is one pip but ten MT5 points. Therefore, the earlier move from 1.08500 to 1.08250 is 25 pips or 250 points.
Other instruments use different decimal formats and tick sizes. Gold, indices and exchange-traded products should not be calculated using forex pip assumptions. Open the symbol specification to review its digits, tick size, tick value, contract size and permitted volume increments.
Why MT5 may reject a stop loss
An “Invalid Stops” message or disabled modification button commonly means that the requested stop does not meet the trading conditions for that symbol.
- Wrong side of the market: A buy stop loss was placed above the applicable market price, or a sell stop loss below it.
- Stop is too close: The broker requires a minimum distance from the current price.
- Freeze level: Modification may be restricted when the market is too close to the order or stop price.
- Incorrect price format: The entered price may not match the symbol's tick size or number of digits.
- Market conditions: Trading or modifications may be restricted while the market is closed or during a connection problem.
- Price moved: A valid stop may become invalid before the modification reaches the server.
For long positions, stop triggering is generally associated with the bid price because closing requires a sell. For short positions, it is generally associated with the ask price because closing requires a buy. The spread can therefore cause a short position's stop to trigger even if the chart appears not to have touched it when the chart displays only bid prices.
Fixed stop loss versus trailing stop
A fixed stop remains at the submitted price until it is triggered, removed or modified. Once accepted, it is generally maintained through the broker's trading server and does not normally require the desktop terminal to stay open.
A trailing stop is different. MT5's standard trailing-stop function automatically moves the stop as price moves favourably, but does not move it back when price reverses. On desktop MT5, this function generally operates through the terminal, so the platform must remain connected and running unless an appropriate hosted environment is being used.
A trailing stop does not remove market risk and may close a trade during ordinary volatility. It should be tested and sized with the same care as a fixed stop.
Practical stop-loss checklist
- Confirm whether the position is a buy or sell.
- Choose the technical invalidation price before calculating volume.
- Calculate the monetary risk, including likely trading costs.
- Check the symbol's digits, tick value and minimum stop distance.
- Enter a price rather than confusing points with pips.
- Verify that MT5 accepted the order or modification.
- Do not widen a stop simply to avoid accepting a planned loss.
- Allow for possible slippage during gaps and rapid markets.
- Recheck positions after reconnecting the platform or changing devices.
Algorithmic software can also submit or modify protective levels when those rules are part of the system. However, traders still need to understand the order logic and check broker-specific execution conditions. Finoways LLC builds algorithmic trading software and research tools for forex, COMEX and US markets; its services do not replace the need for independent risk controls, and clients trade through their own brokerage accounts.
Trading carries a risk of loss, and a stop loss cannot guarantee execution at the requested price. Use position sizes you can manage, test unfamiliar MT5 functions in an appropriate practice environment and read the Finoways risk disclosure before making trading decisions.
Frequently asked questions
Can I add a stop loss after opening a trade in MT5?
Yes. Open the Trade tab, select the position, choose Modify or Delete, enter the stop-loss price and confirm. Check the position afterward to make sure the modification was accepted.
Why does MT5 say “Invalid Stops” when I enter a stop loss?
The price may be on the wrong side of the market, too close to the current price or incompatible with the symbol's tick size. A broker's minimum stop distance or freeze level can also prevent the modification.
Will an MT5 stop loss work when my computer is turned off?
A fixed stop loss that has been accepted by the trading server will generally remain active when the terminal is closed. A standard desktop trailing stop usually requires MT5 to remain open and connected because the terminal manages the trailing calculation.
Does a stop loss guarantee the exact closing price?
No. Once triggered, the closing order is executed according to the broker's execution rules and available liquidity. Gaps or fast markets can cause the final price to differ from the requested stop level.
Should I choose lot size or stop distance first?
A common risk-based approach is to choose a logical invalidation level first and then calculate the position size from the stop distance and maximum monetary risk. Increasing the stop distance without reducing lot size increases the amount at risk.