Improving an Investment Strategy
A case study in changing one rule for one reason, comparing the result fairly — and then checking whether the difference holds year by year. The change did what it was meant to do, by less than hoped, and it did not improve the result. That is the useful part.
What You’ll Learn
By the end of this article, you’ll understand:
- How to turn a weakness in a backtest into a testable hypothesis
- Why you change one rule at a time
- How to compare two runs so only that rule differs
- How to check whether an improvement survives a different period
- When to stop tweaking
Objective
Every strategy can be made to look better on its own history. Change a setting, re-run, keep the change if the number went up — repeat that enough times and the backtest will improve without the strategy improving at all.
So this case study sets a stricter goal. An improvement here means a change you can explain before you see the result, that makes a difference you can attribute to it, and that still holds on a stretch of history it was not found on. A higher CAGR alone does not qualify.
Everything below is hypothetical and illustrative — a demo strategy and its backtests, used to show the method, not a strategy to copy or a recommendation.
Approach
One change, one reason, one fair comparison
- Read the evidenceName one specific weakness in the backtest
- Form a hypothesisWhich rule causes it, and what changing it should do
- Change one ruleCustomize — and nothing else
- Compare the two runsOnly that rule should differ
- Test another periodDoes the difference survive history it wasn't found on?
- Keep or rejectOn the evidence, not on the headline
Strategy design: the starting point
Midcap Climbers is a Custom strategy built in the Custom Strategy Builder: the fifteen highest-ranked stocks of the Mid Cap 150 by 6- and 12-month momentum, ranked on volatility-adjusted returns, rebalanced monthly, with a 20% Trailing Stop Loss and a 0.1% transaction cost on every entry and exit. Its first backtest, from 3 November 2021 to 3 November 2026, used an Exit Rank of 25 — a holding is exited once it slips below 25th place.
The result was respectable — a CAGR of 16.34% and a Score of 72, labelled Strong — but one figure stood out on the Performance tab: 372 trades in five years, for a portfolio of fifteen. That is a lot of turnover for a monthly strategy, and with a 0.1% cost on every entry and exit, each of those trades costs something real.
That gave a specific hypothesis: the strategy lets go of holdings too early. The rule responsible is Exit Rank. Widening it from 25 to 30 should let a holding drift a little further before it is exited — cutting trades without changing the entry rules. What it should not obviously do is change the return much; if it did, that would itself need explaining.
Review of outcome: the full window
The change was made with Customize on the strategy's results page: Exit Rank from 25 to 30, nothing else, then Update & Run Backtest — a Custom backtest, so it spent one Strategy credit. The new run became the strategy's current result, and the original stayed in its Backtest History.
Ticking both runs there and pressing Compare selected gives the fairest comparison the product offers — and the Settings section, which shows only what differs, proves it:

One row. Whatever separates these two results came from Exit Rank.
Exit Rank 25 against 30, November 2021 – November 2026
Exit Rank 25 (original)
- 372 trades
- Avg / Max Holding 68 / 335 days
- Max drawdown −29.31%
- Score 72
16.34%
CAGR
Exit Rank 30 (changed)
- 358 trades
- Avg / Max Holding 71 / 397 days
- Max drawdown −29.04%
- Score 71
15.70%
CAGR
On the full window, the hypothesis is confirmed in direction and not much more. The run traded less, as predicted — but only 358 trades against 372. Holdings were kept a little longer, 71 days on average against 68, and up to 397 days against 335. And the patience had a visible cost on the worst trade: the largest single loss grew from −27.37% to −35.80%, consistent with a fading stock being allowed to slip further before it went.
The return moved the other way: CAGR 15.70% against 16.34%, Sharpe 0.86 against 0.88, Score 71 against 72. The worst fall of the portfolio as a whole was about the same, −29.04% against −29.31%. The hypothesis said the return should not change much, and it did not change much — but it did not improve either. Before deciding what that small gap means, it is worth checking whether it is even consistent.
Review of outcome: does it survive another period?
Both versions were tested over the same five years the change was judged on. The quickest check on whether a gap belongs to the rule or to that stretch of history is the Returns by Year table on the same Compare Results page, which splits each run into calendar years, compounded from its daily values. It is a consistency check within the same window, not a new period of history:
| Year | Exit Rank 25 | Exit Rank 30 | Top 50 |
|---|---|---|---|
| 2021 (from 3 November) | +0.6% | +0.6% | −2.7% |
| 2022 | +1.6% | +0.1% | +4.3% |
| 2023 | +45.8% | +46.1% | +20.0% |
| 2024 | +32.3% | +34.3% | +8.8% |
| 2025 | +9.3% | +6.4% | +10.5% |
| 2026 (to 3 November) | −1.0% | −1.4% | −8.9% |
Read across the rows and the full-window gap stops looking like a property of the rule.
- The lead changes hands. Exit Rank 25 did better in 2022, 2025 and 2026 to date; Exit Rank 30 did better in 2023 and 2024; the part year 2021 was level. A rule that reliably cost return would not win two of the five full or part years it differed in.
- The yearly gaps are larger than the five-year one. In 2025 the two runs were 9.3% against 6.4%; in 2024, 32.3% against 34.3%. Next to swings like those, 16.34% against 15.70% over five years is too small and too inconsistent year to year to treat as a lasting effect of Exit Rank.
So the honest conclusion is narrower than either headline. The change did what the hypothesis said it would — fewer trades, longer holds — but the reduction was small, 14 trades in five years, and it came with a larger worst single loss. It did not improve the result, and the year-by-year table gives no reason to think the small CAGR difference is a consistent effect of the rule. Against this article's definition, it is not an improvement: the difference can be attributed to Exit Rank within this window, but nothing here shows it holding on a stretch of history it wasn't found on.
A stricter test would re-run both versions on separate stretches of history — Save As to make copies at no cost, then Customize to set each copy's Backtest Period to Custom dates, which spends a Strategy credit per backtest. That test isn't performed here; with the gain this small, the year-by-year reading already answers the question it would ask.
A second opinion from an Experiment
On plans that include it, an Experiment can vary several settings at once. One run on Midcap Climbers, over the same five years, varied its ROC windows — 3, 6 and 12 months in every combination — and its holding count, 10 or 15: fourteen configurations. The one with the strategy's own settings, Exit Rank 30 included, came out at the same 15.70% CAGR and 358 trades as the backtest above, and ranked tenth.

Its useful output is not the configuration that came first — 12-month momentum alone with ten stocks, at 23.55%, which lost 4.7% in 2022 and took much of its lead from 2024 — but the pattern. All of the top four included the 12-month window, while configurations using the 6-month one had a median CAGR of 16.3%, below the experiment's 17.22%. Second place, #8 at 20.53%, differs from the strategy in one setting only: 12-month momentum alone, still fifteen stocks. That is a new hypothesis — the 6-month window holds this strategy back — already in the shape this case study tests: one change, one fair comparison, then a period it was not ranked on. An Experiment proposes; it does not prove.
Trade-offs
Fewer trades, longer holds
A wider Exit Rank cuts turnover and real costs, but holds onto stocks that are fading for longer. Whether that suits you depends on what you pay per trade and how much drift you can tolerate.
One window is one sample
A difference of under a point in CAGR over a single period is weak evidence. Reading the same window year by year costs nothing and often changes the answer, as it did here.
Every round spends unseen data
Each time you test on a new stretch of history and adjust, that stretch stops being out-of-sample. With history from 2021, there isn't much of it to spend.
When to stop tweaking
Stop when the reason runs out
Stop when the next change has no reason beyond "the number might go up". Stop when the differences you are chasing are smaller than the gaps between years of the same window — here, 16.34% against 15.70% over five years, against 9.3% and 6.4% in a single year. And stop when you have used up the history you have not yet looked at; after that, further improvements are mostly improvements to the fit.
At that point the better next step is not another backtest. It is a simulation — a paper portfolio run with virtual money — where the strategy meets conditions no backtest has seen. Historical results, however carefully tested, do not guarantee future performance, and what you do with a strategy remains your decision.
Lessons learned
- An improvement is a change you can explain in advance, attribute to one rule, and see hold on a period it was not found on — not a higher number.
- Start from one specific weakness in the evidence; here, 372 trades for a fifteen-stock portfolio pointed at Exit Rank.
- Change one rule with Customize, then compare the runs from Backtest History so the Settings section shows a single differing row.
- The full window showed fewer trades, as predicted, but only 358 against 372 — with a slightly lower CAGR and a larger worst single loss.
- Returns by Year showed the lead changing hands between the runs, with yearly gaps larger than the five-year one — so the CAGR difference is not evidence of a consistent effect.
- A change that only weakly does what it was meant to, and does not improve the result, is not an improvement — rejecting it is a valid outcome.
- An Experiment's pattern — here, the 12-month window ahead of the 6-month — is a hypothesis to test the same way, not a result to adopt.
- Stop when the reason runs out, when the gains are smaller than the noise, or when you have spent your unseen history — then simulate.
