Basics8 min read

What Is a Trailing Stop? MT5 Setup and How to Choose the Distance

Are you in profit but unsure where to close the trade?

In short, a trailing stop lets you let profits run while limiting how much you give back. In MT5, however, it only works while your terminal is running.

This article covers how it works, how to choose the distance, a worked example, how it differs from a fixed take-profit and the setup steps.

Key takeaways

  • A trailing stop is a feature where your stop order follows price automatically when it moves in your favor and never moves in the unfavorable direction.
  • The MT5 trailing stop runs on your terminal, so following stops when you close MT5 or your PC shuts down.
  • A narrow distance gets closed by pullbacks and a wide one gives back profit, so use ATR or the recent price range as a guide.

In short: a trailing stop is a stop order that chases your profit

  • When price moves in your favor, the stop order follows it automatically
  • It never moves in the unfavorable direction, so the profit you have locked in is protected
  • In MT5 it runs on your terminal, so it stops working when MT5 is closed
  • A distance that is too narrow or too wide works against you

What is a trailing stop? How it works

A trailing stop is a feature that automatically raises your stop-loss order (lowers it for a sell) as your unrealized profit grows. The name comes from the English word "trail," meaning to follow behind.

Even if price pulls back, the stop order does not return to its old level. The position it has been raised to becomes your new stop-loss line.

  • For a buy, the stop order moves up as price rises
  • If price falls, the stop order does not drop and stays where it is
  • When price touches the stop order, a closing order is sent
  • The timing of the exit is decided automatically by the momentum of the market

The MT5 trailing stop runs on your terminal

In MT5, the trailing stop is moved by your own terminal (MT5), not by the broker's server. So when you close MT5 or your PC shuts down, the trailing stops too.

Only the following stops. A stop order that is already in place remains, but it is not updated beyond that position.

Trailing begins once your unrealized profit exceeds the distance you set. Until then the stop order does not move, so place your first stop-loss yourself.

A description of standard MT5 behavior. Also check the details in each broker's MT5 guide.
ItemRegular stop orderTrailing stop
What moves itThe server holding the orderThe terminal running MT5
Follows priceNo (fixed)Yes (favorable direction only)
When MT5 is closedStays active as isFollowing stops

If you want it running all day, one option is to keep the terminal running on a VPS or similar. You can read the details in the related column.

Settings in the mobile app may not work in the same way as the PC version. This column explains it as a PC version feature.

How to choose the trailing stop distance

The distance is the gap between the current price and the stop order. This distance largely decides whether a trailing stop works.

General tendencies. The suitable distance changes by currency pair and timeframe.
DistanceUpsideDownside
NarrowYou give back less profitNormal pullbacks tend to close the trade
WideIt can withstand some pullbacksA large reversal tends to cut your profit

Base it on ATR or the recent price range

ATR is an indicator showing the average price range over a set period. If ATR is, say, 10 pips, one approach is to use twice that, 20 pips, as the distance.

You can also measure the size of recent pullbacks and rebounds on the chart. A distance slightly wider than a normal pullback makes it less likely you are stopped out.

Think of it together with your stop-loss distance

Many people use the same distance for the initial stop-loss and the trailing stop. Lot size is decided from that distance and your acceptable loss. The related column on stop-loss placement shows the calculation flow.

Example: following a 0.1-lot EURUSD trade

The stop order follows and closes at +30 USD

This is an example of buying 0.1 lots of EURUSD in a USD account. At 0.1 lots, 1 pip is 1 USD, so the number of pips equals the amount in USD.

  1. 1

    Buy at 1.0800 with a 20-pip distance

    As your initial stop-loss, place a stop order yourself at 1.0780, 20 pips below.

  2. 2

    Price rises to 1.0850

    The stop order follows and moves to 1.0830, 20 pips below.

  3. 3

    Price then falls

    The stop order does not move and stays at 1.0830.

  4. 4

    Filled and closed at 1.0830

    1.0830 − 1.0800 = 30 pips, so 30 pips × 1 USD = +30 USD.

Actual execution can differ from the set price because of the spread or sudden moves. The figures are a hypothetical calculation to help you understand how it works.

How it differs from a fixed take-profit (limit order)

Trailing to extend gains, fixed to lock them in

A fixed take-profit always closes at the price you decided. With a trailing stop, profit grows the longer the rise continues, but on a reversal you give back the distance.

A comparison of general tendencies. Which is better depends on how the market develops.
ItemFixed take-profitTrailing stop
Exit priceOne point decided in advanceThe distance back from the high
If the rise continuesProfit does not growProfit grows
If price reverses suddenlyLocked at the set profitYou give back the distance
Range-bound marketGood if it reaches the targetTends to be closed out for small amounts

In the earlier example, if price had risen to 1.0900, the stop order would be at 1.0880. Closing there gives +80 pips (80 USD). With a fixed take-profit at 1.0830, it would be +30 pips.

Markets that suit it and markets that do not

General tendencies. It will not always turn out this way.
Market conditionFitReason
A trend running in one directionSuits itPullbacks are shallow, so profit is easier to extend
A range moving up and downDoes not suit itSmall reversals close the trade again and again
Around indicator releases or sudden movesCautionPrice is rough and fills beyond the distance are more likely

How to tell a trend from a range differs by method. It is safer to test on a demo account whether it suits your trading before you use it.

Steps to set a trailing stop in MT5

Set it up in 4 steps in PC MT5
  1. 1

    Start the PC version of MT5

    While logged in, hold a position.

  2. 2

    Select your open position

    Open positions appear in the Trade tab of the Toolbox.

  3. 3

    Right-click and choose the distance

    Choose a distance from the Trailing Stop item in the menu.

  4. 4

    Check that the stop order moves

    After price moves, see whether the S/L field of the position is updated.

On-screen wording may differ by MT5 version and how your broker provides it. Try it on a demo account first.

How trailing stops relate to cashback

Many cashback systems calculate returns from your trading volume. Whether trades closed by a trailing stop are eligible needs to be checked with each broker.

Return amounts are not yet confirmed, and we will post them on each broker's page at launch. Avoid using it to increase your number of trades for the sake of returns.

This article is a general explanation and does not recommend any particular broker or trading method. Always check trading conditions on each broker's official page.

Enter the currency pair, lot size, entry price and exit price to see your profit or loss in USD. Compare it with the figures in the example.

Calculate your profit and loss

FAQ

Q.What is a trailing stop?

It is a feature where your stop-loss order automatically follows price when it moves in your favor. It never moves in the unfavorable direction, so it protects the profit you have locked in while still allowing for a continued rise.

Q.Does a trailing stop work if I close MT5?

No. The MT5 trailing stop runs on your terminal. A stop order placed before you closed it remains, but following beyond that point stops.

Q.How many pips should a trailing stop distance be?

There is no fixed right answer. Use ATR or the size of recent pullbacks as a guide and look for a distance that is neither too narrow nor too wide. It also changes by currency pair and timeframe, so test it on a demo account.

Q.Which is better, a trailing stop or a fixed take-profit?

It depends on how the market develops. If a trend continues, profit is easier to extend, but in a range trades tend to be closed for small amounts. It is common to choose between them to suit your method.

This article is for information purposes only and is not investment advice. Conditions may change, so please check each broker's official page for the latest information. Offshore FX and CFD trading carries a risk of losses exceeding your principal.

Related columns

Corrections and questions via LINE

We accept them only through our official LINE account. We do not accept email.

Contact us on LINE
Contact on LINE