How to Set a Stop-Loss and Take-Profit in MT5 for Gold (Desktop and Mobile)
Step-by-step instructions to add, move and remove stop-loss and take-profit levels on XAUUSD in MetaTrader 5, plus the common errors and how to fix them.
I wrote this guide based on how I actually trade gold. No theory — just what works after 10 years.
Key takeaways
- Work out your stop from where the trade idea is wrong, not from how much you want to lose. Then size the position fro...
- 1. Press F9 or click New Order.
- 1. Open the Toolbox (Ctrl+T), Trade tab.
- 1. Make sure Show trade levels is enabled (Tools → Options → Charts).
- 1. Go to the Trade tab.
- | Message | Cause | Fix |
- A sell stop on a long is triggered by the bid. Spreads widen at the daily rollover and around news; see [why gold spr...
- Can I set the stop in dollars instead of price? Not natively; MT5 uses price. Convert your dollar risk to a price dis...
Every gold trade should have a stop-loss before it is opened or immediately after. In MetaTrader 5 there are three ways to set one. All take less than ten seconds once you know where to click.
Before you start: decide the levels
Work out your stop from where the trade idea is wrong, not from how much you want to lose. Then size the position from that distance with the position size calculator. A take-profit can come from a level, a risk-reward multiple (risk-reward calculator) or both.
Method 1: when opening the order (desktop)
- Press F9 or click New Order.
- Choose XAUUSD and the volume.
- Enter prices in Stop Loss and Take Profit.
- Click Buy by Market or Sell by Market, or switch the type to a pending order.
Method 2: modify an open position (desktop)
- Open the Toolbox (Ctrl+T), Trade tab.
- Right-click the position → Modify or Delete.
- Enter the new Stop Loss and Take Profit.
- Click Modify.
Method 3: drag on the chart (desktop)
- Make sure Show trade levels is enabled (Tools → Options → Charts).
- Click the open-position line on the chart and drag it up or down to create a stop or target.
- Drag the stop or target line to move it.
On MT5 mobile
- Go to the Trade tab.
- Tap and hold the position → Modify position.
- Set Stop Loss and Take Profit and tap Modify.
Common errors
| Message | Cause | Fix |
|---|---|---|
| Invalid stops | Too close to the price (inside the stops level) or on the wrong side | Move it further; check the stops level in the contract specification |
| Market closed | Outside trading hours or during the daily break | Wait for the session |
| Modification failed in a fast market | Price moved through your level while you were editing | Try again with a level further away |
Things to know about stops on gold
- A sell stop on a long is triggered by the bid. Spreads widen at the daily rollover and around news; see why gold spreads spike at 5 p.m. New York.
- A stop is not a guaranteed price. In gaps it fills at the next available price; see slippage on gold.
- Stops and targets live on the broker's server: they work even when your platform is closed. Trailing stops in MT5 do not; see trailing stops on gold.
Questions traders ask
Can I set the stop in dollars instead of price? Not natively; MT5 uses price. Convert your dollar risk to a price distance with the position size calculator.
Should I move my stop once the trade is open? Only in the direction that reduces risk, according to a rule you set in advance.
Why did my take-profit not fill when price touched it? A buy position's take-profit fills on the bid; the chart usually shows the bid, but if the ask touched your level and the bid did not, it won't fill.
I don't predict. I prepare. Every trade I share here is placed with real money, in real time. No indicators, no noise — just price action and experience.
— Happy trading, Lin
Recommended Brokers
Recommended: Visit EBC → — tested across all sessions.
Start Trading Gold →Recommended: Visit Wisuno → — tested across all sessions.
Start Trading Gold →LIN'S GOLD LETTER
One email a week on what moved gold
Every Sunday: the week in gold, the data to watch next week, and the notes worth rereading. No signals for sale, no spam.
Unsubscribe with one click from any email. We never share your address.
Related Guides
Read the Full Story
How I Set Up My Gold Trading Charts: A Step-by-Step Guide
Clean charts, one indicator, and a repeatable process. Here's exactly how I set up my MT4 for gold trading — Daily chart, 4-hour chart, Fibonacci setup, and position sizing formula.
Jul 19, 2026
Gold Trading Tools I Actually Use: My Complete Setup After 10 Years
After 10 years in the market, here's the complete trading setup I use every day — hardware, software, notebook system, and the execution rules that keep me disciplined.
Jul 14, 2026
Gold Position Sizing on MT4: How to Calculate Lot Size for XAUUSD
I once saw a trader lose $8,000 on a single gold trade because he did not understand lot sizes. Here is my exact formula for calculating position size on XAUUSD — and why small is beautiful.
Jul 10, 2026
On this page
More from Lin's Desk
Hand-picked by Lin — from my trading desk to yours.
How to Read the XAUUSD Contract Specification in MT5 (Every Field Explained)
I go back to this one whenever I need to refocus on the basics.
3 min readXAUUSD, GOLD, XAUUSD.m, XAUUSD+: Why Your Gold Symbol Looks Different and What the Suffix Means
This covers the strategy I use during US session trading. Tested across hundreds of sessions.
3 min readTradingView vs MT5 for Gold Trading: Which Should You Use (and Can You Use Both)?
I put this together after years of refining my own method. No fluff, just what works.
3 min readHow to Install an EA in MT4 (Step by Step)
One of the first guides I wrote for gold traders — still the foundation of my approach.
5 min read