A trailing stop is a stop order that follows the price at a set distance while a trade moves in your favor and stays put when the price moves against you. If the market reverses by that distance, the stop is hit and the trade closes, locking in part of the gain without putting a ceiling on it.
Below you’ll see how it works step by step, a worked example on gold, the difference between a trailing stop order, a trailing stop loss and a trailing stop limit, how it behaves in MetaTrader 5 and when it helps or hurts.
How a trailing stop works
A trailing stop (sometimes called a “dynamic stop”) keeps a fixed gap between the best price the trade has reached and your exit. On a buy, it sits below the price and can only move up; on a sell, it sits above the price and can only move down. The gap can be a fixed amount, in dollars or points, or a percentage of the price.
It helps to compare it with the two fixed exits it’s usually measured against:
- Fixed stop loss: you set an exit level and it stays there. It protects you from losses, but it doesn’t move even when the trade goes strongly in your favor.
- Fixed take profit: you set a profit target and close when it’s reached. The problem: if the price keeps rising afterwards, you miss that move.
- Trailing stop: there’s no ceiling. It moves up right behind the price and only closes the trade when the market turns by the distance you chose.
A trailing stop example, step by step
Imagine you buy at 100 with a trailing distance of 6, so your first stop sits at 94. With a fixed target at 108 you would close there: +8. With the trailing stop there’s no target: as the price climbs to 128, the stop climbs with it to 122 (128 − 6). When the price turns and falls back to 122, the stop is hit and you close at +22. Same trade, almost three times the result. It doesn’t always work out that way, as you’ll see further down.
The same idea on gold, in dollars
Say you buy gold (XAU/USD) at $3,300.00 with 0.10 lots and a trailing distance of $20. At most brokers 1 lot of gold is 100 ounces, so 0.10 lots is 10 ounces and every $1 the price moves is worth $10. It’s an illustrative example, not a recommendation.
| Gold price | Trailing stop | What happens |
|---|---|---|
| $3,300.00 | $3,280.00 | Entry: you risk $200 |
| $3,320.00 | $3,300.00 | The stop reaches your entry price |
| $3,350.00 | $3,330.00 | New high: the stop moves up with it |
| $3,340.00 | $3,330.00 | Pullback: the stop stays where it is |
| $3,330.00 | Hit | Closed at $3,330: +$30 × 10 oz = +$300 |
That’s before costs. If the price jumps over your stop, for example when the market reopens after the weekend, the fill can be worse than the stop level: we explain why in what a stop loss can’t guarantee.
Trailing stop order vs trailing stop loss vs trailing stop limit
These names get mixed up a lot, partly because stock brokers, futures brokers and forex platforms use them slightly differently. This is what each one usually means:
Trailing stop order
The basic version. The stop price is set as an amount or a percentage away from the market price; it moves when the price moves in your favor and stays fixed when it moves against you. When the price reaches it, it becomes a market order: the trade closes at the next available price, which in a fast market can be worse than the stop level.
Trailing stop loss
Not a different order, but the most common use of one: a trailing stop that protects an open position. The name stresses the stop’s original job, limiting the loss, which turns into protecting profit once the stop has moved past your entry price.
Trailing stop limit
When it’s triggered, it sends a limit order instead of a market order, placed a chosen amount (the limit offset) beyond the stop price. Example: you own a stock and place a sell trailing stop limit with a $2 trail and a $0.50 offset. If the stock peaks at $50, the stop sits at $48 and the limit at $47.50. If the price falls to $48, a sell order goes out at $47.50 or better; but if it gaps from $48.20 to $47, the order doesn’t fill unless the price comes back up to $47.50, and you’re still in the trade. You control the exit price, and you give up the certainty of getting out.
Trailing buy stop
The mirror image: it sits above the price and moves down as the price falls. It’s used to protect a short (sell) position, or to buy once a falling market bounces by a set amount. Example: you sell at 100 with a trail of 5. The price drops to 90, so the stop drops to 95; if it then rises back to 95, the buy order closes the short with +5.
Trailing stop in MetaTrader 5
In MetaTrader 5 you can add one by right-clicking an open position in the Trade tab and choosing Trailing Stop, with the distance in points. The important detail: that trailing stop is run by the platform on your computer, not by the broker’s server. The stop loss itself is on the server, but it only moves while MetaTrader is open and connected; if you close it, the stop stays at the last level it reached.
An Expert Advisor can also trail a stop with its own rules, by modifying the stop loss as the price moves. Either way, if trailing matters to your strategy, the platform has to stay on, which is one of the reasons people run MetaTrader on a trading VPS.
How far should a trailing stop be?
It’s the decision that matters most. Too tight, and normal noise takes you out of good trades early; too loose, and you give back a large part of the gain before it triggers. The usual ways to set it are the same as for any stop: a fixed amount, a percentage of the price, a multiple of volatility (ATR) or behind the last swing low or high. We compare them in where to put your stop loss.
Some traders only start trailing once the trade has moved a certain distance in their favor, often after first moving the stop to the entry price. That first step is called break-even, and it’s a single move rather than a trail: we explain it in break-even in trading.
Pros and cons of a trailing stop
Many traders lose out not because of bad entries but because of bad exits: they close their good trades too early and keep only a fraction of what the market was offering. A trailing stop tackles exactly that problem:
- It lets profits run: there’s no ceiling, so it can stay in a big trend all the way.
- It protects what you’ve gained: every new high moves the stop up. If the market turns, you close higher up, not back at your entry.
- It takes emotion out of the exit: no more “I’ll hold on and see if it goes higher.” The rule decides.
It also has costs that are easy to underestimate:
- It always gives back the trailing distance: by design, you never exit at the top. In the gold example, the trade peaked at +$500 and closed at +$300.
- Choppy markets: in sideways or very noisy markets it can take you out of trades that would have worked.
- No guaranteed price: gaps and slippage can fill the exit below the stop level.
- Easy to over-tune: in a backtest, the “perfect” distance for the past is rarely the right one for the future (see backtesting and overfitting).
A trailing stop isn’t better or worse than a fixed take profit in general, and it doesn’t guarantee profits. Which one suits a strategy depends on how that strategy makes its money, and the only honest way to find out is to test it.
Frequently asked questions
What is a trailing stop in simple terms?
An exit that follows the price when the trade goes your way and stays still when it doesn’t. It closes the trade after a pullback of the size you chose, so it protects part of the gain without capping it.
Is a trailing stop the same as a trailing stop loss?
In practice, yes. “Trailing stop loss” is the name for its most common use: a trailing stop placed to protect an open position, which starts by limiting the loss and ends up protecting the profit.
What’s the difference between a trailing stop and a trailing stop limit?
What happens when it’s hit. A trailing stop sends a market order, so you get out, but not at a guaranteed price. A trailing stop limit sends a limit order, so you don’t sell below your limit, but the order may not fill if the price jumps past it.
Does a trailing stop guarantee the exit price?
No. A trailing stop sets the level that triggers the exit, not the fill price. After a weekend gap or a big news release, the trade can close beyond the stop level.
Does the MetaTrader 5 trailing stop work if I close the platform?
No. MetaTrader runs its built-in trailing stop on your computer: the stop loss stays on the broker’s server at its last level, but it stops moving until you open MetaTrader again. To keep it working, the platform has to stay on, for example on a VPS.
Is a trailing stop better than a fixed take profit?
Not in general. A trailing stop can capture long trends but always gives back part of the move; a fixed take profit locks in a known gain but caps it. Which works better depends on the strategy, and it has to be tested.
AUREUM doesn’t use a trailing stop: it uses break-even
Our gold algorithm protects every trade with a stop loss sized to volatility and, once the trade moves in its favour, moves it to the entry price. Our website explains how it looks after each trade.
See how each trade is protected →