
How to Set a Trailing Stop on MT5 (The Step-by-Step Guide Most Traders Get Wrong)

trading mentor!
Most traders who use trailing stops on MT5 are doing it wrong — and it's quietly bleeding their accounts dry on winning trades. The trailing stop feature looks simple on the surface, but there's a critical limitation that MetaTrader 5 doesn't warn you about, and if you don't know it, you'll watch your locked-in profits evaporate the moment your terminal closes. I'm going to prove that in this article, walk you through the exact setup process, and show you the smarter way to run trailing stops so they actually protect your gains.

Most traders who use trailing stops on MT5 are doing it wrong — and it's quietly bleeding their accounts dry on winning trades. The trailing stop feature looks simple on the surface, but there's a critical limitation that MetaTrader 5 doesn't warn you about, and if you don't know it, you'll watch your locked-in profits evaporate the moment your terminal closes. I'm going to prove that in this article, walk you through the exact setup process, and show you the smarter way to run trailing stops so they actually protect your gains.
Key Takeaways
- A trailing stop is a dynamic stop-loss that follows price as it moves in your favor, maintaining a fixed distance (in po...
- Here's the exact process, assuming you already have an open trade in MT5. Step 1: Open the Terminal window Go to View →...
- Let me put real numbers on this so you can see exactly what the math looks like. Pair: XAU/USD (Gold) Lot size: 0.5 Ent...
1What a Trailing Stop Actually Does (And What It Doesn't)
A trailing stop is a dynamic stop-loss that follows price as it moves in your favor, maintaining a fixed distance (in points) behind the current market price. When price moves forward, the stop moves with it. When price reverses, the stop stays put — locking in profit.
Sounds perfect. Here's the part that burns people: MT5's built-in trailing stop only works while your terminal is open and connected to the broker's server. The moment you close MT5, the trailing logic stops executing. Your stop-loss reverts to wherever the trailing stop last moved it — static, frozen, vulnerable.
I learned this the hard way in early 2021 trading GBP/USD. I had a 120-pip trailing stop running on a long position entered at 1.3720. Price ran to 1.3890, my trailing stop had moved to 1.3770. I closed my laptop. Price reversed hard to 1.3740, missed my static stop by 30 pips, then collapsed another 80 pips. Net result: a 20-pip winner that should've closed at +170 pips. That mistake cost me roughly $240 on a 0.3 lot position.
The fix exists (I'll cover it), but first you need to understand the mechanics properly before you can use them intelligently. For more context on how spread definition interacts with your trailing stop trigger points, that's worth understanding too — especially on volatile pairs.
2Step-by-Step: Setting a Trailing Stop on an Open Position
Here's the exact process, assuming you already have an open trade in MT5.
Step 1: Open the Terminal window Go to View → Terminal (or press Ctrl+T). This opens the panel at the bottom of your screen. Make sure you're on the Trade tab — that's where all open positions live.
Step 2: Locate your open position You'll see a list of all open trades. Find the one you want to apply the trailing stop to. You can identify it by the symbol, lot size, and open price.
Step 3: Right-click the trade Right-click directly on the position row. A context menu appears. You'll see the option "Trailing Stop" near the bottom of the list. Hover over it.
Step 4: Select your trailing distance A submenu slides out with preset options: 15 points, 25 points, 50 points, 100 points, and "Custom...". For most forex pairs, these presets are in points — not pips. On a 5-digit broker (which is almost every ECN broker today), 10 points = 1 pip. So if you want a 30-pip trailing stop, you need to enter 300 in the Custom field.
Pro tip: Always use Custom. The presets are almost never appropriate for the pair or timeframe you're trading. A 15-point preset on EUR/USD is 1.5 pips — that's inside the spread on most brokers. Your position would get stopped out immediately.
Step 5: Confirm the trailing stop is active Back in the Trade tab, look at the "S/L" column for that position. Once price moves at least one trailing-stop distance in your favor, the stop-loss value will start updating automatically. It won't move until price has traveled at least that many points beyond your entry (or more precisely, beyond the current stop position).
Step 6: Monitor activation This is where most beginners get confused. The trailing stop doesn't activate immediately. It only begins trailing once the position is in profit by at least the trailing distance. If you set a 300-point (30-pip) trailing stop on EUR/USD and you entered at 1.0850, the stop won't start moving until price reaches 1.0880. At that point, the stop-loss automatically sets to 1.0850. If price hits 1.0900, stop moves to 1.0870. And so on.
Warning: If you set your trailing stop distance smaller than your broker's minimum stop level, MT5 will reject it silently. No error message. The trailing stop just won't work. Always check your broker's minimum stop level in the contract specification (right-click the symbol in Market Watch → Specification).
“Let me put real numbers on this so you can see exactly what the math looks like.”
3Real Trade Example: 0.5 Lot on XAU/USD with a 50-Pip Trailer
Let me put real numbers on this so you can see exactly what the math looks like.
Pair: XAU/USD (Gold) Lot size: 0.5 Entry: $1,985.40 (long) Trailing stop: 500 points (50 pips on Gold) Broker: 5-digit pricing
Gold moves to $1,995.40. The trailing stop activates and sets the stop-loss at $1,985.40 — breakeven. No risk on the table.
Gold continues to $2,010.00. Stop moves to $2,000.00. At this point, you're locked in a minimum of $14.60 per oz × 50 oz (0.5 lot) = $730 profit, regardless of what happens next.
Gold pulls back to $2,003.00, then reverses again to $2,025.00. Stop moves to $2,015.00. You're now locked in at least $29.60/oz × 50 = $1,480.
Price then drops sharply to $2,014.50. Stop triggered. You exit at $2,015.00 (slippage aside). Final profit: $29.60 × 50 = $1,480.
For a deeper breakdown of how Gold moves and what lot sizes make sense, check out the XAU/USD guide — it covers the contract specs and volatility patterns that should inform your trailing distance decisions.
The key insight here is that the trailing stop distance has to match the pair's natural volatility, not just some arbitrary number you like. A 50-pip trailer on a pair with 20-pip average candles will get stopped out by noise constantly. Use the ATR indicator to set trailing distances that reflect actual market movement — I typically use ATR(14) on the same timeframe I entered the trade, then multiply by 1.5.
4The MT5 Terminal-Dependent Problem — And How to Actually Solve It
I mentioned this at the top. It bears repeating because it's the number one reason traders think trailing stops are unreliable.
MT5's trailing stop logic runs on your local machine, not on the broker's server. Compare that to a regular stop-loss, which sits on the broker's server and triggers even if you're offline. Trailing stops don't have that luxury in the native MT5 implementation.
So what are your options?
Option 1: Keep MT5 running on a VPS This is what I do for swing trades. A Virtual Private Server costs $5–$20/month (many brokers offer free VPS if you trade above a certain lot volume). You run MT5 24/7 on the VPS, trailing logic stays active. The trade-off is setup time and a small monthly cost.
Option 2: Use a trailing stop EA An Expert Advisor that manages trailing stops server-side (through MT5's MQL5 logic running on the VPS, or a broker that supports server-side EAs). I've tested several. The "Trailing Stop EA" available on MQL5 Market with server-side execution flags is the most reliable free option I've found. You attach it to the chart, set your trail distance and activation pips in the EA parameters, and it handles everything.
Option 3: Set a wide enough static stop-loss as backup If you can't run a VPS and you're not using an EA, at minimum set a hard stop-loss at a level you're comfortable with before you engage the trailing stop. The trailing stop will move it tighter as price moves in your favor, but if your terminal disconnects, that hard stop is the safety net.
Option 3 is not ideal. But it's better than no protection at all.
Pro tip: Some brokers — Pepperstone and IC Markets are two I've used — support server-side trailing stops through their own platform infrastructure or specific account types. It's worth asking support directly before you assume you need a VPS. Check the IC Markets review and Pepperstone review for account-type details.
“Sometimes you want to turn the trailing stop off — maybe you're approaching a key support zone and you want to give the trade more room before the trail kicks back in.”
5Removing or Modifying a Trailing Stop Mid-Trade
Sometimes you want to turn the trailing stop off — maybe you're approaching a key support zone and you want to give the trade more room before the trail kicks back in.
To remove it: Right-click the position in the Trade tab → Trailing Stop → None. Done. The stop-loss stays where it currently is (it doesn't disappear), but it stops trailing.
To change the distance: Right-click → Trailing Stop → Custom → enter new value. The new distance takes effect immediately from the current price.
Common mistake: Traders often right-click the wrong row. If you have multiple open positions, make sure you're clicking the exact trade you want to modify. MT5 doesn't confirm before applying the change, so if you accidentally apply a 150-point trail to your 3-lot EUR/USD position instead of your 0.1-lot test trade, the consequences could be significant.
Use the position ticket number in the leftmost column to double-check before confirming.
6Choosing the Right Trailing Stop Distance for Different Strategies
This is where most tutorials stop short, and it frustrates me. Setting a trailing stop mechanically is easy. Setting it intelligently is what separates profitable use from expensive disappointment.
For scalping (M1–M5 timeframes), you're working with tight ranges. A 10–20 pip trailing stop makes sense if the pair has a 15–25 pip ATR on the 5-minute chart. Any wider and you're giving back too much on reversal. Any tighter and random spread fluctuations trigger you. If you're a scalper, also read up on scalping strategy considerations — trailing stops on M1 require almost perfect execution.
For swing trading (H4–Daily), you need room. I typically set trailing stops at 1.5–2x the daily ATR. On EUR/USD with a 70-pip average daily range, that's a 105–140 pip trailer. Yes, you're giving back more profit on the final exit, but you stay in trends longer. The swing trading strategy framework I use accounts for this by calculating expected value over a sequence of trades, not individual outcomes.
For breakout trades specifically, I use a two-stage approach:
- Stage 1: Set a wide trailing stop (2x ATR) to survive the initial volatility after the breakout
- Stage 2: After price has moved 3x my initial risk, tighten the trail to 1x ATR
You can do this manually in MT5 by right-clicking and changing the Custom value mid-trade. It takes discipline to actually do it — the temptation is to just let it run — but this approach consistently gave me better risk-adjusted returns when I tracked it over 3 months in late 2022 on GBP/USD breakout setups.
Always factor in your position size calculator outputs before entering. The trailing stop distance affects your worst-case exit, so the position size you choose at entry needs to account for that maximum drawdown scenario, not just your initial stop-loss distance.
Disclaimer: This article is for educational purposes only and does not constitute investment advice. Trading forex and CFDs carries significant risk of loss. Past performance is not indicative of future results. Always do your own research and consider your financial situation before trading. Never risk money you cannot afford to lose.
Weekly Trading Insights
Free weekly analysis & strategies. No spam.
Risk Disclaimer
Trading financial instruments carries significant risk and may not be suitable for all investors. Past performance does not guarantee future results. This content is for educational purposes only and should not be considered investment advice. Always conduct your own research before trading.
Get Pulsar Terminal
All these calculators are built into Pulsar Terminal with real-time data from your MT5 account. One-click position sizing, automatic risk management, and instant calculations.
Get Pulsar TerminalStay ahead of the markets
Get weekly market analysis, trading strategies, and MT5 tips delivered to your inbox. No spam, unsubscribe anytime.

About the Author
Daniel Harrington
Senior Trading Analyst
Daniel Harrington is part of the Pulsar Terminal team, where he leads the blog and editorial content. With over 12 years of experience in forex and derivatives markets, he covers MT5 platform optimization, algorithmic trading strategies, and practical insights for retail traders.
How useful was this article?
Click a star to rate
Comments
You Might Also Like

Candlestick chart imagery sourced from pngtree.com.