Trailing stop vs take profit comes down to the shape of your results. A trailing stop is not free extra profit. It trades away part of your win rate and your average win for a shot at a few big runners. Whether that beats a fixed take profit depends on the strategy. A bot that lives on many small, fixed wins often loses more than it gains with a tight trailing stop. And the trailing stop built into MT5 runs on your own computer. Lid closed, trailing stop frozen.
Below: the arithmetic, how it works inside MT5, and why gold punishes a trail that is too tight.
A trailing stop changes the shape of your results
A fixed take profit is simple. Your bot opens a trade, the take profit sits 30 pips away, and the trade closes there or at the stop loss. Every winner pays roughly the same. Your results form a narrow spread: lots of similar wins, the occasional bigger loss.
A trailing stop removes that ceiling. Once the trade is far enough in profit, the stop loss follows price at a fixed distance. If the market keeps going, your profit goes with it. If it turns, you are out with whatever is left. A few trades end up paying far more than your old take profit. A large share pays less, because an ordinary pullback knocks you out before the old target was reached.
Which one wins is a matter of arithmetic. Forexop ran a ten-year test on a simple trend follower on EUR/USD and GBP/USD, with a 2.1 pip spread. With a fixed stop and take profit the system made $139,143. With a standard trailing stop it made $114,491, almost 18 percent less, on nearly the same number of trades and the same drawdown. In a separate 12-month test, a trailing stop with a cap and a start trigger did edge ahead: $12,524 against $12,191. With the cap alone it came out slightly lower, at $12,062.
None of that is a law. It does show that changing the exit changes the strategy. In July a trader on the MQL5 forum asked how to manage a trailing stop on gold, because his fixed take profit kept closing him out too early in strong trends. The most useful reply was a yardstick. Track how much each trade gives back on average from its peak. That tells you more than net profit alone.
How the MT5 trailing stop works, and where it catches people out
In MT5 you set a trailing stop by right-clicking a position in the Trade tab. You pick a distance. Once the profit reaches that distance, the platform places a stop loss that far from the current price and moves it along as long as price goes your way. If price comes back, the stop stays where it was.
The key line is in the MetaQuotes help pages. The trailing stop is executed in the trading platform, not on the server like a stop loss or take profit. If the platform is off, it does not work. Only the last stop loss it set stays with your broker.
Two details from the same page hardly anyone reads. MT5 moves the stop at most once every ten seconds per position. And with several positions on the same symbol, it only processes the trailing stop of the most recently opened one on each tick. If your bot has three gold trades open at once, the menu trailing stop is already unreliable.
Watch the units too. MT5 measures the distance in points. Most brokers quote gold to two decimals, so one point is $0.01 and ten points make one pip. Pick 150 thinking in pips and you get a $1.50 trail instead of $15.
A trailing stop inside an EA works the same way. The EA moves the stop, so the EA has to be running. That is why a bot on a laptop that goes to sleep loses its trailing stop, as we covered in our piece on running a trading bot on a Mac. Your stop loss and take profit stay put, but the logic that moves them goes quiet. The fix is a machine that never sleeps. If you use MetaQuotes' own VPS for that, test it. A 2016 reply on the MQL5 forum already said the hosted terminal does not run the menu trailing stop, and that only an EA can move your stop there. Close your own MT5 and check whether your stop loss still moves.
Trailing stop vs take profit vs break-even, side by side
Break-even is the trailing stop's close cousin. Once the trade reaches a set profit, you move the stop to your entry price one time, usually plus a few pips to cover spread and costs. After that nothing happens. The risk on that trade is gone and the take profit stays where it is.
| Fixed take profit | Trailing stop | Break-even | |
|---|---|---|---|
| What it does | Closes the trade at a fixed price | Moves the stop loss behind price at a fixed distance | Moves the stop loss to your entry price once |
| Price suddenly spikes your way | Closes at the target, you miss the rest of the move | Rides along, your profit grows with the move | Stop sits at entry, the trade runs on to the take profit |
| Price pulls back after a gain | Nothing, until stop loss or take profit is hit | Closes with part of the profit | Closes around zero, minus spread and costs |
| Effect on win rate | The baseline | Often lower with a tight distance, and the average win shifts too | Fewer losers, but fewer winners too: some trades end at zero |
| Needs the terminal running? | No, it sits on your broker's server | Yes, also when it lives inside an EA | Yes to move it, after that the stop sits on the server |
The most underrated row is the last one. A take profit and a stop loss live at your broker. Anything that moves them, whether a trailing stop, a break-even or your own hand, happens wherever MT5 is running.
The spike row has a catch as well. Because MT5 moves the stop at most once every ten seconds, a fast spike that reverses inside that window can slip past your trailing stop. A take profit already sitting in the market does not have that problem.
What does a tight trailing stop cost a high win rate strategy?
High win rate bots often use a small take profit and a wider stop loss. Nothing wrong with that. Such a strategy lives on lots of small hits. That is exactly where a tight trailing stop hurts, because it interferes with the very move the profit is supposed to come from.
A made-up gold strategy, 100 trades, spread already included. Take profit $3.00 (30 pips), stop loss $6.00 (60 pips), 80 winners. That is 80 × $3.00 = $240 won and 20 × $6.00 = $120 lost. Net $120, or $1.20 per trade. At 0.10 lot (10 ounces) that is $1,200.
Now the same entries with a $1.50 trailing stop that starts at $1.50 profit, and no take profit. Of the 80 old winners, 55 get stopped out on an ordinary pullback, at +$0.80 on average. Fifteen keep running, to +$4.50 on average. Ten drop back to the stop at entry and cost the spread: -$0.30. Of the 20 old losers, 5 first rose $1.50. They now also end at -$0.30. The other 15 still lose $6.00.
Add it up: $44 + $67.50 - $3 - $1.50 - $90 = $17. Win rate 70 percent, $0.17 per trade. At 0.10 lot: $170 instead of $1,200.
Same entries, same market. The trailing stop did exactly what it promises: fifteen trades ran further than the old take profit ever allowed. The 55 trades closed too early paid for that, and then some.
Look at the margin as well. Your break-even win rate is your average loss divided by the sum of average win and average loss. With the fixed take profit that is $6 / ($3 + $6) = 66.7 percent. You hit 80, so you have more than 13 points of room. With the trailing stop the average win is $1.59 ($111.50 over 70 trades) and the average loss is $3.15 ($94.50 over 30 trades). Break-even then sits around 66.4 percent. You hit 70. Less than 4 points left, and one choppy week eats that.
On gold the spread comes on top. One pip is $0.10 and the standard spread runs from about $0.20 to $0.35, so 2 to 3.5 pips. A $1.50 trailing stop gives you 15 pips of room, and with a $0.30 spread a fifth of that is gone before price moves. On a sell it is tighter still. Your stop is hit on the ask, so when the spread widens around rollover or a data release, the ask creeps up to your stop while the price itself barely moves.
How wide is wide enough? There is no round number. In the gold thread on the MQL5 forum, traders suggested distances based on ATR, such as 2.5 or 3 times ATR. Another warned that such a distance grows during a fast move and gives back a lot on the first sharp pullback. Measure it on the timeframe your bot trades. And remember that a stop that gets hit becomes a market order, so a trailing exit can slip too.
How to pick the exit that fits your bot
Start with the strategy. A trend follower that lives on a handful of big trades often benefits from a trailing stop. A strategy that lives on many small, fixed wins usually does not, or only with a wide distance that kicks in late.
- Pull your win rate, average win and average loss from your history, and work out your break-even win rate.
- Test the same entries with both exits. Compare profit per trade and the average giveback from the peak.
- Set the distance well above spread plus the normal pullback on your timeframe.
- Run the exit on a machine that never sleeps, and check after every restart that your EA picks up its open positions again.
That last step is the one most people skip. A trailing stop that only works while your laptop is open is a trailing stop that fails on the night gold moves $30, which is 300 pips. Why a VPS for a trading bot fixes that has its own article.
At The Profit Academy the bot runs on your own MT5 account, in your own name and with your own password. We only earn when you win: 30 percent of a winning week, and no profit means no commission.
Trailing stop questions people ask
Does a trailing stop in MT5 work when my computer is off?
No. According to the MetaQuotes help pages, the trailing stop runs in the trading platform, not on the server. If MT5 is closed, it stops moving. Only the last stop loss it set stays with your broker. If you want it to keep trailing, run MT5 or your EA on a VPS.
Can I use a trailing stop and a take profit at the same time?
Yes. The trailing stop only moves your stop loss. Your take profit stays on your broker's server, and if price reaches it, the trade closes there. MT5 allows one trailing stop per position.
Is a trailing stop better than a fixed take profit?
It depends on the strategy. A trailing stop lets a few trades run further, but it also closes many trades early on an ordinary pullback. In Forexop's ten-year test on a trend follower, a standard trailing stop made almost 18 percent less than a fixed stop and take profit. On a strategy built on many small wins, a tight trailing stop usually costs money.
What is the difference between a trailing stop and break-even?
Break-even moves your stop loss once to your entry price, often plus a few pips for spread and costs, as soon as the trade is far enough in profit. A trailing stop keeps moving your stop as long as price goes your way. Both are set by the platform or an EA, so both need a running terminal.
A bot on your own account, with rules you can check?
You trade on your own MT5 account in your own name, with your own password, and you can stop whenever you like. We only earn when you win: 30 percent of a winning week, and no profit means no commission. Feel free to ask us how our bot handles its exits.
Start now