Trailing stop or take-profit: which exit is better?
A trailing stop and a take-profit order answer the same question in opposite ways. Once a position is ahead, does the next move tend to continue or to fade? A take-profit order assumes it fades and sells at a fixed gain. A trailing stop assumes it continues and sells only after price falls a set percentage from the highest point reached. The backtests on this site give a way to look at both exits with real numbers, over 2021-01-04 to 2026-10-02 on 59 ETFs, starting from $10,000.
The test has a limit that matters for this question. The templates here combine an exit with a specific entry, so a result belongs to the pair, and no run swaps only the exit while holding the entry fixed. What the data can show is how an entry that expects continuation fared with a trailing stop, how entries that expect a snapback fared with fixed targets, and what the trail width did to the first group. That is enough to see where each exit fits, and it also shows where neither one rescued a weak entry.
The trailing-stop template is read across all 59 funds, then the target-based templates, then trail width, gaps through a stop and broker order support.
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-stop template did across 59 ETFs
The 20-Day Momentum + Trailing Stop template buys when the 20-day return exceeds +10% and then exits only when a 10% trailing stop is hit. It has no profit target. Across the 59 funds its median CAGR was 0.0% and its median maximum drawdown was 20.1%. The median fund had 6 round trips and the template was invested about 21.3% of the time at the median. It beat buy-and-hold on 21 of 59 funds and had a shallower drawdown on 56 of 59.
Those last two figures point in different directions, and both come from the same design. A trail that cuts every position 10% below its high keeps the worst loss small almost everywhere, so the drawdown comparison is lopsided. The same trail leaves the account in cash most of the time, so on a fund that rose steadily, buy-and-hold collected more. The median buy-and-hold CAGR in the table above is positive for most categories, while the median strategy CAGR sits near zero for several. Only 27 of the 59 funds finished with a positive CAGR under the template.
The five strongest funds show the pattern where a trail does its job. QLD returned 22.5% a year against 23.6% for holding it, with a 20.1% maximum drawdown and 20 round trips. SPUU returned 17.3% against 22.5% for holding, with 12 round trips and a win rate of 75%. SSO returned 15.4% against 21.9%. In each case the trail captured most of a trending fund's return and left the account in cash during the drawdowns. None of the strongest five beat holding. The template got close on QLD and fell further behind on SOXX, where holding returned 31.1% and the template 16.7%.
SOXL is the instructive case inside that group. The template returned 19.1% a year with 138 round trips and a win rate of 37%, against 33.3% for holding. Its maximum drawdown was 67.5%. A 10% trail on a fund that moves as much as SOXL does gets triggered often, so the account made many small exits and a smaller number of large gains. The win rate near a third is typical of a trend exit, and the winners have to be much larger than the losers to pay for the rest.
What each exit assumes about price
A take-profit exit is a bet on mean reversion after a gain. If a fund has risen 7% or 8% from the entry, the order sells there and the account does not take part in the next leg, up or down. The win rate is usually high because the target is close, and each win is small. A loss, when it happens, has no matching cap unless a separate stop or time exit is added.
A trailing stop is a bet on persistence. It gives up a fixed slice of the peak and nothing more, so a trade that keeps rising keeps the position open. The win rate is usually low because many entries fade before the trail has moved up much, and the exit is then close to the entry price less 10%. The average winner can be large because a trending fund can carry the trail up for months.
These two descriptions explain why the exits are usually paired with particular entries. The momentum template buys after a +10% burst over 20 sessions. Its entry already says that strength is expected to continue, so a tight profit target would sell the very move the entry was written to catch. The weekly template buys at the first open of a week, rests a +7% target and exits Thursday afternoon if the trade is losing. Its entry has no view on trend, so a fixed gain and a time limit suit it better than a trail would.
The golden cross is a third case. It has no price exit at all and leaves when the 50-day average crosses under the 200-day average, which is a slower trend signal. The question does the golden cross strategy actually work covers that exit and its drawdown record.
What the target-based templates showed
Two templates here use a fixed gain to exit. The weekly 7% target buys at the first open of each week, rests a +7% profit target and sells Thursday afternoon if the trade is losing. Its median CAGR across the 59 funds was 6.61% with a median drawdown of 26.26% and 106 round trips. It beat buy-and-hold on 34 of 59 funds.
The dip buyer waits for a 10% drop from the 20-day high, buys and takes profit at +8%. Its median CAGR was 1.33%, its median drawdown was 26.19%, and the median fund had only 2 round trips. It beat buy-and-hold on 22 of 59 funds. That entry is rare, so the target is seldom tested.
Set the weekly target next to the momentum template. The weekly template traded about 106 times at the median and the momentum template about 6 times. The weekly target produced a positive median CAGR while the trail produced a median near zero. That comparison mixes two entries, so it does not prove that targets beat trails. It does show that a short holding period with a near target traded often enough to earn something on a typical fund, while a rare breakout entry with a 10% trail sat in cash on most of them.
The table of strategies on this site also includes the RSI(2) snapback, which exits when the 2-day RSI recovers above 70 and has no price target. It had a median CAGR of 4.74%, a median drawdown of 17.47% and 166 round trips, and it beat buy-and-hold on 34 of 59. It is a signal exit, a third kind, and it ran the shallowest median drawdown of the group discussed here.
The trend template with a wider trail
The trend + trailing stop template enters when price is above its 200-day average and exits only when a 15% trailing stop is hit. The entry here is slow and the trail is wide. Its median CAGR was 2.61% and its median maximum drawdown was 31.15%. The median fund had 4 round trips and the template beat buy-and-hold on 20 of 59.
Compare that with the momentum template's 20.1% median drawdown. The wider 15% trail allows a deeper loss from each peak, and the median drawdown is deeper too. Two things changed between the templates, the entry and the trail width, so the gap is not a clean measure of width alone. The parameter runs on the momentum template isolate width better, and they are covered in the next section.
How trail width changed the momentum template
The page for the momentum template runs the same entry with a 5% trail, the 10% default and a 15% trail. The median results across the 59 funds are in the facts for this page.
- 5% trailing stop: median CAGR 0.25%, median maximum drawdown 12.48%, median round trips 8.
- 10% trailing stop (the default): median CAGR 0.0%, median maximum drawdown 20.1%, median round trips 6.
- 15% trailing stop: median CAGR 0.0%, median maximum drawdown 28.6%, median round trips 3.
The drawdown rose with width, from 12.48% to 20.1% to 28.6%. Round trips fell from 8 to 6 to 3. That is the trade the glossary entry describes: a tight trail exits on noise and a wide trail gives back more at the end. In this data the tight trail also had the highest median CAGR, though at 0.25% it is hardly different from the others. The median fund has few signals either way, so the medians say more about drawdown than about return.
A fourth run raised the entry threshold to a 20% return. The median CAGR was 0.0%, the median drawdown was 0.0% and the median round trips were 0, so on the median fund the entry never fired. A stricter entry changes how often an exit is needed at all, and for most funds in this universe a 20% gain in 20 sessions did not happen.
Where a trail helped and where it did not
The momentum template's results split cleanly by fund category, and the split says more about the exit than the overall median does.
Leveraged ETFs had a median CAGR of 13.32% against 23.55% for holding, a median drawdown of 40.93% and only 2 funds ahead of holding out of 10. Sector ETFs had 6.99% against 12.58%, with none ahead. Broad index ETFs had 7.35% against 14.42%, with none ahead of 12. These are the categories where holding did well over the window, and a trail that sat out part of the time gave some of that up.
Inverse ETFs had a median CAGR of negative 8.12% against negative 21.57% for holding, and 10 of 11 finished ahead of holding. Bond ETFs had a median CAGR of 0.0% against negative 0.78%, with 5 of 7 ahead. Volatility products had a median of negative 17.28% against negative 16.06% for holding, with 2 of 3 ahead and a median drawdown of 67.94%.
The pattern is that a trailing stop helped most where holding lost money. On SQQQ the template returned a negative 16.0% a year against negative 42.3% for holding, and on TECS negative 18.3% against negative 46.7%. A trail cannot make a falling fund profitable, but it can stop the account from holding all the way down. UVXY shows the limit. The template lost 36.2% a year against negative 48.7% for holding, with a maximum drawdown of 93.3% and 125 round trips, and its win rate was 28%. The cut-off was better than holding and still far from a good result.
The reverse case is a fund that rises most of the time. The momentum template was ahead of holding on none of the sector, broad index or commodity funds. A trail can only reduce exposure on those funds, and reduced exposure cost return.
How the years looked
The template's median result by calendar year, across the 59 funds, was a 0.0% return in 2021, negative 5.7% in 2022, 0.0% in 2023, 0.0% in 2024, 1.0% in 2025 and 0.0% in 2026 so far. Buy-and-hold had medians of 4.1%, negative 12.7%, 8.9%, 9.7%, 11.1% and 3.7% for the same years. The 2026 figure covers part of the year.
The one year where the trail clearly earned its place was 2022. The median fund held lost 12.7% and the median fund under the template lost 5.7%. A trail cuts losses when the entry has already lost momentum, and 2022 was the year when a long run of weak funds met a 10% stop. In the up years the median template return was at or close to zero because the entry condition is a 10% gain over 20 sessions, and most funds did not post that move often.
The count of funds with a positive return shows the same shape. Under the template 16 funds were positive in 2021, 8 in 2022, 28 in 2023, 19 in 2024, 30 in 2025 and 22 in 2026. The year with the fewest was 2022, which fits the trail doing its job of stopping the account from holding, and also the entry condition rarely being met in a falling market.
Gaps and stop fills
A stop order can fill away from its stop level. In the backtest the trailing stop sits 10% below the highest price since entry and sells at the stop when a bar trades through it, or at the open if the price gaps below it. A gap makes the realised exit worse than the stop level.
The ETF data on this site shows how large gaps get. TQQQ's average overnight gap was 1.78% and its average intraday range was 4.74%, with a maximum drawdown of 81.68% from 2021-11-19 to 2022-12-28. A 10% trail on that fund is only a little more than two average days of range. UVXY's average range was 7.03% and its average overnight gap 2.53%, so a 10% trail on it is closer to one and a half days of range. On SPY the average range was 1.15% and the average overnight gap 0.44%, so a 10% trail sits very far from normal daily movement. The same percentage means different things on different funds, which is why width has to be set per fund.
A take-profit order has the mirror problem. It fills at its limit or better, so a gap above the target is a bonus, and a rise that touches the target for a minute and reverses still gets filled if the order was resting. The glossary entry notes that a resting limit can fill on a brief intraday spike the trader would have missed watching manually. The backtests use minute bars, so that spike is included.
What the market profiles say about trends and reversals
The concept behind the two exits can be checked against the market profiles. A fund where price reversals are common suits a target. A fund where moves persist suits a trail. Daily autocorrelation is the cleanest measure, and it was close to zero on every fund shown here: negative 0.02 on SPY, negative 0.04 on QQQ and TQQQ, negative 0.05 on TLT and UVXY and negative 0.02 on IWM. Day to day, none of these funds trended or reversed in a way that favoured one exit.
Longer measures differ. SPY stayed above its 200-day average on 77.99% of sessions and crossed it 30 times. TLT was above it on 35.18% of sessions and crossed it 95 times, which is the signature of a fund that kept changing direction. A trailing stop on TLT would have been triggered often. TLT's total return over the window was negative 40.49% with a maximum drawdown of 44.06% and no recovery, so a trailing stop would not have found many sustained advances to follow.
The RSI(14) statistics add to this. On SPY the median 5-day return after RSI(14) fell below 30 was 3.74% against a baseline of 0.42%, across 18 sessions. On TQQQ it was 10.3% against 1.24%, also across 18 sessions. Dips were followed by rebounds on those funds, which is the behaviour a target exit is built to take. On UVXY the same signal was followed by a median of negative 1.79% over 5 days, and RSI(14) was below 30 on 116 sessions. A fund that decays does not rebound, and neither exit fixes that.
IWM sits between them. Its median 5-day return after RSI(14) fell below 30 was 1.78% against a baseline of 0.18%, across 33 sessions, and its 20-day figure was 0.22% against 0.82%. A short target would have collected on the 5-day rebound, and a longer hold would have collected nothing beyond the baseline.
One leveraged example
TQQQ shows both exits at their extremes. Buying and holding it returned 25.35% a year with a maximum drawdown of 80.77%, and ended with $36,585 from $10,000. Its calendar returns were 88.9% in 2021, negative 78.1% in 2022, 187.6% in 2023, 57.1% in 2024, 33.9% in 2025 and 54.1% in 2026 so far.
The 2022 loss is where an exit mattered. A fund that fell about 80% needs a gain several times larger just to recover, and TQQQ's drawdown from 2021-11-19 to 2022-12-28 was followed by a recovery on 2024-12-04, 762 sessions after the peak. A trailing stop set at 10% would have sold early in that decline and would have been out for most of it. A profit target of 8% on the other hand would have done nothing to protect the account from the decline, since a target caps gains and has no say over losses.
The same fund in 2023 gained 187.6% for holders. A tight target that sold at +8% and then waited for the next entry would have missed most of that year, while a trailing stop would have stayed in as long as the fund did not fall 10% from a new high. Whether it would have stayed in depends on the path, and TQQQ's average daily moves of about 3% make a 10% trail easy to hit. This is the reason that leveraged funds tend to want a wider trail than the 10% default.
These are descriptions of how the exits behave on the fund, not results of a specific run on TQQQ for the momentum template, which are on its own page. The TQQQ profile has the full behaviour tables.
Matching the exit to the entry
The pattern across the templates is that the entry and the exit have to share an assumption. A momentum entry with a trailing stop shares one, and the template's best results came on funds that trended. A mean-reversion entry with a target shares one too. The RSI mean reversion template buys RSI(14) below 30 and sells above 70, with a median CAGR of 2.98%, a median drawdown of 24.63% and 15 round trips, and it beat buy-and-hold on 25 of 59.
A mismatched pair is the risk. A momentum entry with a tight target buys strength and sells after a small gain, so it takes the cost of buying high and gives up the long moves. A mean-reversion entry with a wide trail buys weakness and then holds through the rebound into whatever follows. Neither combination appears among the templates here, so the data does not measure it, and the claim rests on the structure of the rules.
The simplest way to find out for a given idea is to run both exits on the same entry and compare the drawdown and the round-trip count. The AI builder on DeployQuant can turn a description into rules, and a prompt such as adding a 15% trailing stop edits the code. DeployQuant describes trailing-stop exits as available in backtests today and not yet available for live deployment, so a trailing exit in a live strategy needs another way to be expressed for now.
Order support at the brokers
For live trading, the exit has to be something the broker can hold. Among the brokers DeployQuant supports, Alpaca lists limit, market, stop, stop-limit and trailing-stop order types. Charles Schwab lists the same set plus limit-on-close and market-on-close. Webull lists limit, market, stop and stop-limit, with no native trailing stop.
A take-profit is a limit order, so all three brokers can rest one. A native trailing stop is available at Alpaca and Schwab and not at Webull. The broker pages cover Alpaca, Webull and Schwab in more detail. Webull has no working paper environment, and Schwab has none either, so a new exit is easiest to test on Alpaca or in DeployQuant's own paper trading, which needs no broker.
Limits of this comparison
The test covers one window from 2021-01-04 to 2026-10-02, which includes the 2022 decline and a long recovery. The headline runs have no fees or slippage, and the cost runs elsewhere on the site add 5 and 10 basis points. The templates decide once a day. Buy-and-hold puts 98% of the account in at the first open, as the templates do.
Each template pairs one entry with one exit, so a difference between two templates reflects both. The medians describe the typical fund, and most of the 59 funds are not ones a trader would choose for these rules. The results are hypothetical and say nothing about what an exit would do over a different period.
Frequently asked questions
Is a trailing stop better than a take-profit?
Neither was better across the board in these backtests. The trailing-stop template had a median CAGR of 0.0% and the weekly 7% target template had a median of 6.61%, but they use different entries, so the comparison mixes two things. A trail did better on funds that trended, and a target did better on entries that expected a snapback.
Which exit suits a momentum strategy?
The momentum template here pairs a 20-day return above 10% with a 10% trailing stop and has no target. Its best results were on QLD at 22.5% a year and SPUU at 17.3%, both trending leveraged funds. A target would have sold the gains the entry was designed to catch.
Which exit suits a dip-buying strategy?
The dip buyer in the strategy table buys after a 10% drop from the 20-day high and sells at +8%. Dips on SPY and TQQQ were followed by rebounds, with a median 5-day return of 3.74% on SPY and 10.3% on TQQQ after RSI(14) fell below 30. A target is built to take that kind of rebound.
How wide should a trailing stop be?
On the momentum template a 5% trail had a median maximum drawdown of 12.48%, a 10% trail 20.1% and a 15% trail 28.6%. Round trips fell as the trail widened, from 8 to 6 to 3. The right width depends on the fund, since the same 10% is far larger than SPY's average daily range of 1.15% and not much more than two days of TQQQ's 4.74%.
Do trailing stops protect against gaps?
A stop order can fill away from its stop level. In the backtest a stop sells at the stop level when a bar trades through it, and at the open if the price gaps below it. TQQQ's average overnight gap was 1.78%, so the realised exit can be worse than the stop level.
Can I use a trailing stop on Webull?
Webull's order types on the DeployQuant broker page are limit, market, stop and stop-limit, with no native trailing stop. Alpaca and Charles Schwab list trailing stop. DeployQuant also describes trailing-stop exits as available in backtests and not yet for live deployment.
Real results across 59 ETFs, 5.7 years of minute data.
Terms used here
Related questions
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.