Trailing Stop
A trailing stop is a stop-loss order that moves with the position. It sits a fixed percentage below the highest price reached since entry. When the price makes a new high, the stop rises to match. When the price falls, the stop stays where it is. It moves up only, never down, and the position is sold when the price trades through it.
Take a stop set 10% below the high-water mark. Buy at 100 and the stop sits at 90. If the price then rises, the stop rises with it and stays 10% below the new high. A fall of 10% from that high ends the trade with a gain, and a fall of 10% from the entry ends it with a loss. The rule has one parameter, the width, and the width sets the trade-off between giving back profit and being shaken out early.
The 20-day momentum breakout template uses this rule as its only exit. It buys after a 20-day return above +10% and hands the position to a 10% trail, with no profit target. We ran it on 59 ETFs from 2021-01-04 to 2026-10-02, about 5.7 years of minute data, starting from $10,000, with no margin and no fees or slippage in the headline run. The median ETF returned a CAGR of 0% with a median maximum drawdown of 20.1%. This glossary entry uses those results and the market profiles of six funds to show what the width does in practice.
20-Day Momentum + Trailing Stop across 59 ETFs
Median CAGR 0.0%, median max drawdown −20.1%, ahead of buy-and-hold on 21 of 59 (2021-01-04 to 2026-10-02).
| ETF | CAGR | Buy & hold | Max DD | Round trips |
|---|---|---|---|---|
| QLD | 22.5% | 23.6% | −20.1% | 20 |
| SOXL | 19.1% | 33.3% | −67.5% | 138 |
| SPUU | 17.3% | 22.5% | −17.6% | 12 |
| SOXX | 16.7% | 31.1% | −30.2% | 18 |
| SSO | 15.4% | 21.9% | −24.1% | 13 |
| VIXM | −15.9% | −16.1% | −65.0% | 17 |
| SQQQ | −16.0% | −42.3% | −67.5% | 72 |
| VXZ | −17.3% | −15.1% | −67.9% | 18 |
| TECS | −18.3% | −46.7% | −72.4% | 83 |
| UVXY | −36.2% | −48.7% | −93.3% | 125 |
The five strongest and five weakest results. All 59.
What the trailing exit did across 59 funds
The median ETF made 6 round trips and was invested 21.3% of the time. The rule finished ahead of buy-and-hold on 21 of the 59 funds, had a shallower drawdown on 56, and had a positive CAGR on 27. The shallower drawdown is the trail doing its job. A position that is sold 10% below its peak cannot suffer the 60% or 80% declines that some of these funds had on a buy-and-hold basis.
The cost shows up in the return. In 2021 the median strategy return was 0% against 4.1% for buy-and-hold. In 2022 it was -5.7% against -12.7%, with the strategy positive on 8 funds. In 2023, 2024 and 2026 the median strategy return was 0% against 8.9%, 9.7% and 3.7%. In 2025 it was 1% against 11.1%. In bad years the trail cut the loss roughly in half at the median. In good years it left the median fund in cash for most of the period.
The strongest funds were leveraged and sector funds with strong trends. QLD returned 22.49% against 23.55% for holding, with a maximum drawdown of 20.1% and 20 round trips. SOXL returned 19.06% with 138 round trips and a 67.49% drawdown, against 33.32% for holding. SPUU returned 17.25% against 22.48%, with a 17.6% drawdown. SOXX returned 16.73% and SSO 15.43%.
QLD is the clearest example of the rule working. It gave up about a point of CAGR to buy-and-hold and cut the maximum drawdown to 20.1%, in a fund whose buy-and-hold drawdown was far larger. SOXL shows the other outcome. The trail was hit 138 times, and the drawdown was still 67.49%, because the stop fills at the next available price and a leveraged semiconductor fund can fall past it.
How the width changes the result
We reran the template with a 5% trail, a 15% trail and a stricter 20% return entry, and took the median across the 59 funds.
- A 5% trailing stop: median CAGR 0.25%, median maximum drawdown 12.48%, median 8 round trips.
- A 15% trailing stop: median CAGR 0%, median maximum drawdown 28.6%, median 3 round trips.
- A 20% return entry: median CAGR 0%, median maximum drawdown 0%, median 0 round trips.
The default 10% trail had a median maximum drawdown of 20.1% and 6 round trips, so the three settings line up in order. A tighter trail traded more and kept the drawdown shallower. A wider trail traded less and let the drawdown grow. This is the definition's point that tight trails exit on noise and wide trails give back more at the end, and the medians show both halves.
The median CAGRs are close to zero for every width, so the median fund did not find a width that paid. The 20% entry shows the other lever. Raising the bar for entry produced a median of 0 trades, which means the burst the rule waits for rarely appeared on the typical fund. A trailing stop manages the exit only. The entry rule decides whether there is anything to manage.
Matching the trail to a fund's normal movement
The width has to be compared with how far the fund moves on an ordinary day. The market profiles in the data give those figures.
SPY had an annualized volatility of 16.41% and an average intraday range of 1.15%. QQQ had 22.39% and 1.58%. IWM had 22.35% and 1.75%. TQQQ had 67.11% and 4.74%. UVXY had 103.95% and 7.03%. TLT had 15.33% and 0.94%.
A 10% trail is wide against SPY's range, so a day inside the normal range cannot trigger it. Against TQQQ, a 4.74% average range means a 10% trail sits within a couple of ordinary days of movement. A fund with that range can reach the stop through noise alone, and the stop then converts a pause in an uptrend into a sale. For UVXY, with an average range of 7.03%, the stop is a little more than one typical day wide.
This is the reason the same 10% rule gives different trade counts by fund. SOXL had 138 round trips and UVXY had 125, against 18 for SOXX and 13 for SSO. The funds with the highest volatility hit the stop most often. The win rates on those funds are low, 37% on SOXL and 28% on UVXY, since many trades ended at a stop.
Gaps and the fill price
A trailing stop sets a trigger. It does not set a fill price. In the backtest the position sells at the stop level when a bar trades through it, and at the open if the price gaps below the stop. A gap means the fill is worse than the stop.
The data shows how large the gaps can be. The average overnight gap was 0.44% for SPY, 0.59% for QQQ, 1.78% for TQQQ and 2.53% for UVXY. The average down day was -0.74% on SPY, -1.06% on QQQ, -3.22% on TQQQ and -4.02% on UVXY. For leveraged and volatility funds, one overnight move can carry a price well beyond a 10% stop. TQQQ's worst stretch ran from 2021-11-19 to 2022-12-28 with a maximum drawdown of 81.68%, and a 10% trail would have had many chances to trigger during that decline. How much it saved depends on where the fills landed, which the stop level does not control.
Trailing stops are also subject to the usual broker rules about order types and whether they work in extended hours. In this backtest the exit is simulated on minute bars. Deploying trailing-stop exits live is not available yet, so the figures here are backtest results only.
Inverse and volatility funds
The inverse and volatility groups show what a trail can do when the asset trends down. Inverse ETFs had a median CAGR of -8.12% against -21.57% for buy-and-hold, with a median maximum drawdown of 48.61%, and the strategy was ahead of holding on 10 of 11. Volatility products had a median of -17.28% against -16.06%, and a median drawdown of 67.94%.
SQQQ returned -15.97% against -42.33% for holding, with 72 round trips and a win rate of 29%. TECS returned -18.33% against -46.67%, with 83 round trips. UVXY returned -36.17% against -48.74%, with 125 round trips and a 93.34% maximum drawdown.
The trail beat holding on those funds by staying out of them most of the time, with exposure of 18.1% on SQQQ and 12.7% on UVXY. The strategy lost less than holding because it held less, and each trade it did take lost a little. A win rate of 24% on EEV and 0% on VIXM, from 17 round trips, shows that the funds gave no trend for the trail to follow. A trailing stop is an exit. It does not turn a downtrend into a profit.
The entry rule decides how long the stop works
A trailing stop has nothing to do until a position is open, so the entry rule sets how much the stop matters. The momentum template enters only after a 10% burst in 20 sessions. That is why the median fund was invested only 21.3% of the time. The rest of the window is cash, which is why the median return rounds to 0% in most years.
On the funds where bursts were frequent, the stop had more to manage. QLD was invested 50.3% of the time with a win rate of 50%. SPUU was invested 59.2% of the time with a win rate of 75%. SSO was at 59.3% and 62%, SOXX at 51.4% and 61%, and ROM at 48.2% and 42%. These are the funds that produced the strongest CAGRs. A trail needs a trend to ride, and these funds supplied one often.
The pairing in the trend plus trailing stop template makes a different bet. It enters whenever price is above the 200-day average, which puts the position on much more often, and leaves the exit to a 15% trail. The difference between the two templates is the entry filter, and the medians above show what it does to trade count and drawdown. Whichever entry is used, the trail only controls the way out.
Trailing stops against other exits in the library
The trailing stop is one of several exit designs among the twelve templates, and the medians give a rough comparison. The trend plus trailing stop template enters above the 200-day average and exits only on a 15% trail. It had a median CAGR of 2.61%, a median maximum drawdown of 31.15% and a median of 4 round trips, ahead of holding on 20 funds. Compared with the momentum breakout's 20.1%, the wider 15% trail carries a deeper drawdown.
The dip buyer exits with a fixed +8% take-profit order and no stop. Its median CAGR was 1.33% and its median maximum drawdown was 26.19%. The 200-day regime filter exits when price closes below its average and had a median drawdown of 22.16%. The golden cross exits on the death cross and had 21.84%.
The medians put the trailing stop in the range of the other exits. The trail of 10% had the shallowest median drawdown of the five at 20.1%, and the 15% trail had the deepest at 31.15%. Both had a few trades per fund. The question of when a trailing stop beats a take-profit is taken up in a separate answer, trailing stop or take-profit.
What the test covers
The window is 5.74 years and holds one deep bear market, in 2022. The medians come from a rule with a median of 6 trades per fund, so single trades carry a large weight. The 59 funds are correlated, and several are leveraged versions of the same indexes.
The headline run has no fees or slippage, and the cost runs add 5 and 10 basis points. Strategies with many stops hit, like the 138 round trips on SOXL, pay more of that cost. The widths tested were 5%, 10% and 15%, and no width was tuned against the window. A trailing stop does not predict anything. It limits how much of a gain a position can give back, and the price of that limit is the early exits shown above. Results are hypothetical.
Frequently asked questions
What is a trailing stop?
A trailing stop is a stop-loss that sits a fixed percentage below the highest price reached since entry. It rises when the price makes a new high and never falls. The position is sold when the price trades through the stop.
How does a trailing stop differ from a regular stop-loss?
A regular stop stays at one price. A trailing stop follows the high-water mark upward, so it protects gains as well as the original capital. The momentum breakout template uses a 10% trail with no profit target.
How wide should a trailing stop be?
The data shows the trade-off and does not pick a number. A 5% trail gave a median maximum drawdown of 12.48% with 8 round trips, the 10% default gave 20.1% with 6, and a 15% trail gave 28.6% with 3. A tighter trail exits on noise more often.
Does a trailing stop beat buy-and-hold?
Not on most funds. The 10% trail was ahead of buy-and-hold on 21 of 59 funds and had a shallower drawdown on 56. QLD returned 22.49% against 23.55% for holding with a 20.1% maximum drawdown.
Is the exit filled at the stop price?
No. The stop sets a trigger. In the backtest the position sells at the stop level, or at the open if the price gaps below it, so the fill can be worse than the stop. TQQQ's average overnight gap was 1.78%.
Do trailing stops work on leveraged ETFs?
They trade often. SOXL had 138 round trips and a 37% win rate, and its maximum drawdown was still 67.49%. A 10% trail is within normal movement for a fund with a 4.74% average intraday range like TQQQ.
Can I run a trailing-stop strategy live?
Trailing-stop exits can be backtested now. Deploying them live is not available yet. The backtest results are hypothetical and cover 2021-01-04 to 2026-10-02.
Backtested on 59 ETFs over 5.7 years with real engine results and a buy-and-hold comparison on every page.
Related terms
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.