Strategy Zoo / S0277

LongTermTrend_V0277

ARCHIVEDhybrid

structuralswapped indicator ret_20d -> ret_1d

Fitness
0.5842
Generation
13
Complexity
9
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0249S0249 · gen 12ARCHIVEDstructural

entry from LongTermTrend_V0219, exit from PriceMomentum_V0206

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0277  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > -0.0022) or ret_5d > 0.0029) and ret_1d > 0.0715 and ret_20d > 0.0326):
    position = 1.0
if long and close < sma_50:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR26.0%65.7%0.9%26.2%
Total Return531.2%354.6%3.4%2954.3%
Sharpe1.021.240.180.86
Sortino0.811.250.140.70
Calmar0.921.310.020.43
Volatility25.9%51.3%30.0%33.6%
Max DD-28.2%-50.3%-43.0%-60.6%
Win Rate62.5%33.3%33.3%42.3%
Avg Win65.3%104.6%17.2%68.5%
Avg Loss-9.2%-7.0%-6.7%-7.3%
Payoff7.0710.002.589.36
Expectancy37.4%30.2%1.3%24.8%
Profit Factor10.007.461.296.87
Trades89926
Avg Holding Days52.540.226.641.1
Turnover2.16.04.93.5
Exposure22.8%46.7%24.7%28.2%

Growth of $100

LongTermTrend_V0277 vs TSLA Buy & Hold
LongTermTrend_V0277 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
20160.0%0.000.0%0
20179.4%0.57-14.8%1
2018-15.8%-0.71-27.4%2
201939.5%2.02-8.5%0
2020595.5%2.91-33.8%2
2021-18.5%-0.45-32.6%3
2022-23.2%-0.87-27.7%4

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 testDOWNTREND26711.1%0.6310%
hidden testEXPENSIVE8364.6%1.4173%
hidden testEXTREME48179.2%2.9292%
hidden testHIGH VOLATILITY25413.1%0.3042%
hidden testLOW VOLATILITY42922.0%1.927%
hidden testMEDIUM VOLATILITY248-31.1%-0.9039%
hidden testNORMAL800-11.1%-0.4516%
hidden testSIDEWAYS293-6.0%-0.2220%
hidden testUPTREND37110.4%0.2739%
trainDOWNTREND518-0.3%-0.370%
trainEXPENSIVE31137.7%1.0452%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69954.7%1.5128%
trainLOW VOLATILITY74514.8%0.8725%
trainMEDIUM VOLATILITY5686.6%0.3413%
trainNORMAL1,601-0.2%-0.0112%
trainSIDEWAYS5921.7%0.155%
trainUPTREND90257.9%1.5448%
validationDOWNTREND12517.5%1.296%
validationEXPENSIVE13869.8%1.1875%
validationEXTREME144352.1%4.0298%
validationHIGH VOLATILITY258109.9%1.5652%
validationLOW VOLATILITY183-14.5%-0.8320%
validationMEDIUM VOLATILITY31571.3%1.5658%
validationNORMAL474-25.7%-0.9423%
validationSIDEWAYS206-26.0%-0.9025%
validationUPTREND425120.7%1.8669%

Trades (full period)

26 trades
EntryExitEntry PxExit PxReturnDays
2025-09-152025-11-14$410.04$404.351.33%45
2025-04-282025-06-06$285.88$295.14-0.29%29
2024-11-072025-01-30$296.91$400.2834.59%56
2024-09-202024-10-14$238.25$219.16-10.89%17
2024-07-032024-08-05$246.39$198.88-10.37%23
2024-04-302024-05-10$183.28$168.47-11.56%9
2023-09-122023-09-22$267.48$244.88-6.72%9
2023-01-272023-04-06$177.90$185.0615.53%49
2023-01-242023-01-25$143.89$144.43-0.10%2
2022-07-222022-09-06$272.24$274.42-0.75%32
2022-06-222022-06-23$236.09$235.07-0.60%2
2022-03-232022-04-27$333.04$293.84-12.00%25
2022-01-042022-01-07$383.20$342.32-11.44%4
2021-10-262021-12-14$339.48$319.50-5.89%35
2021-04-142021-04-30$244.08$236.48-11.37%13
2020-11-182021-02-23$162.21$232.9561.49%65
2020-04-142020-10-29$47.33$136.94211.27%140
2019-10-252020-03-10$21.88$43.02102.50%93
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-072018-07-06$21.07$20.59-3.43%21
2017-04-042017-07-06$20.25$20.599.35%65
2014-06-172014-09-23$15.44$16.6911.10%69
2014-01-152014-03-28$10.94$14.1628.30%51
2013-04-022013-10-24$2.96$11.54273.71%145
2012-11-062013-01-14$2.08$2.224.27%47
2012-03-272012-04-10$2.53$2.16-11.54%10