Trailing Stops Explained
A trailing stop is a stop order whose trigger price follows the market in one direction only. On a long position it moves up as the price rises and never moves down, so it locks in progress while leaving room for the position to keep working. You set it as either a fixed distance or a percentage. The critical thing to understand is that it is still a stop: when triggered it sends an order, and the price you get is whatever the market offers at that moment.
Trailing stops are the most misunderstood order type in retail trading, mostly because the mental model people carry is wrong in one specific way β they think of it as a floor, and it is not.
The ratchet
A standard stop sits at a fixed price. You set it and it stays there.
A trailing stop sits at a distance from the market and recalculates as the market moves favourably. On a long position, when price makes a new high the stop moves up to maintain that distance. When price falls back, the stop does not follow it down. It holds where it is.
That one-directional behaviour is the entire mechanism. The stop ratchets. Every favourable move permanently improves your worst case, and no unfavourable move undoes it.
On a short position the logic mirrors: the stop moves down as price falls and never moves back up.
The practical consequence is that a trailing stop converts an open position from something with an unbounded give-back into something with a floor that only rises. It does not decide when to take profit; it decides how much of an unrealised gain you are willing to return before exiting.
Fixed distance or percentage
Two ways to express the trail, and they behave differently as a position moves.
A fixed amount keeps the same absolute distance regardless of price. Predictable, and it means the same dollar risk per unit at every level.
A percentage scales with price. As the position appreciates the trail widens in absolute terms, which gives a winning position progressively more room.
Which is right depends on whether you believe volatility scales with price for the instrument you are trading. For a stock that has run up substantially, a percentage trail widening as it goes is often what you want. For a short-dated options contract whose price can move a large percentage in minutes, a percentage trail can widen into something meaningless very quickly.
There is a third approach β sizing the trail to measured volatility rather than to price β which adapts to conditions rather than to level. That is a more involved topic and belongs with the discussion of automated trailing behaviour for options specifically.
The trade-off nobody escapes
Every trailing stop setting is a single decision made twice.
A tight trail protects more of the gain and exits sooner on ordinary noise. You keep more of your winners' peak and you have more winners cut short.
A wide trail rides through noise and gives back more when a move genuinely ends. You capture more of the large moves and you return more of every gain.
There is no setting that gets both. Anyone presenting a specific number as optimal is describing what happened to work on a particular instrument in a particular period, and that is a fitted result rather than a property of the market. The right width depends on the instrument's normal noise, your holding period, and how you would rather be wrong.
Being explicit about that last part is more useful than optimising. Would you rather be stopped out of a winner that kept running, or hold through a reversal and give back a gain? Both are unpleasant and you have to pick which one you can tolerate repeatedly.
Where the stop actually lives
A detail with real consequences, and most traders have never been told it.
Stop orders are no longer held at the exchanges β NYSE, Nasdaq, and BATS eliminated them in February 2016. Brokers now hold and trigger them in-house. Your stop is a resting instruction at your broker, and when the trigger condition is met the broker sends an order to the market.
That means trailing stop behaviour is broker-specific: what price the trail references, how often it recalculates, whether it updates during extended hours. Two brokers can implement the same nominal trailing stop and behave differently in fast conditions.
There is a further distinction that matters more for automation. A trailing stop can rest at the broker, or it can be managed by software that watches the price and submits an order when its own condition is met. Broker-resident stops survive your software crashing, your host rebooting, and your network dropping. Software-managed stops do not β but they can implement logic no broker offers, such as trailing rules that change as a position develops.
Neither is strictly better. What matters is knowing which one you have, because the failure modes are completely different. On a self-hosted deployment that logic runs in your own environment, which means uptime is a thing you own rather than a vendor promise.
What a trailing stop does not do
The most important section, and the one most treatments skip.
It does not guarantee your exit price. FINRA is explicit that a stop price is not a guaranteed execution price. When the stop triggers it becomes an order, and that order fills at whatever the market offers. In a gap or a fast move that can be materially worse than the trigger.
A stop-limit may not execute at all. Adding a limit to control the fill price introduces the possibility that no fill occurs and you remain in the position, past the level where you wanted out.
That is the trade every stop makes and there is no version without it: certainty of execution or certainty of price, never both. Because this deserves fuller treatment than a section, it is covered properly in its own right.
It does not protect you during a halt. Limit up-limit down mechanisms pause trading for five minutes when a security moves outside its band, and market-wide circuit breakers halt everything at defined thresholds. During a pause your stop cannot execute. Cboe cancels all open option orders when the underlying enters a trading pause, which means an options stop can simply cease to exist at the moment volatility peaks.
It does not improve a strategy. A trailing stop changes the distribution of your exits. It does not change whether your entries have an edge.
The honest limits
Trailing stops are an exit discipline, not a risk control. They bound give-back on a position that has moved in your favour and they do nothing about a position that goes against you immediately.
Optimising the trail width on historical data is one of the easiest ways to fit noise, because it is a single parameter with a smooth-looking response surface. A backtest showing an optimal number is usually showing you the past.
And the control that bounds loss is upstream of all of it. Position sizing determines what a bad exit costs, and it works whether or not the stop fills where you hoped. The divide-by-20 rule is deliberately crude for that reason: available trading capital divided by twenty as the ceiling on any single position. Since the PDT rule elimination replaced day-trade counting with real-time intraday margin, more accounts can trade intraday without a frequency limit, which makes sizing discipline more load-bearing rather than less.
Frequently asked questions
What is a trailing stop? A stop order whose trigger price follows the market in one direction only β up on a long position, never down β so it locks in progress as price moves favourably.
Should I use a fixed amount or a percentage? A fixed amount keeps constant absolute risk per unit; a percentage widens as price rises. Percentage trails can widen into something meaningless on instruments that move large percentages quickly.
Does a trailing stop guarantee my exit price? No. FINRA states a stop price is not a guaranteed execution price. The order fills at whatever the market offers when triggered.
Where does my trailing stop actually sit? At your broker, not the exchange β exchanges eliminated stop orders in February 2016 and brokers trigger them in-house. Software-managed stops sit in your own system instead.
What happens to a stop during a trading halt? It cannot execute while trading is paused, and Cboe cancels open option orders when the underlying enters a pause.
What is the best trailing stop percentage? There is no universal answer. Tight trails protect gains and cut winners short; wide trails ride noise and give back more. The choice is which failure you would rather repeat.
Disclaimer: This article is educational content about software engineering and trading automation. It is not investment advice, financial advice, tax advice, legal advice, or a recommendation to buy or sell any security. Any instruments named are used solely to illustrate mechanics. Options trading involves substantial risk of loss and is not suitable for all investors. Please read Characteristics and Risks of Standardized Options before trading options. Automated trading systems carry additional risks including software defects, missed or duplicated signals, network and connectivity failures, third-party service changes and outages, and unintended order behaviour that may prevent orders from being placed, modified, or cancelled. Stop orders do not guarantee an execution price and stop-limit orders may not execute at all. Past performance does not indicate future results, and no configuration, alert setup, position-sizing rule, or risk setting can guarantee a profit or prevent a loss.
StaxInvesting LLC sells self-hosted trading software. It is not a broker-dealer, investment adviser, or financial institution, and it does not manage accounts, hold member funds, place trades on behalf of members, or access member brokerage accounts. Members run the software in their own cloud environment, connect their own brokerage accounts under their own credentials, and are solely responsible for their configuration, their credential security, their compliance with third-party terms of service, and every trade executed in their account. Third-party platform details described here reflect publicly available documentation as of publication and are subject to change without notice; always verify against current official documentation. Consult a qualified financial adviser and tax professional regarding your individual circumstances.