A trailing stop is a stop-loss order that follows the price as your trade moves into profit. Instead of sitting at one fixed level, it ratchets in your favor: when the price makes a new high on a long position, the stop moves up behind it — and it never moves back down. If the price then retraces by your chosen distance, the position closes automatically, locking in most of the gain.
How does a trailing stop actually work?
Imagine you buy gold (XAUUSD) at 4000 and set a trailing distance of 10 dollars. Nothing happens until the trade is in profit. When gold reaches 4020, your stop sits at 4010. If gold pushes on to 4050, the stop follows to 4040. If price now falls back to 4040, the trade closes with roughly 40 dollars of movement captured per ounce traded. The key mechanic is one-way movement: a trailing stop only tightens, it never loosens. That is what separates it from manually moving a stop, where emotion often pushes traders to give losing trades more room.
Most platforms, including MetaTrader 5, implement trailing either on the terminal side or on a server. Server-side trailing keeps working even if your own computer disconnects, which matters for anyone running positions overnight.
Trailing stop vs. fixed stop loss
A fixed stop loss answers one question: how much am I willing to lose if I am wrong? A trailing stop answers a different one: how much of an open profit am I willing to give back? Mature risk management usually uses both. The fixed stop protects your capital at entry; once the trade works, the trailing stop takes over and protects the accumulated gain. Neither tool predicts the market — they only enforce discipline mechanically, which is exactly why they work when emotions do not.
Choosing the trailing distance: the hard part
The most common mistake is trailing too tight. Every market has normal noise — gold can easily swing a few dollars within a single minute. If your trailing distance is smaller than that routine noise, the stop gets hit by random movement rather than by a real reversal, and you exit good trades early over and over. A useful rule of thumb is to measure the typical bar range on your trading timeframe and set the trailing distance comfortably above it. Wider trailing keeps you in trends longer at the cost of giving back more at the end; tighter trailing banks profits sooner but gets shaken out more often. There is no free lunch — only a trade-off you should choose deliberately and test on historical data before risking money.
When a trailing stop hurts
Trailing stops shine in trending markets and underperform in sideways, choppy ones, where price repeatedly triggers the stop without going anywhere. They also cannot protect you from gaps: if the market jumps over your stop level, the order fills at the next available price, which can be worse than the level you set. Treat a trailing stop as a discipline tool, not a guarantee.
How does this work in SuperSam?
SuperSam's gold module includes server-side trailing that follows open XAU positions using a profit-based ratchet: you define when trailing arms and how much it may give back, and the server keeps managing the position even if your agent machine goes offline. Trailing is off by default — you decide whether and how to use it, and you can test any configuration in paper mode first before any real order is involved.
The bottom line
A trailing stop converts an open, uncertain profit into a defined outcome without asking you to predict tops. Used with a sensible distance that respects market noise — and tested before deployment — it is one of the simplest and most effective risk-management tools available to retail traders in gold and crypto alike.