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.

Would these rules have worked in the past?

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%)

SetupSignalsMedian 1wMedian 2wMedian 4wMedian 8wMedian 12wWin 4wEdge 4wOOS 4wOOS 12w
Baseline — every completed week779+0.9%+1.7%+2.2%+5.6%+9.8%57%—+0.9% n231+5.5%
Strong weekly close above resistance83+3.1%+6.3%+8.5%+18.2%+20.4%70%+6.3%+1.1% n24+6.1%
Strong monthly close above resistance31+3.0%+5.2%+15.4%+22.5%+26.1%77%+13.2%+6.3% n9+11.2%
Two consecutive strong weekly closes22+0.8%+3.0%+3.1%+5.3%+9.1%64%+1.0%+4.4% n5+20.4%
Breakout followed by successful retest72+2.9%+2.7%+4.2%+14.3%+17.7%63%+2.0%-6.1% n18+1.1%
Breakout followed by failed retest28-0.2%+1.6%+4.5%+8.7%-1.0%61%+2.3%-0.1% n12+7.4%
Strong weekly close + above-average volume45+3.1%+7.4%+9.9%+22.4%+23.4%76%+7.7%+4.4% n11+8.5%
Strong weekly close + momentum alignment80+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)
All signals
1w2w4w8w12w
n8383838383
Mean+6.3%+11.3%+25.0%+49.3%+69.5%
Median+3.1%+6.3%+8.5%+18.2%+20.4%
Win rate61%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 high100%100%100%100%100%
Failed (≤2w)23%25%25%25%25%
Worst drawdown-82.6%-82.6%-82.6%-82.6%-82.6%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 28 Apr 2025 (4w +16%) · 12 May 2025 (4w +2%) · 14 Jul 2025 (4w +0%) · 6 Oct 2025 (4w -10%) · 5 Jan 2026 (4w -16%) · 27 Apr 2026 (4w -2%) · 11 May 2026 (4w -23%) · 24 Aug 2026 (4w +4%)
▸
Strong monthly close above resistance — full detail (31 signals)
All signals
1w2w4w8w12w
n3131313131
Mean+7.4%+12.1%+34.2%+56.4%+70.9%
Median+3.0%+5.2%+15.4%+22.5%+26.1%
Win rate74%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 high100%100%100%100%100%
Failed (≤2w)3%13%13%13%13%
Worst drawdown-53.0%-82.6%-82.6%-82.6%-82.6%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 1 Apr 2023 (4w +3%) · 1 Nov 2023 (4w +9%) · 1 Dec 2023 (4w +13%) · 1 Mar 2024 (4w +16%) · 1 Apr 2024 (4w -11%) · 1 Dec 2024 (4w -1%) · 1 May 2025 (4w +14%) · 1 Sept 2026 (4w +6%)
▸
Two consecutive strong weekly closes — full detail (22 signals)
All signals
1w2w4w8w12w
n2222222222
Mean+1.9%+9.2%+17.2%+36.1%+67.3%
Median+0.8%+3.0%+3.1%+5.3%+9.1%
Win rate55%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 high100%100%100%100%100%
Failed (≤2w)0%0%0%0%0%
Worst drawdown-82.6%-82.6%-82.6%-82.6%-82.6%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 22 Feb 2021 (4w -0%) · 11 Oct 2021 (4w +16%) · 18 Oct 2021 (4w +6%) · 16 Jan 2023 (4w +4%) · 30 Oct 2023 (4w +8%) · 11 Dec 2023 (4w +0%) · 19 Feb 2024 (4w +31%) · 11 Mar 2024 (4w +1%)
▸
Breakout followed by successful retest — full detail (72 signals)
All signals
1w2w4w8w12w
n7272727271
Mean+3.8%+7.7%+10.6%+22.1%+50.3%
Median+2.9%+2.7%+4.2%+14.3%+17.7%
Win rate67%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 high100%100%100%100%100%
Failed (≤2w)29%36%36%36%35%
Worst drawdown-50.1%-50.1%-63.1%-67.1%-69.7%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 27 Jan 2025 (4w -6%) · 19 May 2025 (4w -1%) · 26 May 2025 (4w -7%) · 4 Aug 2025 (4w -5%) · 8 Dec 2025 (4w +1%) · 12 Jan 2026 (4w -23%) · 4 May 2026 (4w -6%) · 5 Oct 2026 (4w -9%)
▸
Breakout followed by failed retest — full detail (28 signals)
All signals
1w2w4w8w12w
n2828282727
Mean+2.5%+6.2%+10.3%+19.0%+8.7%
Median-0.2%+1.6%+4.5%+8.7%-1.0%
Win rate50%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 high100%100%100%100%100%
Failed (≤2w)93%93%93%93%93%
Worst drawdown-50.1%-61.4%-61.4%-65.1%-65.1%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 2 Dec 2024 (4w -4%) · 23 Dec 2024 (4w +6%) · 13 Jan 2025 (4w +2%) · 31 Mar 2025 (4w +14%) · 2 Jun 2025 (4w +3%) · 13 Oct 2025 (4w -9%) · 18 May 2026 (4w -15%) · 12 Oct 2026 (4w -11%)
▸
Strong weekly close + above-average volume — full detail (45 signals)
All signals
1w2w4w8w12w
n4545454545
Mean+5.3%+11.0%+22.3%+39.4%+56.0%
Median+3.1%+7.4%+9.9%+22.4%+23.4%
Win rate58%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 high100%100%100%100%100%
Failed (≤2w)18%20%20%20%20%
Worst drawdown-82.6%-82.6%-82.6%-82.6%-82.6%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 23 Oct 2023 (4w +25%) · 30 Oct 2023 (4w +8%) · 11 Dec 2023 (4w +0%) · 4 Mar 2024 (4w +13%) · 11 Mar 2024 (4w +1%) · 11 Nov 2024 (4w +26%) · 25 Nov 2024 (4w -3%) · 24 Aug 2026 (4w +4%)
▸
Strong weekly close + momentum alignment — full detail (80 signals)
All signals
1w2w4w8w12w
n8080808079
Mean+6.1%+11.6%+26.1%+50.5%+62.4%
Median+4.1%+5.7%+9.2%+12.3%+18.0%
Win rate59%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 high100%100%100%100%100%
Failed (≤2w)16%18%18%18%18%
Worst drawdown-82.6%-82.6%-82.6%-82.6%-82.6%
Median forward return by market regime (weekly price vs rising/falling 50W SMA)
Regime1w2w4w8w12wn (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
Most recent signals: 11 Nov 2024 (4w +26%) · 25 Nov 2024 (4w -3%) · 6 Jan 2025 (4w -1%) · 12 May 2025 (4w +2%) · 14 Jul 2025 (4w +0%) · 11 May 2026 (4w -23%) · 24 Aug 2026 (4w +4%) · 21 Sept 2026 (4w +1%)

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.