Backtesting & model validation
Tests of the rules on past data, so you know which signals have actually worked.
How this is worked out ›
Tests whether strong weekly and monthly closes have historically added information beyond simply being long, and lets you validate technical rule sets with fees, slippage and out-of-sample splits.
Check the record before trusting a signal.
This page replays TrendFinch's rules on years of past prices, with fees included, and keeps the most recent period apart as a fair test. A rule that only works on the older data is probably luck.
No look-ahead: setups are identified on completed candles using only data available at the time, swings are used only once confirmed, and forward windows that extend past today are excluded. Calibration (in-sample) data ends 6 Jun 2022; later signals are out-of-sample. Historical results do not guarantee future outcomes.
Candle-close setups — forward performance
Have these patterns actually led anywhere?
779 completed weeks · forward returns measured from the signal candle's close · "edge" = median 4w return minus the all-weeks baseline (+2.2%)
| Setup | Signals | Median 1w | Median 2w | Median 4w | Median 8w | Median 12w | Win 4w | Edge 4w | OOS 4w | OOS 12w |
|---|---|---|---|---|---|---|---|---|---|---|
| Baseline — every completed week | 779 | +0.9% | +1.7% | +2.2% | +5.6% | +9.8% | 57% | — | +0.9% n231 | +5.5% |
| Strong weekly close above resistance | 83 | +3.1% | +6.3% | +8.5% | +18.2% | +20.4% | 70% | +6.3% | +1.1% n24 | +6.1% |
| Strong monthly close above resistance | 31 | +3.0% | +5.2% | +15.4% | +22.5% | +26.1% | 77% | +13.2% | +6.3% n9 | +11.2% |
| Two consecutive strong weekly closes | 22 | +0.8% | +3.0% | +3.1% | +5.3% | +9.1% | 64% | +1.0% | +4.4% n5 | +20.4% |
| Breakout followed by successful retest | 72 | +2.9% | +2.7% | +4.2% | +14.3% | +17.7% | 63% | +2.0% | -6.1% n18 | +1.1% |
| Breakout followed by failed retest | 28 | -0.2% | +1.6% | +4.5% | +8.7% | -1.0% | 61% | +2.3% | -0.1% n12 | +7.4% |
| Strong weekly close + above-average volume | 45 | +3.1% | +7.4% | +9.9% | +22.4% | +23.4% | 76% | +7.7% | +4.4% n11 | +8.5% |
| Strong weekly close + momentum alignment | 80 | +4.1% | +5.7% | +9.2% | +12.3% | +18.0% | 73% | +7.0% | +3.0% n22 | +8.5% |
Small samples (n < 15) are unreliable. A positive in-sample edge that disappears out-of-sample suggests the rule does not add durable information.
▸Strong weekly close above resistance — full detail (83 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 83 | 83 | 83 | 83 | 83 |
| Mean | +6.3% | +11.3% | +25.0% | +49.3% | +69.5% |
| Median | +3.1% | +6.3% | +8.5% | +18.2% | +20.4% |
| Win rate | 61% | 67% | 70% | 70% | 66% |
| Median MFE | +9.2% | +15.9% | +21.8% | +29.5% | +46.2% |
| Median MAE | -4.3% | -5.7% | -6.0% | -9.8% | -12.1% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 23% | 25% | 25% | 25% | 25% |
| Worst drawdown | -82.6% | -82.6% | -82.6% | -82.6% | -82.6% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +3.7% | +7.7% | +9.3% | +19.4% | +23.3% | 64 |
| sideways | +11.2% | +8.0% | +13.4% | +24.9% | +23.4% | 9 |
| bear | -0.3% | +2.0% | +1.6% | -5.1% | -15.2% | 10 |
| In-sample | +9.9% | +9.1% | +14.0% | +26.3% | +52.6% | 59 |
| Out-of-sample | -0.1% | +3.1% | +1.1% | +1.8% | +6.1% | 24 |
▸Strong monthly close above resistance — full detail (31 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 31 | 31 | 31 | 31 | 31 |
| Mean | +7.4% | +12.1% | +34.2% | +56.4% | +70.9% |
| Median | +3.0% | +5.2% | +15.4% | +22.5% | +26.1% |
| Win rate | 74% | 74% | 77% | 84% | 84% |
| Median MFE | +7.3% | +13.3% | +20.7% | +32.0% | +63.3% |
| Median MAE | -3.5% | -4.3% | -4.7% | -4.7% | -10.8% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 3% | 13% | 13% | 13% | 13% |
| Worst drawdown | -53.0% | -82.6% | -82.6% | -82.6% | -82.6% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +3.6% | +5.2% | +15.4% | +22.7% | +36.0% | 23 |
| sideways | +2.3% | +7.0% | +18.5% | +14.8% | +21.4% | 5 |
| bear | +0.7% | -0.5% | +6.3% | +17.9% | +22.4% | 3 |
| In-sample | +4.8% | +6.0% | +30.0% | +31.7% | +68.4% | 22 |
| Out-of-sample | +2.2% | +5.2% | +6.3% | +5.9% | +11.2% | 9 |
▸Two consecutive strong weekly closes — full detail (22 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 22 | 22 | 22 | 22 | 22 |
| Mean | +1.9% | +9.2% | +17.2% | +36.1% | +67.3% |
| Median | +0.8% | +3.0% | +3.1% | +5.3% | +9.1% |
| Win rate | 55% | 50% | 64% | 55% | 55% |
| Median MFE | +9.8% | +12.7% | +16.0% | +26.9% | +43.6% |
| Median MAE | -5.4% | -7.4% | -7.4% | -18.5% | -24.1% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 0% | 0% | 0% | 0% | 0% |
| Worst drawdown | -82.6% | -82.6% | -82.6% | -82.6% | -82.6% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +0.8% | -0.4% | +1.9% | +5.3% | +4.3% | 19 |
| sideways | +0.9% | +8.0% | +6.7% | +25.9% | +119.2% | 1 |
| bear | -1.2% | +4.1% | -5.1% | -8.6% | +6.3% | 2 |
| In-sample | +0.9% | -0.4% | +1.9% | +5.3% | -10.2% | 17 |
| Out-of-sample | -0.8% | +7.4% | +4.4% | +5.4% | +20.4% | 5 |
▸Breakout followed by successful retest — full detail (72 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 72 | 72 | 72 | 72 | 71 |
| Mean | +3.8% | +7.7% | +10.6% | +22.1% | +50.3% |
| Median | +2.9% | +2.7% | +4.2% | +14.3% | +17.7% |
| Win rate | 67% | 61% | 63% | 64% | 68% |
| Median MFE | +6.6% | +7.9% | +12.1% | +31.5% | +51.6% |
| Median MAE | -3.7% | -4.5% | -7.2% | -14.1% | -16.0% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 29% | 36% | 36% | 36% | 35% |
| Worst drawdown | -50.1% | -50.1% | -63.1% | -67.1% | -69.7% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +3.1% | +3.0% | +5.0% | +16.7% | +20.2% | 47 |
| sideways | +1.3% | -0.5% | +5.8% | +40.6% | +37.2% | 13 |
| bear | +3.8% | +2.1% | +1.1% | -15.3% | -8.7% | 12 |
| In-sample | +5.0% | +4.4% | +8.6% | +26.2% | +32.8% | 54 |
| Out-of-sample | -0.1% | -1.5% | -6.1% | -7.3% | +1.1% | 18 |
▸Breakout followed by failed retest — full detail (28 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 28 | 28 | 28 | 27 | 27 |
| Mean | +2.5% | +6.2% | +10.3% | +19.0% | +8.7% |
| Median | -0.2% | +1.6% | +4.5% | +8.7% | -1.0% |
| Win rate | 50% | 57% | 61% | 63% | 48% |
| Median MFE | +6.3% | +7.9% | +12.9% | +27.2% | +27.2% |
| Median MAE | -6.0% | -7.9% | -12.2% | -17.0% | -19.0% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 93% | 93% | 93% | 93% | 93% |
| Worst drawdown | -50.1% | -61.4% | -61.4% | -65.1% | -65.1% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +0.8% | +2.3% | +8.0% | +9.3% | -2.2% | 18 |
| sideways | +1.5% | +3.0% | +4.0% | +18.0% | +13.5% | 5 |
| bear | -5.0% | -2.7% | -15.1% | -11.9% | -13.3% | 5 |
| In-sample | +1.6% | +1.5% | +11.7% | +9.3% | -5.6% | 16 |
| Out-of-sample | -1.0% | +2.4% | -0.1% | +5.6% | +7.4% | 12 |
▸Strong weekly close + above-average volume — full detail (45 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 45 | 45 | 45 | 45 | 45 |
| Mean | +5.3% | +11.0% | +22.3% | +39.4% | +56.0% |
| Median | +3.1% | +7.4% | +9.9% | +22.4% | +23.4% |
| Win rate | 58% | 71% | 76% | 71% | 67% |
| Median MFE | +10.1% | +16.9% | +26.6% | +46.1% | +63.3% |
| Median MAE | -6.0% | -7.0% | -7.2% | -9.3% | -12.1% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 18% | 20% | 20% | 20% | 20% |
| Worst drawdown | -82.6% | -82.6% | -82.6% | -82.6% | -82.6% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +5.2% | +9.4% | +22.8% | +22.4% | +21.6% | 31 |
| sideways | +3.9% | +5.5% | +9.1% | +25.4% | +32.6% | 6 |
| bear | -0.4% | +1.6% | +4.2% | +5.5% | +10.7% | 8 |
| In-sample | +5.2% | +8.3% | +13.9% | +27.9% | +42.9% | 34 |
| Out-of-sample | -0.0% | +3.4% | +4.4% | +3.5% | +8.5% | 11 |
▸Strong weekly close + momentum alignment — full detail (80 signals)
| 1w | 2w | 4w | 8w | 12w | |
|---|---|---|---|---|---|
| n | 80 | 80 | 80 | 80 | 79 |
| Mean | +6.1% | +11.6% | +26.1% | +50.5% | +62.4% |
| Median | +4.1% | +5.7% | +9.2% | +12.3% | +18.0% |
| Win rate | 59% | 66% | 73% | 69% | 66% |
| Median MFE | +9.0% | +14.5% | +25.7% | +32.1% | +45.4% |
| Median MAE | -5.0% | -6.2% | -6.4% | -10.7% | -12.1% |
| Higher high | 100% | 100% | 100% | 100% | 100% |
| Failed (≤2w) | 16% | 18% | 18% | 18% | 18% |
| Worst drawdown | -82.6% | -82.6% | -82.6% | -82.6% | -82.6% |
| Regime | 1w | 2w | 4w | 8w | 12w | n (4w) |
|---|---|---|---|---|---|---|
| bull | +4.9% | +7.2% | +14.3% | +18.6% | +21.0% | 64 |
| sideways | +4.5% | +6.6% | +9.9% | +8.3% | +16.9% | 9 |
| bear | -0.8% | +1.5% | +4.0% | +5.4% | -14.4% | 7 |
| In-sample | +7.0% | +9.0% | +15.2% | +24.2% | +33.8% | 58 |
| Out-of-sample | -0.4% | +3.1% | +3.0% | +4.2% | +8.5% | 22 |
Technical rule backtester
Try a trading rule on past data before risking money.
Long/flat strategies on daily or weekly candles with configurable entries, exits, fees and slippage, benchmarked against buy-and-hold
Long while the fast SMA is above the slow SMA. Signals act at the next bar's open.