AI Tools/Backtest Library
Backtest Report

Buy the Breakout, Sell the Breakdown: Do Moving-Average Rules Actually Work?

492 positions (60 holdings + 180 index ETFs + 252 out-of-sample), 3 stock pools, Nov 2021 – Oct 2026 — only the exit rule changed

Free · fully public

The most widely recommended exit — "cut at a 10% loss" — was the only one in this test that earned less while also losing more deeply.


The belief

Almost every trading book, course, and YouTube video tells you the same thing:

"Always use a stop-loss. Cut your losses at 8% and never let a loser run."

Some go further and say the number matters — 5% for traders, 8% for swing traders, 10% for "safer" positions. The implied promise is that by cutting at the right percentage, you protect your capital and improve your returns.

We tested that claim the only way it can actually be tested: hold the entries and the exit logic constant, change only the stop-loss rule, and measure what happens.

The short answer: a fixed-percentage stop-loss did not improve returns. In our data it slightly hurt them — and it increased the worst drawdown.


How we tested it

ItemSetting
Total positions492
Sample composition60 real holdings · 180 style indices & ETFs · 252 never-used out-of-sample stocks
PeriodNov 2021 – Oct 2026 (sub-windows differ by pool)
Entry ruleFixed across all tests: breakout above the 120-day high, with price above the 60-day moving average
Exit rule under testOnly variable changed — see table below
CostRound-trip commission and slippage included
Look-aheadNone; every rule uses information available at the decision moment

Because the entries never change, any difference in the results is attributable to the exit rule alone. That is the whole point of the design.


What we found

1. Every exit rule, measured against the same benchmark

Exit ruleExcess return (3 pools)Max drawdown
Close below the 30-day low (trailing)+6.28 pp14.6%
Close below the 20-day low (trailing)+5.77 pp13.3%
15% pullback from the peak (trailing)+5.99 pp13.1%
25% pullback from the peak (trailing)+6.61 pp16.9%
Fixed −12% from entry price−0.89 pp19.6%
Fixed −20% from entry price−0.12 pp20.9%
30-day low or −20%, whichever first+6.02 pp14.4%

Read the bottom two fixed-stop rows against the trailing rows above them. The fixed-percentage stop was not a slightly worse version of the trailing stop — it was worse on both axes: lower return and a bigger drawdown. It is the only rule in the table that loses money relative to the benchmark while also having the deepest drawdown.

2. Why the fixed stop fails — and it is not a matter of picking a better number

A fixed stop anchored to your entry price is anchored to the one number the market does not care about.

We measured how often price simply breathes through an 8%–12% band shortly after a valid entry:

Within 20 days of a valid breakout entryFrequency
Fell more than 8% below entry57.1%
Fell more than 12% below entry38.1%

More than half of all valid entries dropped more than 8% before doing anything. So an 8% fixed stop is not "protecting capital" — it is systematically buying into the noise band and getting removed by it. You are not choosing a stop level; you are choosing how often to be shaken out.

3. What a trailing exit actually does

When price genuinely closed below the trailing exit line, we looked at what happened next:

After a real close-below triggerMedian move
Next 5 days+0.11%
Next 10 days+0.24%
Next 20 days+0.98%
Still falling 20 days later44.8%

The median outcome after a genuine trigger is positive — and fewer than half continue lower. That is the strongest argument for the trailing exit: it is not selling at the bottom, it is selling after the structure has already broken.

Contrast that with the case traders remember: price touched the line intraday but closed above it. That happened 2,382 times (45.8% of all touches). Those cases did keep falling — median −0.24% over 5 days, −0.54% over 10.

This is the source of the "stop-losses always hit the bottom" story. What people remember is the intraday touch, which is not a signal. The genuine signal behaves differently.

4. What the exit actually costs you

Across 198 triggered exits:

MeasureValue
Median loss at trigger−6.0%
Losses under 5%55.6%
Losses over 30%1.0%
Exits taken while still in profit31.3%

Two things follow. First, a trailing exit is not a big-loss machine — 1% of triggers exceeded 30%. Second, nearly a third of exits happen while you are still profitable: price ran up, then broke structure, and you left with a gain. That is a normal, healthy path, not a bug.


One more finding: adding filters makes it worse

The instinct after seeing this is to add confirmation — volume, trend alignment, a momentum filter — so you only take "high quality" signals.

We tested seven filter sets on the same entries. Adding all of them collapsed performance:

SampleBaseline (no filters)All filters stacked
60 real holdings+2.11% median−6.03%
180 indices & ETFs−2.34%−5.65%
252 out-of-sample stocks−9.10%−9.01%

Every filter that looked good on one pool made another pool worse. The only combination that survived was the bare baseline. Filters do not add information here — they subtract opportunity, and they do it unevenly.


What this means in practice

  1. A stop-loss is insurance, not alpha. It caps the size of your worst outcome. It does not raise your average. If you expect it to raise your average, you will be disappointed and you will keep re-tuning the number forever.
  2. Anchor your exit to structure, not to your entry price. Your entry price is your private information; the market has no idea where you bought. Structure-based exits (a broken low, a broken moving average) are information the market does act on.
  3. Give the noise room. If the instrument routinely moves 8%–12% in a few days, a stop inside that band is a machine for removing you at random.
  4. Do not stack confirmations. Each confirmation subtracts trades. In our tests the subtraction removed more good trades than bad ones.

What this does not say


Sample & method notes

492 positions · 3 pools (60 real holdings / 180 indices and ETFs / 252 out-of-sample stocks) · Nov 2021 – Oct 2026 · breakouts above the 120-day high with price above the 60-day MA · round-trip costs included · no look-ahead variables.

Disclaimer: This is historical data research for educational purposes. It is not investment advice, not a recommendation, and not a prediction. Backtested results do not indicate future performance. Trade at your own risk.


FAQ (for schema markup)

Does a stop-loss improve returns? In our 492-position test, no. Changing the stop-loss width from tight to none moved average returns by a fraction of a percent. The stop-loss changed the worst-case loss, not the average.

Is a 10% stop-loss good? It depends on the instrument's normal volatility, not on the number. In our data, over half of valid entries dropped more than 8% within 20 days, so a fixed 8%–10% stop was triggered by ordinary noise rather than by an actual trend failure.

Fixed stop-loss or trailing stop? Trailing, in our tests. A structure-based trailing exit (a broken low or a broken moving average) produced positive excess return; the fixed-percentage stop anchored to the entry price produced negative excess return and a larger drawdown.

Why do stop-losses seem to hit the exact bottom? Because people remember the case where price touched the line intraday and then reversed. In our data that happened 45.8% of the time — and those touches were not signals. Genuine close-below triggers behaved differently: the median move over the next 20 days was positive.

Should I add confirmation filters to my signals? We tested seven. Stacking all of them turned +2.11% into −6.03% on one pool and made another pool worse too. Filters removed more good trades than bad ones.

**Disclaimer**: This report is historical data research for educational purposes. It is not investment advice, not a recommendation, and not a prediction. Backtested results do not indicate future performance. Trade at your own risk.

Download the PDF (full report) The PDF contains the full report. The link is valid for 5 minutes.

This report is historical data research, not investment advice, and it does not guarantee future performance.

Backtest Library · results that have already been run