Trading concepts

Trailing Stop: Definition, Examples and How to Set It

How a trailing stop follows the price and locks in part of a gain, a worked example with a 10% trail, the difference with a trailing stop limit, what 56 years of S&P 500 declines say about the size of the trail, and eight trails tested against holding on indices, ETFs and crypto.

· Founder of PatternsWizard
Checked 13 min read
Fixed stop versus trailing stop: a rising price path with a fixed stop loss that stays at its starting level and a trailing stop that steps up behind the price at a constant distance, exiting when the price falls back to it.
On this page
  1. Trailing stop definition
  2. Trailing stop example with a percentage trail
  3. Trailing stop vs trailing stop limit
  4. How tight should the trail be? The S&P 500 since 1970
  5. Ways to set the trail
  6. Eight trails tested against holding
  7. Common trailing stop mistakes
  8. Frequently asked questions

A trailing stop is a stop order whose stop price follows the market by a fixed amount or percentage as the trade moves in your favor, and never moves back. It locks in part of a gain without a fixed target: you stay in while the trend lasts and leave after a pullback of the size you chose. Its weak points are the same as any stop order: it does not guarantee the exit price, and a trail that is too tight gets hit by normal swings.

Fixed stop versus trailing stop

Fixed stop versus trailing stop: a rising price path with a fixed stop loss that stays at its starting level and a trailing stop that steps up behind the price at a constant distance, exiting when the price falls back to it.
Schematic, not market data.The stop rises with each new high and stays in place when the price falls, until the price reaches it.

Trailing stop definition

The SEC's investor bulletin on stop orders defines it this way: "A trailing stop order is a stop or stop limit order in which the stop price is not a specific price. Instead, the stop price is either a defined percentage or dollar amount, above or below the current market price of the security" (Investor.gov bulletin). For a sell trailing stop, the stop price rises as the price rises and stays put when the price falls. For a buy trailing stop, used to protect a short position, it falls with the price and stays put when the price rises.

The same bulletin gives an example: an investor buys stock XYZ at $20 and, once it reaches $22, places a trailing stop $1 below the market price. The price peaks at $24, so the stop sits at $23, and "Shares are sold when XYZ reaches $23, though the execution price may deviate from $23."

Trailing stop example with a percentage trail

A hypothetical trade with a 10% trailing stop on a stock bought at $50:

PriceHighest price since entryTrailing stop (10% below the high)What happens
$50$50$45Entry; the stop starts at $45
$55$55$49.50The stop rises
$60$60$54The stop rises
$58$60$54The price falls; the stop stays
$63$63$56.70New high, the stop rises again
$57$63$56.70Still above the stop
$56.70$63$56.70The stop is triggered: the order becomes a market order

The exit is near $56.70, a gain of about $6.70 a share or 13.4%, against $13 at the high. That gap is the price of the method: a trailing stop never sells the top, it gives back the size of the trail.

Trailing stop vs trailing stop limit

Trailing stop (market)Trailing stop limit
When triggeredBecomes a market orderBecomes a limit order
ExecutionExecutes, at the next available priceExecutes only at the limit price or better
RiskThe price can be well below the stop in a fast market or a gapThe order may not fill at all if the price moves away
FitsGetting out matters more than the priceThe price matters more than getting out

The SEC bulletin warns about both sides: "The stop price is not the guaranteed execution price for a stop order", and a stop limit order "may not be executed if the stock's price moves away from the specified limit price". The order types guide covers market, limit and stop orders in more detail.

A gap through a sell stop: market fill or no fill

A gap through a sell stop: market fill or no fill: candles stay above a sell stop line, with a limit line a little below it. The next session opens far below both lines. The market version of the order fills at that open, well below the stop; the stop limit version becomes a limit order above the price and stays unfilled.
Schematic, not market data.After a gap through the stop, the market version sells at the open, below the stop; the limit version may not sell at all.

How tight should the trail be? The S&P 500 since 1970

A trail has to be wider than the pullbacks the market makes inside a trend, or it ends the trade during one. To see what that means for a broad index, we measured every decline from a new closing high of the S&P 500 in our data (the highest close since January 2, 1970) to the lowest close before the next one, on daily closes from January 1970 to October 2026. That gives 503 declines. Until March 6, 1972 these highs are not all time records, because the index was already below its earlier peak when our data starts; the first decline is counted from January 5, 1970, although it had begun before. The latest decline, open since the record close of October 6, 2026, is not counted. For a holder since January 1970 with a trailing stop on closes, who buys back each time the index makes a new closing high, these declines are the ones measured from the highest close since entry:

TrailDeclines that reached itOf those, ended before twice the trailOf those, went past twice the trail
5%5334 (decline ended between 5% and 10%)19 (went past 10%)
10%1911 (decline ended between 10% and 20%)8 (went past 20%)

A 5% trail on closes would have triggered 53 times in 56 years, and in 34 of those the decline ended before 10%, so the stop sold during a decline that the index later recovered (a median of 20.5 trading days from the low to a new high for declines of 5% to 10%, and up to 219). A 10% trail triggered 19 times; 8 of those declines went on to 20% or more, including the 56.8% fall from October 2007 to March 2009. These counts use closing prices; an intraday stop would trigger at least as often. Read them as an illustration for one index, not as a tested rule; the pullback guide has the full table of declines.

S&P 500 declines of 5% or more from a closing high, by depth, 1970 to 2026

S&P 500 declines of 5% or more from a closing high, by depth, 1970 to 2026. 5% to 7.5%: 22; 7.5% to 10%: 12; 10% to 15%: 7; 15% to 20%: 4; 20% to 30%: 3; 30% or more: 5. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.53 declines from the highest close to date to the lowest close before the next one, daily closes from January 2, 1970 to October 28, 2026; the decline open since October 6, 2026 is not counted.

Of the 53 declines of 5% or more, 22 ended between 5% and 7.5% and 12 between 7.5% and 10%: most declines that reach a 5% trail stop soon after it. The eight that went past 20% are the ones a trail is meant for: 1970, 1973 to 1974, 1980 to 1982, 1987, 2000 to 2002, 2007 to 2009, 2020 and 2022.

Ways to set the trail

  • Fixed percentage or dollar amount. Simple, and offered as an order type by some brokers, but blind to how much the market moves.
  • A multiple of the average true range. The trail widens when the market gets more volatile; see the average true range guide. The chandelier exit is a ready made version that hangs the stop a multiple of ATR below the highest high; the chart below draws it with its usual setting, three ATRs below the 22-day high.
  • Below swing lows or a moving average. You move the stop by hand under each new higher low, which follows the structure of the trend.

Chandelier exit on the S&P 500 ETF, 22 days and 3 ATR

Chandelier Exit(22, 3) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Long exit: 22-bar high − 3 × ATR(22) (solid line)
  • Short exit: 22-bar low + 3 × ATR(22) (solid line, second color)
Chandelier Exit(22, 3) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.The long exit line sits three average true ranges below the highest high of the last 22 sessions; it rises with new highs and drops only when the high or the ATR changes.

Eight trails tested against holding

The table of declines above says how often a trail would be hit. It does not say what the trail costs or saves. To measure that, we applied eight trailing stops to the same entries and compared each with simply holding for a year. The rules were fixed before we ran them:

  • Markets: 11 stock indices and ETFs (S&P 500, Nasdaq 100, Russell 2000, DAX and Nikkei 225 indices from 1970 or the start of each series, and the SPY, QQQ, IWM, EEM, GLD and TLT funds), and 5 cryptocurrencies (Bitcoin, Ether, BNB, XRP and Litecoin, from 2018 or earlier), on our daily price data.
  • Entries: 300 days drawn at random in each market, buying at the close; then, as a trend entry, every first close above the 200-day simple moving average after a close below it.
  • Trails: 5%, 10%, 15% and 20% below the highest close since entry; 2, 3 and 4 times the 14-day average true range below that close; and the chandelier exit, the 22-day high minus 3 times the 22-day ATR. Except for the chandelier, which follows its usual formula, a stop never moves down.
  • Exit: the stop is checked against each day's low and fills at the stop, or at the open if the price opens below it. Without a stop hit, the trade is sold one year after entry (252 sessions, 365 days for crypto, which trades every day). There is no buying back after a stop. Round trip costs: 0.05% on indices and funds, 0.20% on crypto.

Random entries: median result after one year, by trail

Random entries: median result after one year, by trail. 5% trail: Indices and ETFs −1.0%, Crypto −3.0%; 10% trail: Indices and ETFs −0.3%, Crypto −4.5%; 15% trail: Indices and ETFs +3.6%, Crypto −5.3%; 20% trail: Indices and ETFs +6.7%, Crypto −6.4%; 2 ATR trail: Indices and ETFs −0.7%, Crypto −3.6%; 3 ATR trail: Indices and ETFs −0.7%, Crypto −4.1%; 4 ATR trail: Indices and ETFs −0.7%, Crypto −4.7%; Chandelier, 22 days, 3 ATR: Indices and ETFs −0.3%, Crypto −0.3%; No stop, held one year: Indices and ETFs +10.5%, Crypto +22.2%. Our computation; the inputs and the method are in the text.
  • Indices and ETFs
  • Crypto
Our computation; the inputs and the method are in the text.300 entries drawn at random per market, bought at the close and held one year unless the stop hits; median result per trade after costs. 11 stock indices and ETFs from 1970, 5 cryptocurrencies from 2018, daily data to 2026.

Every trail gave up return. Held for the year, the median random entry in indices and ETFs made 10.5%, and 71.1% of the trades ended higher. With a 5% trail the median trade made −1.0%, with 10% −0.3%, with 15% 3.6% and with 20% 6.7%. In the years that went up, the trails kept on average 11.6%, 38.0%, 66.3% and 76.8% of what holding made. The ATR trails were tighter than they sound on daily bars: the 2 and 3 ATR trails exited every trade before the year was over and the 4 ATR trail 99.9% of them, after a median 9 to 28 sessions. The chandelier often stopped out within days, because after a fall its line, hung from the 22-day high, can sit just under or even above the entry price.

Stopped out, then the price went higher: indices and ETFs

Stopped out, then the price went higher: indices and ETFs. 5% trail: Stopped out 99.4%, Of those, price later higher 69.7%; 10% trail: Stopped out 81.9%, Of those, price later higher 67.1%; 15% trail: Stopped out 52.5%, Of those, price later higher 63.3%; 20% trail: Stopped out 34.4%, Of those, price later higher 64.1%; 2 ATR trail: Stopped out 100.0%, Of those, price later higher 70.8%; 3 ATR trail: Stopped out 100.0%, Of those, price later higher 71.0%; 4 ATR trail: Stopped out 100.0%, Of those, price later higher 70.1%; Chandelier, 22 days, 3 ATR: Stopped out 100.0%, Of those, price later higher 70.8%. Our computation; the inputs and the method are in the text.
  • Stopped out
  • Of those, price later higher
Our computation; the inputs and the method are in the text.Random entries. Stopped out: share of trades the stop closed before the year was over. Later higher: share of those exits after which the close at the end of the year was above the exit price.

The cost comes from shake-outs. A 10% trail closed 81.9% of the trades early, and after 67.1% of those exits the price at the end of the year was higher than the exit price. Even the 20% trail stopped 34.4% of the trades, and the price later went higher after 64.1% of them. Most declines that reach a trail end soon after, as the S&P 500 table above showed; a stop sells them all the same.

What a trailing stop buys: a smaller worst case

What the stop saves: the worst 5% of years

What the stop saves: the worst 5% of years. 5% trail: Indices and ETFs −5.1%, Crypto −5.2%; 10% trail: Indices and ETFs −10.1%, Crypto −10.2%; 15% trail: Indices and ETFs −15.0%, Crypto −15.2%; 20% trail: Indices and ETFs −19.5%, Crypto −20.2%; 2 ATR trail: Indices and ETFs −4.2%, Crypto −14.5%; 3 ATR trail: Indices and ETFs −5.9%, Crypto −19.7%; 4 ATR trail: Indices and ETFs −7.6%, Crypto −24.2%; Chandelier, 22 days, 3 ATR: Indices and ETFs −3.6%, Crypto −11.6%; No stop, held one year: Indices and ETFs −26.4%, Crypto −58.3%. Our computation; the inputs and the method are in the text.
  • Indices and ETFs
  • Crypto
Our computation; the inputs and the method are in the text.Random entries. Fifth percentile of the trade results after costs: one trade in twenty did this badly or worse.

The other side is real. Held for a year, the worst 5% of random entries in indices and ETFs lost 26.4% or more. With a 10% trail that tail shrank to 10.1%, and with a 5% trail to 5.1%: the loss stops close to the width of the trail, except after gaps. On crypto the difference is larger still, 58.3% held against 10.2% with a 10% trail. A trailing stop is insurance against the bad year, paid for with a lower typical result.

Crypto and trend entries

Trend entries (close back above the 200-day average): median result

Trend entries (close back above the 200-day average): median result. 5% trail: Indices and ETFs −0.9%, Crypto −2.6%; 10% trail: Indices and ETFs +0.6%, Crypto −5.7%; 15% trail: Indices and ETFs +7.4%, Crypto −3.9%; 20% trail: Indices and ETFs +9.5%, Crypto +5.0%; 2 ATR trail: Indices and ETFs −0.6%, Crypto −4.1%; 3 ATR trail: Indices and ETFs −0.6%, Crypto −5.6%; 4 ATR trail: Indices and ETFs −1.0%, Crypto −1.0%; Chandelier, 22 days, 3 ATR: Indices and ETFs −0.3%, Crypto −1.5%; No stop, held one year: Indices and ETFs +10.4%, Crypto +31.4%. Our computation; the inputs and the method are in the text.
  • Indices and ETFs
  • Crypto
Our computation; the inputs and the method are in the text.Every first close above the 200-day simple moving average after a close below it: 1,315 entries on indices and ETFs, 188 on crypto; median result per trade after costs over the following year.

On crypto, no trail held a trade for a full year: all eight stopped out every trade, and every one had a negative median result, between −6.4% and −0.3%, against a median of 22.2% for holding. Crypto pulls back by 20% so often that a percentage trail of that size works as an exit within weeks (a median 33 days). With the trend entry, closes back above the 200-day average, the picture on indices and ETFs barely changed: 10.4% held against 7.4% with a 15% trail and 9.5% with a 20% trail. The entry did not rescue the stop.

Common trailing stop mistakes

  • A trail tighter than the normal noise. The table above shows how often a 5% trail would have been hit by declines that ended before 10%.
  • Starting the trail before the trade has room. One approach is to keep the initial stop loss order until the trade has moved, then start trailing.
  • Moving the stop away from the price. A trailing stop only moves in your favor. Widening it after the fact turns a rule into a hope; the stop placement guide covers how to choose the distance up front.

More guides on risk and exits are in trading concepts.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What is a trailing stop?

A stop or stop limit order whose stop price is a set percentage or dollar amount away from the market price, and moves only in the trader's favor. It exits the position after a pullback of the chosen size.

How does a trailing stop work in practice?

In the hypothetical example above, with a 10% trail on a stock bought at $50, the stop starts at $45. If the price rises to $63, the stop rises to $56.70; if the price then falls to $56.70, the stop triggers and the position is sold at the next available price.

Is a trailing stop guaranteed?

No. A triggered trailing stop becomes a market order and can fill below the stop in a fast market or after a gap. A trailing stop limit avoids that, but may not fill at all.

What is a good trailing stop percentage?

There is no single good number: it has to be wider than the normal pullbacks of the market you trade. On S&P 500 closes from 1970 to 2026, a 5% trail would have been hit 53 times and a 10% trail 19 times. In our test on random one-year entries in indices and ETFs, wider trails kept more of the return (a median 6.7% with a 20% trail against −1.0% with a 5% trail) and tighter trails cut the worst losses more. A trail based on the average true range adapts to volatility, but 2 to 4 daily ATRs behaved like a tight trail.

How do you calculate a trailing stop?

Track the highest price since entry (lowest for a short) and subtract the trail: highest price × (1 − trail %) for a percentage trail, or highest price − amount for a dollar trail. The stop only moves when that value rises.

Does a trailing stop beat buy and hold?

Not on return in our test. On 3,300 random one-year entries in stock indices and ETFs, holding gave a median 10.5%, and none of eight trails, from 5% to 20% and from 2 to 4 ATR, matched it. What the trail did was cut the worst outcomes: the worst 5% of trades lost 26.4% or more when held, 10.1% with a 10% trail.

Sources

  1. SEC, Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders (Investor.gov)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All trading concepts articles