Building a Long-Term Investing Strategy
A case study in turning "long-term" into concrete rules — from a Quick Strategy starting point to a Custom version — and then reading two very different backtests honestly, risk first, with the two years that carried the result in plain view.
What You’ll Learn
By the end of this article, you’ll understand:
- How to turn "long-term" into concrete rules
- What a Quick Strategy gives you as a starting point
- Which settings slow a strategy down, and what that costs
- How to judge a long-horizon result honestly
Objective
Picture a hypothetical investor with a long horizon — money they do not expect to need for many years. They are not trying to squeeze out the highest possible return. They want three things: broad exposure rather than a handful of bets, few trades, and the patience to let a holding drift for a while without reacting to every wobble.
"Long-term" is easy to say and hard to test, because a backtest cannot read intentions. It can only run rules. So the real objective of this case study is translation: turning a feeling about time horizon into settings a strategy can actually follow, and then judging the result by whether it behaved like a long-term strategy — not by how much it made.
Everything below is a hypothetical demo. The two strategies and their backtests were built to illustrate the method. They are not strategies to copy, and nothing here is a recommendation.
Approach
From an intention to a strategy you can judge
- State the goal in plain wordsBroad, few trades, tolerant of drift
- Start from a Quick StrategyA starting strategy, at no credit cost
- Read its resultRisk and behaviour first, return last
- Translate "long-term" into rulesOne setting per intention
- Build a Custom versionIn the Custom Strategy Builder
- Compare honestlyCheck what actually differs before believing the gap
Strategy design: the starting point
The first version, Steady Large Caps, is a Quick Strategy with Risk Level Conservative, Strategy Speed Slow and Rebalance Frequency Monthly. Those three choices fill in every other setting: the Top 50 as the universe, 10 holdings, an Exit Rank of 20, the 200-day SMA, 9- and 12-month ROC, ranking on Volatility Adjusted Returns, a Slow Super Trend filter, only stocks within 25% of their 52-week high, and Investment Mode Reinvest (capped at 1.5×). It was backtested from 4 January 2021 to 3 November 2026 with zero transaction cost, and it spent no Strategy credit.
Its result was modest, and the risk figures come first for a reason:
- its worst fall from a peak was −26.98%;
- its longest stretch below a previous high lasted 518 days (trading days, so about two years);
- it made 227 trades in nearly six years;
- its CAGR of 7.90% sat under the Top 50 benchmark's 9.36% over the same period.
The results page gave it a Score of 43, labelled Weak. That band is the product's summary of one backtest, not a verdict on the rules. A Quick Strategy is a place to start, not a destination — a sensible set of slow, steady settings that nobody chose with this particular investor in mind.
Strategy design: translating "long-term" into rules
The second version, Long Horizon Core, was built in the Custom Strategy Builder so that each setting could be chosen for a stated reason. Every long-term intention maps to one control:
| Intention | Setting that expresses it |
|---|---|
| Follow slow trends, not short swings | 200-day SMA only |
| Measure momentum over one long window | 12-Month ROC only |
| Prefer steadier names | Ranking Method: Volatility Adjusted Returns |
| Ask for stronger confirmation | Super Trend Filter: Slow (Stronger Confirmation) |
| Spread the money more widely | 20 holdings from the broader Top 200 (Market Cap 5,000 Crores+, Liquidity 1 Crore+, within 30% of the 52-week high) |
| Tolerate drift before exiting | Exit Rank 50 and Exit Delay Delay by 1 period |
| Make fewer decisions | Monthly rebalance, on the 1st |
| Count trading honestly | Transaction Cost 0.1% on each entry and exit |
Investment Mode was Reinvest (no capping), and no stop losses were set. The product's own one-line description of the result sums up the same rules: the top 20 from the Top 200, monthly on the 1st, 200 SMA, 12M ROC, ranked on Volatility Adjusted Returns. It was backtested over a Custom period spanning five years — 3 November 2021 to 3 November 2026.
Two details matter here. Exit Delay is measured in rebalance periods, not days, so on a monthly strategy "1 period" means a holding must stay below its exit threshold for an extra month before it is exited. And because this is a Custom Strategy, each backtest spends one Strategy credit, including every re-run after a Customize.
As with every NiveshBuddy backtest, signals come from the previous trading day's end-of-day data and trades are assumed to be filled at the scheduled day's closing price — never intraday.
Review of outcome
Risk first: the two hypothetical demo backtests
Steady Large Caps (Quick)
- Max drawdown −26.98%
- Longest drawdown 518 days
- Volatility 17.03%
- 227 trades · avg hold 87 days
7.90%
CAGR, Jan 2021 – Nov 2026
Long Horizon Core (Custom)
- Max drawdown −24.97%
- Longest drawdown 521 days
- Volatility 20.73%
- 223 trades · avg hold 154 days
12.02%
CAGR, Nov 2021 – Nov 2026
Long Horizon Core's worst fall was a little smaller, and both worst falls ended on the same day, 20 June 2022. Its longest spell below a previous high was no shorter: 521 days against 518, both counted in trading days, so about two years each. Those long spells are separate stretches from the worst falls. Its volatility was higher, so it was not calmer in every sense. And the headline CAGR needs the next table before it means anything.
Two years did all of the work
| Year | Long Horizon Core | Steady Large Caps |
|---|---|---|
| 2021 | −0.91% (from 3 November) | 37.86% |
| 2022 | −3.91% | −11.45% |
| 2023 | 46.64% | 24.62% |
| 2024 | 40.30% | 15.98% |
| 2025 | −2.83% | 5.22% |
| 2026 (to 3 November) | −7.34% | −16.10% |
Long Horizon Core's whole gain came from 2023 and 2024. It lost money in each of the other four years, two of them part years, and its Monthly Returns grid counts 2 / 6 positive years. A 12.02% CAGR is an average of that path, not a description of a typical year. Steady Large Caps' path was uneven in a different way: nearly all of its strongest year, 2021, falls before Long Horizon Core's backtest began, and it lost more than 16% in 2026 to date. In 2025, when the Top 50 rose 10.5%, Long Horizon Core lost 2.83%.

None of these figures is a return anyone should expect to see again. They describe how two rule sets behaved on one stretch of history, based on available data.
What the Compare Results page does and doesn't say
Putting the two side by side in Compare Results, the generated Key takeaway reads "Long Horizon Core leads on every measure compared" — its three lines being the higher CAGR (12.02%), the smaller worst fall (24.97%) and the higher Sharpe ratio (0.66 against 0.54). The same page warns against reading too much into that. A Comparison Quality: Medium banner says the results were tested over different periods, and the takeaway adds that their transaction cost assumptions differ.

The page is right to warn. These two backtests differ in at least four ways at once:
- Different periods. Even the benchmark moved: the Top 50 benchmark returned 9.36% a year over Steady Large Caps' window and 5.96% over Long Horizon Core's. That gap is part of why one shows an Alpha of −1.46% and the other +6.06%.
- Different costs. Steady Large Caps ran with zero transaction cost; Long Horizon Core paid 0.1% on every entry and exit.
- Different universes. Top 50 against Top 200.
- Different holdings counts. 10 against 20.
So the comparison shows that these are two different strategies. It does not prove that one design is better. A fair next step would be to re-run Steady Large Caps' rules over the same five years at the same 0.1% cost — Save As to make a copy at no cost, then Customize to change its Backtest Period and Transaction Cost, which spends a Strategy credit. That full test isn't performed here. Steady Large Caps' own Returns by Period gives a first hint, though: over the five years to 3 Nov 2026, the same window as Long Horizon Core's, it returned 2.12% a year against the Top 50 benchmark's 5.96%, still at zero cost. Most of its 7.90% came from 2021.
What does hold up
Some results don't depend on the comparison at all. Long Horizon Core held positions for 154 days on average, and up to 489 — against 87 days on average for Steady Large Caps. It spread its money widely: the most its largest holding ever made up of the portfolio was 11.0% (Top 1 Weight), against 17.6% for Steady Large Caps. Those are the long-term behaviours it was designed for, and they are consistent with the rules in the table above.
Other intentions did not show up as clearly. "Few trades" came to 223 trades in five years, about as many as Steady Large Caps made in nearly six — though across twice as many holdings, so turnover per holding was roughly half. And neither design avoided a long spell below a previous high: each spent about two years of trading days below an earlier peak at some point, and both ended the window below one. Two different designs showing the same thing points at the market more than at either set of rules.
The return level is the part least likely to repeat. A strategy built to be slow and patient can be judged on whether it was slow and patient; how much it earned in 2023 and 2024 says more about those two years than about the design.
Trade-offs
Fewer trades, slower reaction
Monthly rebalancing and long windows keep turnover and costs down, but the strategy responds late when a holding or the market turns.
Broader universe, more names
Twenty holdings from the Top 200 reduce concentration in any single stock, at the cost of more names to keep track of.
Patience includes holding laggards
A wide Exit Rank plus Exit Delay avoids exiting on one bad month, which also means fading stocks are held for longer before they go.
Lessons learned
- Write "long-term" down as specific intentions — broad, few trades, tolerant of drift — before touching a setting.
- Map each intention to one control, so every setting has a reason you can state.
- Treat a Quick Strategy as a starting strategy: it is free to run and shows what slow, conservative settings do, but it was not built around your goal.
- Read risk first — the worst fall and the longest time below a previous high — before looking at CAGR.
- Look at the year-by-year returns; here two strong years carried a whole five-year CAGR, and four of six years lost money.
- Check what differs before trusting a comparison: period, costs, universe and holdings count all moved here, and the Compare Results page said so.
- Judge a long-term design on whether it behaved like one — longer holds, a spread-out portfolio and roughly half the turnover per holding did show up here; the return level is the part least likely to repeat.
