Risk management

Trailing stop

A rule for adjusting a stop-loss as price moves favourably. In the standard variant, a long position’s stop rises and a short position’s stop falls; a market retreat does not loosen the existing level. The distance can be fixed, ATR-based or structural, with specified activation and update conditions. A tight trail can close a trade during an ordinary pullback, while a wide one gives back more unrealised profit. It guarantees neither profit nor execution price; operation when the platform is closed depends on the implementation.
Example.

In a long EUR/USD model, entry is 1.1000 Ask, the initial SL is 1.0970, and a 20-pip trail starts after at least 20 pips of favourable movement. When the Bid reaches 1.1030, the proposed SL is 1.1010. A further rise to 1.1040 moves it to 1.1020. A retreat to 1.1030 does not lower the stop. An ordinary stop can fill below 1.1020 after triggering; net P&L also depends on costs.

Specify the adjustment rule

Define the price side, distance, activation threshold, update frequency and adjustment increment. A fixed pip distance, an ATR multiple and a confirmed-swing trail are different rules. If ATR increases, simply recalculating the distance could loosen the stop: a never-loosen variant retains the previous level or adopts a more favourable new one. For a short position the direction reverses, and the closing price is normally the Ask.

Where the mechanism runs

MetaTrader 5’s standard trailing-stop feature makes subsequent adjustments in the terminal. Closing it prevents new updates, although the last successfully placed SL remains on the server. Do not apply this assumption to every application: another provider may use a server-side mechanism. Check platform units, because points are not always pips, as well as modification acknowledgements and minimum-distance restrictions.

The benefit and cost of earlier exits

A trail makes the exit procedure explicit, but guarantees neither a profit nor an execution price. A tight stop can close a trade during an ordinary pullback; a wider one permits more unrealised profit to be surrendered. Evaluate the complete sample, comparing outcomes, drawdown and costs with another exit variant. Changing the distance during one trade to avoid a loss changes the rules; it does not demonstrate an improved strategy.

Further learning and sources

9.7 Managing an open position: break even, the trailing exit and scaling; 11.5 Trading automation: EAs, MQL scripts, cBots and VPS.

Primary sources (checked 2026-10-11): MetaTrader 5 Help — Basic Principles.

Diagram and worked example

Educational infographic: Trailing stop
Educational diagram; model data and assumptions are stated in the graphic.
Open the full-size graphic

FAQ

Does a trail protect me when the computer is off?
It depends on the implementation. Standard MT5 stops adjusting the SL; a previously confirmed server-side stop remains active.
Does a stop above entry guarantee profit?
No. An ordinary SL does not guarantee its fill price, and commission, financing and slippage affect net P&L.

← Back to the full glossary

Jarosław Wasiński

Editor-in-chief, ForexMechanics.com • Macro & FX analyst

Independent analyst and practitioner with over 20 years of experience in financial markets. Actively involved in Forex since 2007, with a focus on fundamental analysis, OTC market structure, and disciplined capital risk management.

  • Creator and editor-in-chief of MyBank.pl, providing reliable financial education since 2004.
  • Author of hundreds of in-depth market commentaries, structural analyses, and educational materials for traders and investors.
  • Advocate for market transparency, promoting education grounded in hard data and institutional reports (BIS, ESMA, CFTC).

All content is educational and informational only – it does not constitute investment advice or a recommendation. Remember: leveraged trading (Forex/CFD) carries a high risk of rapid capital loss.