Back to contents

Trade management guide · MT5

Trailing stop: how it works and how to set it in MetaTrader 5

A trailing stop is a stop loss that follows price at a fixed distance as the trade moves in your favour and never moves back, so it locks in more profit the further price goes. It has two settings: the start level, where trailing begins, and the distance it keeps behind the best price. With a start at +1R and a distance of 1R, the stop reaches the entry at +1R and locks in +2R once price has been to +3R. In MetaTrader 5 you set it with a right-click on the position → Trailing Stop; it runs in your terminal, so it stops working when MetaTrader 5 is closed or disconnected.

How does a trailing stop work?

A trailing stop moves the stop loss behind price by a set distance each time the trade makes a new best price, and stays where it is when price pulls back. The trade closes when a pullback is larger than the distance, keeping whatever profit the stop had locked in by then.

Unlike a fixed take profit, a trailing stop has no target: it lets a strong move run and decides the exit by the first pullback deeper than the distance. The trade-off is that you always give back the distance from the best price.

What are the start level and the distance of a trailing stop?

The start level (activation) is the profit at which trailing begins; until then the initial stop stays put. The distance is how far behind the best price the stop is kept once trailing runs. The table shows where the stop stands for two distances with the same start at +1R.

Measuring both in R makes them comparable across symbols and stop sizes: on a 20-pip stop of a 5-digit symbol (200 points), 1R is 200 points and 0.5R is 100 points. A distance in fixed points, as MT5 uses, means a different number of R on every trade with a different stop.

Where the trailing stop stands as the best price rises (start at +1R, initial stop at −1R)
Best price so farDistance 1RDistance 0.5R
+0.5R−1R−1R
+1R0R+0.5R
+1.5R+0.5R+1R
+2R+1R+1.5R
+3R+2R+2.5R

The stop level is the profit locked in if price reverses to it; illustrative, no costs.

What happens if the trailing distance is too tight?

A tight trail locks in profit sooner but is closed by ordinary pullbacks, so it often exits before the move is over. On the path +1.5R → +0.9R → +3R → +1.8R, a 1R trail ends at +2R, while a 0.5R trail is stopped on the first pullback at +1R.

A wide trail survives the noise but gives back more at the end. Many traders tie the distance to the symbol’s normal swing, for example a multiple of ATR or the size of recent pullbacks, rather than a round number.

One path: +1.5R → +0.9R → +3R → +1.8R; result in R
Trailing (start at +1R)Result
Distance 1R+2R
Distance 0.5R+1R

How do you set a trailing stop in MetaTrader 5?

MetaTrader 5 has a built-in trailing stop for open positions, set in points. It is placed only after the profit exceeds the trailing distance: a 200-point trailing stop starts working at +200 points and first puts the stop at the entry price.

  1. Open the Toolbox (Ctrl+T) and go to the Trade tab.
  2. Right-click the position and choose Trailing Stop.
  3. Pick a distance in points from the list, or Custom… to type your own.
  4. To turn it off, choose Trailing Stop → None.
  5. Keep MetaTrader 5 running and connected: the built-in trailing stop is managed by your terminal, not the broker’s server. For trailing around the clock, run the terminal on a VPS.

How do you set a trailing stop by start level and distance?

An Expert Advisor can trail from any start level, not only from profit equal to the distance. In Magic Entry, a trade manager for MetaTrader 5 by HINN, +TR on the stop card sets a START level; when price reaches it, the stop follows price at the GAP distance and never moves back.

The main take has its own +TR, so a take profit can trail too, and each partial take profit has one as well. START and GAP are placed on the chart, where a dashed frame shows the distance. Like any Expert Advisor, it works while MetaTrader 5 is running and connected. Magic Entry is a trade manager (Expert Advisor) sold on MQL5 Market; it does not open trades by itself.

Questions and answers

Does the MT5 trailing stop work when the terminal is closed?

No. MetaTrader 5’s trailing stop is managed by your terminal, so it works only while the terminal is running and connected. The last stop it set stays on the server as a normal SL; for continuous trailing, use a VPS.

What trailing stop distance should I use?

There is no single right distance. Too tight and normal pullbacks close the trade early; too wide and you give back much of the profit. Compare distances in R on your own trades, or tie the distance to the symbol’s usual swing.

What is the difference between a trailing stop and break-even?

Break-even moves the stop once, to the entry or a little beyond it. A trailing stop keeps moving it behind the price; a trail that starts at +1R with a 1R distance first reaches break-even, then keeps going.

Can a trailing stop move back?

No. A trailing stop only moves in the direction of profit; on pullbacks it stays where it is until price makes a new best level or reaches the stop.

Is the trailing distance in MT5 in pips or points?

In points, the smallest price step. On a 5-digit symbol 10 points are 1 pip, so a 20-pip stop is 200 points.

General education about trade management, not financial advice. Examples are illustrative and ignore costs unless stated; past or example results do not promise future ones. HINN doesn’t sell guaranteed profit.