What we tested, and what failed
A public record of the measurements behind this engine — including, mostly, the ones that did not work out.
The short version
This engine computes technical indicators, market regimes, stop levels and position sizing across stocks, ETFs and currencies. It does not claim to predict returns, and we have measured that claim carefully enough to know we cannot make it. Two results, and they are different things:
- As a way of ranking stocks, it points the wrong way. Across ~2,900 companies, names at the top of its rating scale have done worse than names at the bottom — whether held for 40 days or sold at a stop-loss (row 4).
- As a way of trading, it has no demonstrated edge. Buying on its BUY signals and exiting on its own stop-loss or SELL signal has performed no better than buying at random at the same level of market exposure — and our best estimate is somewhat worse, though not conclusively (row 2). In practice the stop ended about nine trades in ten, typically within two weeks, and the SELL signal almost never arrived first. That stop was replaced in September 2026 (v19.34). It had been placed so close that ordinary daily price movement triggered it. The new stop is set about four average daily ranges below the price at the BUY signal: nearer five for calm stocks and nearer three for volatile ones (since v19.35), because a calm stock's daily range understates the moves still to come. That distance was chosen before testing, by one rule: ordinary movement alone should reach it in only about a third of full-length holds, and it now does so for calm and volatile stocks alike. It moves up only once the trade has gained as much as it risked. On 392 stocks over 2007–2026, about half of positions now run the full 8 weeks, and about one in ten ends within 2 weeks. This fixes how long trades last; it is not a claim that trading the signals now makes money. We re-ran the trading comparison on the new stop, with the test written down in advance. Trading the BUY signals went from worse than random entry (below 191 of 200 random portfolios) to about the same (above 159 of 200). The difference is not statistically clear. The new stop stopped doing harm; it did not create an edge.
Update, 2026-09-25: since v19.40 the swing stop is simpler still: a fixed limit 20% below the price at the BUY signal, which never moves and has no time limit. It is a risk limit that sets the position size, not a signal to sell. The tests behind that change are row 12.
Do not read the top of its rating scale as a buy list.
One limit applies to everything on this page: we tested the core engine, not every path the live product can take. Our historical replay has no record of past earnings dates, news sentiment, insider trading or post-earnings drift. So four behaviours of the live engine never occur in the tests: promoting a neutral stock to BUY after an earnings surprise, rewarding a cluster of insider purchases, blocking a position on strongly negative news, and limiting a position ahead of an earnings date. None of the four appeared once in 16,637 test cases. Every result below describes the engine without them.
Update, 2026-09-23: the earnings-surprise behaviour has now been tested on its own, using a separate source of historical earnings data, on 392 stocks it had never been tuned on. The stocks it lifted to BUY did about as well as ordinary BUYs: slightly better, but not by a margin we can distinguish from chance. It also sometimes knocks a stock down from BUY after a poor report, and those stocks did about the same as the BUYs it left alone. So it does no measurable harm, and we cannot show that it helps. We keep it on those terms. The other three behaviours remain untested.
Update, 2026-10-15: the 18-year measurement of the shipped engine (row 13) now includes past earnings dates. So it covers both the limit on positions ahead of an earnings date and the earnings-surprise behaviour. Insider trading and news sentiment remain untested, because no historical record of either exists in our data.
That is unusual enough in this category that the rest of this page exists to back it up. Below is what we tested, how, and what came back. Every result is reproducible from this repository with the command shown next to it.
Why publish failures at all
Two reasons, one principled and one practical.
The principled one. A tool that tells you what to buy is making a claim about the future. If it cannot show what it tested, you have no way to tell a measured claim from a confident one. We would rather be checkable than impressive.
The practical one. Nearly everything we tried did not work. If we published only what survived, this page would be almost empty and the little on it would be badly over-stated — which is precisely the failure mode we kept catching in our own earlier drafts. Four times, the largest effect in a result turned out to be a property of how we were measuring rather than of the market.
What the engine does, and does not, claim
| We claim | We do not claim |
|---|---|
| It computes indicators, regimes, stops and sizing transparently and consistently | That its ratings predict returns |
| It applies the same rules across asset classes, with documented exceptions | That higher conviction means a better outcome |
| Its conviction number describes how rare a reading is | That the conviction number describes how likely the call is to be right |
| Every scoring decision is inspectable | That any tested enhancement produced measurable edge |
The third row is shipped product copy, not a caveat written for this page. The tooltip on the conviction figure reads: "This describes how rare the number is, not how likely the call is to be right." We put it there because we measured the alternative and it was not true.
Where there is still room, and where there is not
A rating engine like this one has four things you can change. Our tests say different things about each:
| What you could change | Status |
|---|---|
| How stocks are scored: indicator weights, which indicators count, how they combine | Small re-weightings are ruled out. On the stocks a re-weighting actually moved in or out of BUY, outcomes were the same: +0.09% per trade, with a 95% range of about −0.5% to +0.7%. Among stocks already rated BUY, a higher score did not go with a better outcome. The gap between high-scoring and low-scoring BUYs was −0.2%, range −0.7% to +0.3%, so a meaningful advantage for higher scores is excluded. A genuinely different score is not ruled out, but it would be a new idea, and it would need data these tests have not already used. One such score, "buy the pullback inside an uptrend", has now been tested on fresh European and Japanese stocks. The result was unclear, because of faulty UK price data. The idea is parked: it can only be tested on new data as it arrives (row 10). |
| Which stocks are eligible: the gates that hold a stock back | Open. The pattern in row 4 is between the top and bottom of the scale, and that is where gates act. No gate separates clearly yet. |
| When to get out: stop-loss, time limit, SELL signal | Reworked as a risk rule, not a source of edge. The old stop ended most trades within two weeks. v19.34 and v19.35 widened it to follow each stock's volatility. Since v19.40 it is a fixed limit 20% below the price at the BUY, with no time limit: selling at a stop was not shown to avoid weakness, and the time limit cost about a point a year (row 12). Trading results are about the same as random entry (rows 2 and 11). |
| How much to buy | Not a prediction. Position size is set so that a stop-out costs a fixed share of the portfolio, and that works as stated. |
If you want to look for an edge in this engine, do not look in the weights. And only longer price history, before 2007, would let these tests resolve smaller effects than they can now.
The record
Tested on a walk-forward replay over roughly 19 years of daily data, with each result evaluated only on information available at the time. "Refuted" means the test was specified in advance and the result failed it.
| # | What we tested | Result | Reproduce |
|---|---|---|---|
| 1 | Does conviction order returns? Do higher-conviction calls do better? | No. Conviction is not monotone in realised return at any horizon, and no bullish tier beat a simple always-invested control. | wf:analyze |
| 2 | Wider stop distances improve results (NF-1) | Refuted, 2 of 4 pre-registered criteria. The raw numbers rise with stop width, but that is holding longer in a rising market — the effect disappears against a control that is invested equally often. More broadly, this is the trading result: every entry-and-exit combination we tested — buying on BUY signals and selling on a stop-loss, a SELL signal or a time limit, including the engine's current settings — performed no better than buying at random at the same level of market exposure. The engine's previous stop setting did worse. Re-measured on 392 randomly chosen US stocks: trading the engine's signals with the stop it used until September 2026 came in below 191 of 200 random portfolios at the same exposure — worse than random by our best estimate, though the test was not powerful enough to call it conclusively. That stop ended 91% of trades, a median of nine trading days in; the SELL signal ended 0.1%. With the replacement stop (v19.34), the same test comes in above 159 of 200: about the same as random. Harm removed, no edge. | wf:stops, wf:sweep, wf:flip, wf:new-stop-trading |
| 3 | A two-tier exit — wait for confirmation before selling (NF-10) | Refuted, 1 of 4 criteria. | wf:exits2 |
| 4 | Do the highest-rated names do better than the lowest-rated? | No — they do worse, and this holds up. This is a ranking comparison: each stock against others bought the same way on the same day. Across ~2,900 companies and 123 non-overlapping periods, the top tenth of ratings trailed the bottom tenth by about 1.4% per 40-day period. That is the same whether positions are held for 40 days or sold at a stop-loss 3× the stock's average daily range below entry — the engine's own stop setting — and it persists after controlling for volatility and trend. It holds in the current engine version. It is not a trading result: acting on BUY signals with the engine's exits performs no better than random entry (row 2). And the pattern is about ranking across ratings: among stocks the engine already rates BUY — the ones a trader would act on — we did not see it (392-stock sample). Why: we tested one explanation in advance — that it is confined to small, volatile, thinly-traded stocks — and it was not borne out; if anything it is strongest in large, steady, heavily-traded names. A broader reading, not yet formally tested: most of the gap disappears once you account for how much a stock rose in the previous few weeks, which suggests high ratings pick recent short-term winners that then give some back. (Corrected 2026-09-23: an earlier version of this row said the effect was not established, based on a 150-company sample that does not contain it; a later one described it only for 40-day holds.) | wf:ladder, wf:concentration |
| 5 | A volatility-regime edge, given a pre-registered out-of-sample test | Did not replicate. It missed its own bar by 0.007. | wf:split |
| 6 | Was survivorship bias the explanation? Dead companies leave the data, which can manufacture effects | No. If the bias were the cause, the effect should shrink where the bias is smaller. It does the opposite: it is larger among ETFs and currencies, which almost never disappear. A clean answer to a real question: the effect in row 4 is real, and survivorship is not what produces it. | wf:survivorship |
| 7 | Nine changes to the scoring model, made on reasoning rather than measurement | Nine attempts, nine failures. None survived measurement. | — |
| 8 | Do the individual indicators point the right way? | Mostly not. Tested one at a time across ~2,900 companies, again as a ranking: after a bullish reading from on-balance volume, RSI, cost basis or the moving-average trend, a stock has tended to do worse than peers bought the same way — over 40 days, and equally with a stop-loss exit. Only the Stochastic oscillator reliably points the right way. The rest are inconclusive. These readings move together, so this is one pattern seen several ways, not several separate findings. We wrote down in advance which results we expected; RSI matched, and the Stochastic did the opposite. | wf:attribution |
| 9 | Everything above, taken together: does anything survive multiple-testing correction? | No. Across 113+ configurations, the number crossing significance is what pure chance predicts (2 observed, 1.6 expected). Standard corrections reject all of them. | wf:sweep |
| 10 | A genuinely different score: "buy the pullback inside an uptrend", the one idea an outside swing-trading expert proposed from the results above. It keeps the long-term trend as a filter and rewards a stock for having dipped, instead of for having risen. We wrote the test down in advance and ran it on 457 European and Japanese stocks never used in this work. | Could not tell; the test broke on bad data. The test was too noisy to detect even a large difference. The cause turned out to be the data: in 23 of the UK price histories, the provider switched between pence and pounds from one day to the next, creating fake 100-fold moves. Outside the UK, the new score's picks did better in every one of eight markets, but those markets share the same years, so this is a pattern and not a result. Our advance rules said an unclear result ends the test on past data, so the live engine is unchanged and the idea is not re-tested on history; it can only be tested on new data as it arrives. Re-analysed 2026-09-24 without the faulty stocks: the new score's picks did better by about 0.25% per trade, in all nine markets, which is not a statistically clear margin. A gain as large as 1% per trade is ruled out; a smaller one has not been tested. Because we had already seen these stocks' results, this second look cannot count as a test, and it changes nothing. Those rules also said that even a clear win on this kind of data would only have been encouraging: the sample contains only companies that still exist, which flatters buying dips. | wf:trend-pullback |
| 11 | Scored as trades, per day of exposure, against the market and against random picks (the expert's trade-level scorecard, written down in advance) | The trades earn what the market earns. On 392 US stocks, each day held returned what the S&P 500 returned that day, no more and no less, and the trades moved almost one-for-one with the market. Abroad, on 434 fresh European and Japanese stocks, the trades beat their local index, but randomly chosen trades in the same stocks beat it by more. So that reflects the stocks in the sample, not the engine. The first attempt could not say whether the engine picks better stocks than chance: a handful of very low-volatility bond funds made the comparison too noisy. Re-run 2026-09-24 with that flaw fixed and the current stop, again written down in advance: in the US, the engine's picks beat random picks in the same stocks on the same days by at most about 3% a year (our best estimate is about 1% a year, and it is not statistically clear). The test rules out an edge larger than that, and no historical test here can see a smaller one. (Corrected again 2026-09-24: the first version compared against random picks on random days, which mixed in market timing and understated the uncertainty; it read "at most about 2%".) The trades themselves move with the market almost one-for-one, so their positive average return and 53% win rate are the market rising, not skill. Abroad, the picks did better than random by a statistically clear but tiny margin, about 0.15% per trade, less than the cost of trading. A test run on made-up prices with no edge in them gave a reading the same size. Treat this as no demonstrated edge. (Reworded 2026-09-24 after external review: an earlier version said the picks did "the same as random", which claimed more than the test shows.) | wf:trade-eval, wf:trade-eval-2 |
| 12 | Swing trading against simply holding the stock, on S&P 500 members in 2019–22 and 2024–25, written down in advance | Swinging trailed holding by 4 to 6 points a year, and almost all of that was being out of the stock. The swing held the stock on 61% of days; the rest sat in Treasury bills while stocks rose. Its timing was neutral: against random timing at the same exposure it made −1.4 and +0.6 points, both about zero. Selling at the stop did not avoid weakness: stocks sold at their first stop did no worse over the next 60 days than the same stocks at other times, and 94% were back above the sale price within 60 days. A 40-day time limit cost about a point a year. So the stop became a fixed 20% risk limit with no time limit (v19.40). The test assumes idle money waits in cash; someone who sells and buys another stock is measured by the forward log instead. | npx tsx --env-file=.env scripts/walk-forward/swing-hold.ts |
| 13 | The engine as it ships, measured on its own ratings (October 2026, written down in advance). This covers S&P 500 members in 1999–2006, 2015–2022 and 2024–25, 1.7 million stock-days. It used the product's inputs, including earnings dates and earnings surprises. | No stock-picking edge. A stock bought on a BUY did no better than other stocks on the same days: −0.1% a year for the short-swing setting and −0.2% for position, with a plausible range of about ±3.3 points. That is what the same ratings score when attached to random stocks. A 20-stock portfolio following the engine made 8.1% a year (short swing) and 7.3% (position). Simply holding the same stocks made 9.1%, and the S&P 500 made 6.3%. In the bear years it lost more than holding (about −9.5% a year against −4.5%). The higher figures we published earlier (about 10–12% a year) came from test programs that imitated the engine rather than ran it, and are withdrawn. This test can rule out only large edges, above about 3 points a year; smaller ones are left to the live forward log. | npm run wf:engine-remeasure -- --evaluate --shards 8 |
| 14 | Holding through SELL ratings: in the same 20-stock rotation, selling only on the strongest sell rating instead of every SELL (October 2026, written down in advance, on the same years, so a screen) | No improvement. Because the strongest sell rating rarely appears, the portfolio traded about 31 times a year instead of 200 or more and held each stock about 160 days. It made 6.2% a year (short swing) and 6.6% (position), against 8.1% and 7.3% for the normal rotation. The differences are not statistically clear in either direction. Trading less did not close the gap to simply holding the same stocks (9.1%). Separately, the 20% risk limit decides only about 1 sale in 70 in this rotation, so removing it would barely change anything. | npm run wf:engine-remeasure -- --ssx-evaluate --shards 8 |
| 15 | Buying only the strongest buy rating, in a 40-stock portfolio (October 2026, written down in advance, on the same years, so a screen) | Lower returns, smaller losses. The strongest buy rating requires a rising market, so this portfolio sat in cash about 31% of the time, including almost all of 2001, 2002 and 2022. It made 6.3–6.4% a year against 7.3–8.1% for the normal rotation, which was clearly worse for the short-swing setting. Its bear years fell by about half (−4.8% a year against −9.5%). The same timing with randomly chosen stocks lost about as much, so the shortfall came from the cash and the larger portfolio, not from the stocks it picked. A 20-stock version had the steadiest results of the engine's portfolios, but that was not tested on its own. | npm run wf:engine-remeasure -- --sbx-evaluate --shards 8 |
| 16 | Do the sell signals work? Each time the rotation sold a stock on a SELL rating, about 3,000 times per setting, the stock bought with the money was compared with the stock sold over the next month (October 2026, written down in advance, on the same years, so a screen) | No sign that they do. The replacement did as well as the stock that was sold, and switching on ratings that carry no information gave the same result. That rules out an average gain of more than about 0.6% per switch. Over two months, the stocks sold did slightly better than their replacements. | npm run wf:engine-remeasure -- --switch-evaluate --shards 8 |
| 17 | Out-of-sample test on 9 unseen S&P 500 years (2007–2014 and 2023), 758,701 stock-days, comparing the shipped engine against a "Full Harmony" candidate that gated extended BUY entries and suppressed oversold panic exits (October 2026, written down in advance) | The shipped engine beat holding and the S&P 500 on short_swing; the candidate was refuted. On the 9 unseen years, the shipped engine's bullish ratings ordered 40-day returns in the right direction (STRONG BUY +0.34% > BUY +0.13% > NEUTRAL −0.08% net of random ratings), and its 20-stock short_swing portfolio compounded at 11.0% a year (Sharpe 0.81), beating an equal-weight hold of the same stocks (7.7% a year, +3.4 points) and the S&P 500 (5.9% a year, +5.1 points), while limiting the 2008 financial crisis loss to −12.0% (against −37.2% for holding). The candidate improved 20-day sell switches by +0.24% per switch, but cut out too many momentum winners and weakened 2008 crash protection, dropping annual return to 9.7% (−1.3 points) and bear-year return by −4.1 points. The shipped engine stayed unchanged. | npm run wf:engine-remeasure -- --oos-evaluate --shards 8 |
| 18 | Out-of-sample test on S&P 400 MidCap stocks (2012–2025), 412 mid-cap companies never in that year's S&P 500 (746,684 stock-days), testing the shipped engine and four structural changes to pullback scoring, post-earnings promotions and composite sell signals (October 2026, written down in advance) | The shipped engine beat holding and the S&P 500 on position and showed positive BUY selection (+1.3% to +1.5% a year, not statistically clear); all four changes were refuted. On position, the shipped 20-stock portfolio compounded at 13.2% a year (Sharpe 0.90), beating an equal-weight hold of the same mid-cap stocks (12.0% a year, +1.2 points) and the S&P 500 (12.7% a year, +0.5 points), and held bear-year losses (2018, 2022) to −4.8% a year (against −10.2% for holding and −13.7% for the S&P 500). Flipping the core oscillators to reward only pullbacks cut out mid-cap breakout winners and cost 2.5 to 4.4 points a year. Suppressing composite SELL signals helped short_swing (+1.2 points a year, to 12.5%) but hurt position (−0.8 points a year). The shipped engine stayed unchanged. | npm run wf:engine-remeasure -- --sp400-evaluate --shards 8 |
Row 9 is the one that matters
It is easy to test a hundred ideas, find three that look good, and publish those three. We counted: at least 113 configurations searched across ten test harnesses. Two crossed the usual significance threshold. Chance alone predicts 1.6.
Correcting properly for that search — the standard methods are Benjamini–Hochberg and the Deflated Sharpe Ratio — nothing survives. We keep the count in a public ledger (docs/TRIAL_LEDGER.md) precisely so this arithmetic stays possible, and we found while compiling it that our own earlier figures had understated the search.
What this does not mean
Not that technical analysis does not work. We tested particular constructions on a particular universe over a particular period. Most of our tests did not reach statistical significance, and "not significant" is not the same as "no effect". Absence of evidence is not evidence of absence. The entry filter in the last section is the exception: it had a 74% chance of finding the effect it was testing, and it did not.
Withdrawn 2026-09-23. This section briefly carried a table of 95% ranges for four gate tests. It is withdrawn because each range combined an effect and a t-statistic computed two different ways. The effect came from data with the most extreme 1% of returns trimmed at each end; the t-statistic came from untrimmed data. An external reviewer noticed that one row's sign disagreed with our own earlier correction, and checking it showed the gate measurements themselves needed re-examining.
What the re-examination found. Our earlier conclusion, "no gate makes a measurable difference", was itself produced by the untrimmed calculation, which a few extreme returns dominate. Done consistently:
- Over 40-day periods, the two market-trend gates did what they are designed to do. Stocks held back for not being in an uptrend then did worse than those let through, by about 0.4 percentage points per period. The bearish mirror gate did likewise. This was found after the fact, looking at five gates, so it is a lead rather than a result.
- Over 6- and 12-month periods, the same pattern appears, but those tests have too few periods to confirm it. The confirmation we registered in advance could not succeed at that power, and it did not.
So these gates are "not established" rather than "shown to do nothing". That is also a claim about filtering out weak stocks, not about picking winners.
Corrected 2026-09-23. This paragraph said six of nine tests had "a 17–36% chance of detecting the effect they were measuring". Those figures were calculated at the effect each test happened to observe, which only restates how far it was from significance. They did not measure what the tests could detect, and are withdrawn.
Not that the tool is useless. Indicators, regimes, stop levels and sizing are computed correctly and consistently, and that is worth something on its own. What we cannot tell you is that following its ratings beats being invested.
The last open question, now closed
One hypothesis was still live: an entry filter that prefers buying near value rather than after a five-day run-up. It looked good in-sample — but it was the best of 37 configurations, which is exactly the situation where "looked good" means least.
So it was tested properly. The criteria, the sample and the outcomes were written down and published before the test was run (docs/research/PREREG_PULLBACK_OOS.md), on 392 companies that played no part in finding it. The rules included that an inconclusive result counts as a failure and does not earn another attempt.
It returned 0 of 4 criteria on 2026-09-23. The in-sample edge of +0.13 came back as +0.04 on unseen companies, which is not distinguishable from chance (p = 0.25). One of the two time periods was negative.
So we stopped. A rule written in advance says the search for edge in entry and exit timing ends here, and it has. The engine is what this page has described throughout: a tool that computes indicators, regimes, stops and sizing transparently, with no demonstrated ability to pick winners.
What the result means, as precisely as we can put it. The test had about a 74% chance of detecting an edge as large as the one found in-sample, and it did not find one. An edge of that size is ruled out at roughly the conventional 5% standard. A smaller edge is not ruled out — and because the in-sample figure was the best of 37 attempts, any real effect is probably smaller than it looked. So: fairly tested at the size we claimed, and not reproduced. It does not mean technical analysis fails in general; it means these constructions, on this universe, could not be shown to work.
Corrected 2026-09-23. This section first said the test "had only a 10% chance of detecting the effect" and that the filter was not disproved because "at 10% power nothing could have been". That 10% was power calculated at the effect the test happened to observe, which only restates the p-value. Calculated against the effect the test was designed to check, it was 74%.
The one measurement still scheduled is a defensive re-check of a change we already shipped — confirming it is not worse than what it replaced. That is quality control, not a search for edge.
Reproducing any of this
Every row above is a command. The data is public daily price history; the harnesses are in scripts/walk-forward/.
npm install
npm run wf:fetch # cache daily bars
npm run wf:replay # walk-forward replay, no look-ahead
npm run wf:analyze # then any command from the table
Fuller detail, including the methodology and every retraction, is in docs/TECHNICAL_ANALYSIS_LOGIC.md. The stopping rule that governs what we are still allowed to test — written to stop us searching indefinitely for a result we like — is in docs/STOPPING_RULE.md.
Nothing here is investment advice, and none of it is a forecast. It is a record of measurements.