How trailing stop works and when it kills your profit

Last verified: · Long-term evergreen content
Risk warning · YMYL This article is for educational purposes only and is not investment advice. Trading on the Forex market involves a high risk of capital loss — ESMA reports 74–89% of retail accounts lose money.

A trailing stop is a stop loss that follows price: as the position moves into profit, the protective level travels behind the market and keeps a fixed distance, but never moves back when price reverses. That way it protects the profit you have built while letting the trade run with the trend for as long as the market carries it. It sounds like the perfect solution — and it can be in a clean directional move. Set wrong, though, it can close you at thirty pips just before a two-hundred-pip breakout. Below I explain the exact mechanics, the three types of trailing stop, the situations where it helps, and the ones where it takes away what it was meant to protect.

How a trailing stop actually works

A trailing stop (a dynamic stop loss that moves along with a favourable price move) works on one simple rule: it travels in one direction only. You define the trail distance, say thirty pips. As long as price moves toward your position, the protective level climbs behind it and keeps that distance. The moment price reverses, the level stays exactly where it was — it does not retreat a single pip. That one-way behaviour is what turns a stop loss from purely defensive into a tool that locks in profit.

Let us follow it on a concrete long position in EUR/USD. Anna opens it at 1.0850 and sets a thirty-pip trail. The initial stop loss therefore sits at 1.0820. Price rises to 1.0860 — only ten pips of profit, the buffer is still too small, the protective level holds at 1.0820. Price moves on to 1.0890. Now the trail activates and shifts the stop to 1.0860, thirty pips below the current price. The market pushes to 1.0920, and the stop follows to 1.0890. When price reverses and falls back to 1.0890, the protective level no longer moves and the position closes with forty pips of profit. Without the trail, Anna would either have to sit at the screen to close manually or watch the whole move decay back to the entry price.

Thirty-pip trail on a long EUR/USD position · one mini lot
Position opened1.0850
Initial stop loss1.0820 (−30 pips)
Price rises to 1.0890 → stop shifts to1.0860 (10 pips locked in)
Price rises to 1.0920 → stop shifts to1.0890 (40 pips locked in)
Price reverses to 1.0890 → stop firesposition closed with 40 pips of profit

The entire strength of this mechanism comes down to one sentence: the protective level never drops below what it has already reached. With each step price takes in your favour, the locked-in profit grows and the risk shrinks. That is also the difference between a trail and a classic stop loss and take profit set in fixed positions — there the levels are static, here one of them lives with the market.

Three types of trail — pip-based, percentage and volatility-based

A trailing stop is not a single uniform tool. In practice you will meet three approaches to measuring the distance the protective level keeps behind price, and each suits a different trading style.

Pip-based (fixed distance). The simplest variant: you set the distance once, say forty pips, and the protective level holds it regardless of what the market does. The advantage is clarity — you know exactly how much you will give back before the trail closes the trade. The drawback is rigidity. Forty pips in a quiet Asian session is a lot, while during the release of US jobs data (Non-Farm Payrolls) it is very little. A fixed distance does not adapt to current conditions.

Percentage-based. Instead of pips, the distance is expressed as a percentage of price, for example 0.5 percent of the rate. This variant is rarer on the currency market and far more common on stocks and crypto, where instrument prices differ by orders of magnitude. On forex, pips and percentage produce a similar effect, because most major pairs move within a narrow quote range, so on currencies the edge of using a percentage is small.

Volatility-based (ATR). The most mature method measures the distance in units of average true range — the ATR (Average True Range) indicator, which shows how far an instrument typically travels in a given timeframe. An ATR-based trail widens when the market turns nervous and tightens when it calms. That way the protective level breathes with the market instead of holding a rigid number. A practical rule is to set the distance at 1.5 to 3 times the ATR of your strategy timeframe — I break this down in detail in a separate piece on advanced ATR trailing-stop techniques.

When a trail takes away the profit it was meant to protect

A trailing stop has three classic traps, and all of them come down to the same thing: the protective level fires on an ordinary breath of the market rather than on a real trend reversal.

Distance too small. A ten-pip trail on EUR/USD on the one-hour timeframe is death by a thousand cuts. The natural volatility of that timeframe is often five to fifteen pips on a single one-minute candle. Such a tight trail closes the position on noise before the trend has a chance to develop. The result is dismal: thirty closes at five pips instead of one at two hundred. The rescue rule is a distance of at least 1.5 times ATR(14) from the timeframe you trade — for EUR/USD on the one-hour chart that is roughly forty-five pips, on the four-hour about ninety, and on the daily close to one hundred and eighty.

Activation from the first pip. Some platforms let the trail start the moment a position reaches minimal profit. That is a trap, because then every brief move in your favour plus an ordinary pullback ends in a close. Better practice is to activate the trail only once profit reaches about 1.5 times the trail distance. For a forty-five-pip trail that means starting only after profit clears roughly seventy pips — by then the position has enough cushion to survive a normal swing.

Client-side instead of server-side trailing. Beginners usually do not know this trap. In MetaTrader 5 the trail is client-side by default: it requires your program to be running and in contact with the broker's server. Close MetaTrader and the trail stops working. The last set protective level stays, but it no longer moves. In practice this means: if you go to bed at eleven at night with a trail on a position that is only thirty pips in profit, the trailing never starts, because profit did not clear the activation threshold before the computer went off. Server-side trailing, which works independently of your program, is offered by some brokers — the cTrader platform does it natively, while MetaTrader 5 needs a dedicated mechanism on the broker's side for it.

"The goal of a successful trader is not to buy low and sell high, but to make more than he loses. Protecting a profit matters as much as making it." — Alexander Elder, Trading for a Living, John Wiley & Sons, 1993.

When a trail works brilliantly

There is one type of market where a trailing stop shows its full potential: a clear, one-directional trend. When EUR/USD rises steadily for several days and the pullbacks are shallow and short, a trail set at 1.5 to 2 times ATR can keep you in the position for most of the move and close it only at a genuine reversal. In those conditions the tool typically captures between sixty and eighty percent of the trend's maximum range, while removing the risk of giving the whole profit back to the entry price.

A few conditions raise the odds that the trail works in your favour. First, a directional move on at least the four-hour timeframe — on lower frames noise outweighs trend. Second, relatively low volatility inside the trend itself, meaning shallow corrections. Third, no scheduled macroeconomic releases during the holding period — Non-Farm Payrolls, a decision by the US Federal Reserve or the European Central Bank can rip the rate sharply in both directions. Fourth, a medium- or long-term style where the position is held for days rather than minutes. And fifth, if the position stays open overnight, a server-side trail so the trailing does not freeze along with a switched-off program.

A trail against a price gap and slippage

It is easy to believe a trail protects against every move the market makes. It does not. The protective level is still an ordinary order triggered at a specific price, and its fill happens at the first available market price. When a price gap and slippage appear over the Friday-to-Monday weekend and the rate opens far below your trail, the broker will close the position only at the first available price — with large slippage. A trail does not guarantee the closing price; it only guarantees that the order will be triggered.

The practical takeaway is simple. If you fear a weekend gap, a trail alone is not enough — what remains is closing the position before the weekend or a guaranteed stop loss at a broker that offers one (usually for an extra fee). A trail handles normal, liquid market movement during trading hours brilliantly, but a jump over the weekend or a sharp move on thin liquidity can leap over it just like any other stop loss.

Automatic trailing or moving the level by hand

Many experienced traders do not use a trail in its pure, automatic form. Instead they move the protective level by hand, anchoring it to chart structure. The logic is this: when the market prints a new local low in an uptrend, you move the stop just under that low rather than by a fixed number of pips. The protective level then travels behind the market's real turning points rather than behind an arbitrary distance. The drawback is that it requires presence or price alerts; the advantage is more control over where the trade closes.

A middle-ground variant is also common. First, once price clears the breakeven point by as much as you initially risked, you move the stop to the entry price — the step-by-step process for that is explained in the piece on what break-even is and how to move the stop-loss to BE. From that moment the worst case is a flat trade. Then you close part of the position when initial risk doubles and run the rest with the protective level anchored to successive lows or highs. Automatic trailing is a convenient optimisation for systematic strategies and automated systems, where repeatability matters. Moving the level by hand is a conscious decision at every change — and for discretionary trading it usually delivers better results than a rigid algorithm. One practical concern worth noting: the article on whether SL, TP and EAs work with MT4 closed settles the question of what happens to your trailing stop when the terminal shuts down.

What to do tomorrow

  1. Calculate ATR for your main pair and timeframe. Open the EUR/USD chart on the timeframe you trade, add the ATR indicator with a setting of 14 and read the current value. Multiply it by 1.5 and by 3 — those two numbers are a sensible distance range for your market. Write them down above your monitor so you stop setting the trail by feel.
  2. Check whether your broker offers server-side trailing. Go into the terms or account specification and find out whether the trailing stop works server-side or only client-side. If you hold positions overnight and your broker offers only the client-side variant, consider an account with server-side trailing or a guaranteed stop loss.
  3. Test the one-way behaviour on a demo account. Put on a demo position with a thirty-pip trail, wait until price moves in your favour and the protective level shifts, then watch how the stop stays put when price pulls back. Seeing this mechanic live fixes it in your mind better than any description.
  4. Review the last month of trades for stops that were too tight. Open your broker history and count how many positions closed at a small profit just before a larger move in your favour. If there are many such cases, your trail distance is probably too small relative to market volatility.
Jarosław Wasiński
About the author

Jarosław Wasiński

Editor-in-chief at MyBank.pl · Financial and market analyst

Independent analyst and practitioner with 20+ years in finance. Founder and editor-in-chief of MyBank.pl, running since 2004. Fundamental analysis of FX and macro markets since 2007.

Sources & bibliography

  1. Alexander Elder Trading for a Living: Psychology, Trading Tactics, Money Management · rola ochrony zysku i zarządzania pozycją, John Wiley & Sons, 1993 www.wiley.com ↗
  2. MetaQuotes Trailing Stop — MetaTrader 5 user guide · mechanika trailingu client-side w MT5, oficjalna dokumentacja www.metatrader5.com ↗
  3. ESMA Decision on the provision of contracts for differences (CFDs) to retail clients · statystyka 74–89% rachunków detalicznych ze stratą, cap dźwigni www.esma.europa.eu ↗
  4. Investopedia Trailing Stop Definition and Uses · hasło słownikowe: definicja i typy trailing stopa www.investopedia.com ↗

Frequently asked

Does a trailing stop work when MetaTrader 5 is off?

It depends on the broker and the type of trail. Client-side trailing, the default in MetaTrader 5, requires the program to be running and connected to the server — when you close MetaTrader the trailing stops and only the last set protective level stays, no longer moving. Server-side trailing works even with the program off, because the whole order lives on the broker server. Only some brokers offer this variant: the cTrader platform does it natively, while MetaTrader 5 needs a dedicated mechanism on the broker side. If you hold positions overnight or over the weekend, check your account terms for which variant you get, because that difference decides whether your overnight trail works at all.

What trailing distance should I choose?

The practical rule is to tie the distance to market volatility rather than a fixed pip count. Most traders use 1.5 to 3 times the ATR (Average True Range) of the timeframe they trade. For EUR/USD day trading on the one-hour chart, ATR(14) is roughly thirty pips, so a sensible trail starts at about forty-five pips. Too small a distance closes the position on ordinary noise before the trend develops; too large gives back so much profit on a reversal that the tool loses its point. An alternative to an ATR multiplier is anchoring the protective level to chart structure — moving it behind successive local lows in an uptrend or highs in a downtrend — but that variant requires manual adjustment or a dedicated mechanism.

Does a trailing stop protect against a price gap?

No. A trailing stop is still an ordinary order triggered at a specific level, and its fill happens at the first available market price. When a price gap appears over the weekend and the rate opens far below your trail, the broker will close the position only at the first available price, that is, with large slippage. The protective level guarantees only that the order will be triggered, not the price at which that happens. Protection against a weekend gap comes only from closing the position before the weekend or from a guaranteed stop loss at a broker that offers one, usually for an extra fee. In normal, liquid trading during session hours a trail works very well, but a jump over the weekend or a sharp move on thin liquidity can leap over it just like any other stop loss.

Will the trail move the protective level even on a brief spike in my favour?

Yes, and it is a fundamental feature of the mechanic. The trail does not distinguish a trend move from a brief spike. If price moves in your favour by the trail distance plus one pip, the protective level shifts; when price then reverses, the level no longer returns. In a trend this works in your favour, because with each step price takes the locked-in profit grows. On a brief spike and return to the entry price, however, the same feature closes the position at a small profit you would not have realised without the trail. It is a double-edged sword: it protects against giving back a large gain, but in a choppy, nervous market it can throw you out of the position again and again on noise alone. That is why choosing the distance and activation threshold matters more here than simply switching the feature on.

Go deeper · the complete guide