Strategy Zoo / S0323

LongTermTrend_V0323

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.1

Fitness
0.6770
Generation
15
Complexity
11
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0182S0182 · gen 9ARCHIVEDparameter

entry = LongTermTrend_V0165 AND PriceMomentum_V0003

Children (11)
LongTermTrend_V0359S0359 · gen 17ARCHIVEDcrossover
LongTermTrend_V0380S0380 · gen 17ARCHIVEDparameter
LongTermTrend_V0437S0437 · gen 20ARCHIVEDllm
LongTermTrend_V0454S0454 · gen 21ARCHIVEDcrossover
LongTermTrend_V0465S0465 · gen 21ARCHIVEDllm
LongTermTrend_V0482S0482 · gen 22REJECTEDllm
LongTermTrend_V0492S0492 · gen 22REJECTEDstructural
LongTermTrend_V0519S0519 · gen 24ARCHIVEDcrossover
LongTermTrend_V0590S0590 · gen 27ARCHIVEDllm
LongTermTrend_V0605S0605 · gen 28ARCHIVEDcrossover
Breakout20_V0647S0647 · gen 30ARCHIVEDcrossover

Strategy Logic (pseudocode)

# LongTermTrend_V0323  [hybrid]
if flat and ((((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.1) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05):
    position = 1.0
if long and ret_20d < 0.0392:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR21.6%108.7%14.1%33.9%
Total Return377.9%808.9%62.6%7171.2%
Sharpe0.791.730.581.00
Sortino0.781.850.480.96
Calmar0.363.220.450.57
Volatility30.8%49.7%31.0%35.6%
Max DD-59.5%-33.7%-31.6%-59.5%
Win Rate41.4%51.9%41.7%44.0%
Avg Win16.8%24.9%12.0%18.6%
Avg Loss-4.8%-4.4%-3.9%-4.5%
Payoff3.495.613.054.12
Expectancy4.1%10.8%2.7%5.7%
Profit Factor2.476.052.183.24
Trades582724109
Avg Holding Days13.715.112.713.9
Turnover14.718.013.314.9
Exposure37.1%50.3%32.2%38.6%

Growth of $100

LongTermTrend_V0323 vs TSLA Buy & Hold
LongTermTrend_V0323 TSLA Buy & HoldIn-sampleValidationHidden test
Growth of $100 · log scale · in-sample, validation and hidden-test segments are shaded separately and must not be compared as one out-of-sample track record.

Walk-Forward Years

year-by-year stability matters more than any single year
YearCAGRSharpeMax DDTrades
201618.0%1.06-16.8%4
201721.3%0.97-15.1%10
2018-38.7%-1.77-38.8%11
201910.6%0.49-25.6%5
2020550.7%2.96-33.7%8
202127.1%0.85-29.1%14
20225.4%0.33-19.9%5

A robust strategy performs acceptably in most years rather than spectacularly in one — look for consistency across regimes, not a single outlier year.

Regime Performance

PeriodRegimeDaysAnn. ReturnSharpeExposure
hidden testDOWNTREND267-14.9%-0.7917%
hidden testEXPENSIVE8361.7%1.4654%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY254-6.0%-0.1530%
hidden testLOW VOLATILITY42954.7%2.2634%
hidden testMEDIUM VOLATILITY248-21.0%-0.6731%
hidden testNORMAL8003.5%0.1328%
hidden testSIDEWAYS293-0.1%-0.0030%
hidden testUPTREND37155.9%1.3845%
trainDOWNTREND5181.4%0.176%
trainEXPENSIVE31148.7%1.3466%
trainEXTREME100403.3%5.4797%
trainHIGH VOLATILITY69957.8%1.4037%
trainLOW VOLATILITY74525.0%1.1744%
trainMEDIUM VOLATILITY568-18.1%-0.7128%
trainNORMAL1,601-4.2%-0.1828%
trainSIDEWAYS592-5.9%-0.2432%
trainUPTREND90257.1%1.4058%
validationDOWNTREND12552.3%2.569%
validationEXPENSIVE13877.2%1.4457%
validationEXTREME144340.3%4.0992%
validationHIGH VOLATILITY258107.2%1.5949%
validationLOW VOLATILITY18321.4%0.9449%
validationMEDIUM VOLATILITY315106.0%2.4352%
validationNORMAL47411.2%0.3736%
validationSIDEWAYS206-12.4%-0.4138%
validationUPTREND425143.5%2.3368%

Trades (full period)

latest 100 of 110
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.15%19OPEN
2026-05-052026-06-08$389.37$408.95-0.58%24
2026-04-202026-04-22$392.50$387.51-3.74%3
2025-12-152026-01-05$475.31$451.67-4.74%14
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-09-122025-10-15$395.94$435.1516.16%24
2025-08-252025-09-10$346.60$347.791.84%12
2025-08-112025-08-18$339.03$335.160.08%6
2025-05-062025-06-06$275.35$295.141.38%23
2025-04-302025-05-02$282.16$287.21-4.14%3
2025-04-162025-04-17$241.55$241.37-5.14%2
2024-11-072025-01-08$296.91$394.9436.41%42
2024-09-232024-10-11$250.00$217.800.02%15
2024-09-062024-09-18$210.73$227.20-1.21%9
2024-06-272024-08-01$197.42$216.8617.94%25
2024-05-152024-05-24$173.99$179.24-2.34%8
2024-04-302024-05-08$183.28$174.72-8.56%7
2023-12-222023-12-29$252.54$248.48-0.72%5
2023-12-182023-12-21$252.08$254.50-2.70%4
2023-11-172023-12-14$234.30$251.052.24%19
2023-09-122023-09-26$267.48$244.12-9.90%11
2023-07-262023-07-28$264.35$266.44-3.80%3
2023-05-242023-07-21$182.90$260.0241.23%40
2022-07-192022-08-29$245.53$284.8219.53%30
2022-06-242022-06-28$245.71$232.663.99%3
2022-03-222022-04-21$331.33$336.265.88%22
2022-01-122022-01-24$368.74$310.00-11.49%8
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-10-082021-11-29$261.83$379.0036.05%36
2021-09-152021-10-06$251.94$260.924.64%16
2021-09-082021-09-13$251.29$247.67-2.41%4
2021-08-232021-08-27$235.43$237.312.87%5
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-042021-08-18$236.97$229.66-6.39%11
2021-07-212021-07-23$218.43$214.46-1.90%3
2021-06-242021-07-20$226.61$220.17-1.77%18
2021-06-182021-06-23$207.77$218.860.95%4
2021-06-142021-06-16$205.90$201.62-1.92%3
2021-05-032021-05-04$228.30$224.53-3.66%2
2021-04-142021-04-30$244.08$236.48-11.37%13
2021-04-052021-04-08$230.35$227.931.19%4
2020-11-192021-02-09$166.42$283.1577.07%55
2020-10-222020-10-26$141.93$140.09-0.67%3
2020-10-162020-10-19$146.56$143.61-2.25%2
2020-10-072020-10-14$141.77$153.777.68%6
2020-08-142020-09-24$110.05$129.2617.09%29
2020-06-012020-08-10$59.87$94.5773.64%50
2020-05-282020-05-29$53.72$55.67-1.96%2
2020-04-142020-05-27$47.33$54.6825.56%31
2019-12-172020-03-04$25.27$49.9795.02%53
2019-11-292019-12-06$22.00$22.39-0.48%6
2019-10-232019-11-25$16.98$22.4230.05%24
2019-09-272019-10-04$16.14$15.43-4.12%6
2019-09-132019-09-25$16.35$15.25-9.40%9
2019-07-162019-07-29$16.83$15.72-10.22%10
2018-12-132018-12-18$25.12$22.47-5.15%4
2018-12-062018-12-10$24.20$24.34-0.68%3
2018-11-292018-11-30$22.74$23.37-2.12%2
2018-10-292018-11-26$22.32$23.07-1.73%20
2018-08-272018-08-30$21.28$20.21-5.71%4
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-122018-07-06$22.85$20.59-7.09%18
2018-04-272018-05-04$19.61$19.61-0.56%6
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-01-222018-02-07$23.44$23.00-4.78%13
2018-01-092018-01-11$22.25$22.53-0.68%3
2017-12-222017-12-26$21.68$21.15-2.15%2
2017-12-122017-12-21$22.74$22.11-0.18%8
2017-09-182017-09-22$25.67$23.41-3.70%5
2017-08-292017-09-01$23.16$23.692.76%4
2017-08-252017-08-28$23.20$23.04-1.58%2
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-06-012017-07-05$22.69$21.813.20%24
2017-05-112017-05-18$21.54$20.87-6.06%6
2017-03-282017-05-04$18.50$19.7014.87%27
2016-12-212017-02-24$13.85$17.1322.36%44
2016-07-222016-08-09$14.82$15.272.36%13
2016-06-082016-06-15$15.70$14.51-7.66%6
2016-04-222016-05-02$16.92$16.12-3.22%7
2016-03-042016-04-20$13.40$16.6626.13%33
2015-12-012015-12-04$15.81$15.360.86%4
2015-09-222015-09-29$17.40$16.44-6.16%6
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-07-212015-07-22$17.78$17.86-5.68%2
2015-07-062015-07-09$18.65$17.19-9.13%4
2015-04-242015-06-11$14.56$16.7614.46%34
2015-04-132015-04-17$13.99$13.79-2.19%5
2014-11-252014-11-26$16.54$16.560.35%2
2014-11-112014-11-24$16.74$16.450.15%10
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-092014-07-16$13.69$14.485.27%27
2014-05-282014-05-29$14.02$14.02-0.82%2
2014-01-152014-03-25$10.94$14.7036.25%48
2014-01-062014-01-10$9.80$9.71-1.56%5
2013-12-132014-01-03$9.84$9.971.58%14
2013-10-142013-10-18$11.98$12.232.09%5
2013-10-072013-10-10$12.20$11.53-6.93%4
2013-07-012013-10-04$7.81$12.0761.12%68