Strategy Zoo / S0459

Breakout20_V0459

ARCHIVEDbreakout

llmAdded regime gates to avoid downtrends and very high volatility; required positive sma_50_slope to ensure momentum; loosened dist_sma_20 threshold for better generalization; added 1-day stop-loss and secondary exit at sma_50 to cut losses/weak breakouts; position sizing reduced when volatility or near-52w-high to limit risk.

Fitness
0.3118
Generation
21
Complexity
11
Created
2026-09-19

Lineage

Parents (1)
Breakout20_V0397S0397 · gen 18ARCHIVEDllm

changed dist_sma_20 threshold -0.0187 -> 0.0942

Children (0)
None

Strategy Logic (pseudocode)

# Breakout20_V0459  [breakout]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (breakout_20 == 1 and dist_sma_20 > 0.06 and sma_50_slope > 0.0):
    position = 1.0
if long and (close < sma_20 or ret_1d < -0.035 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR5.5%18.3%4.1%7.7%
Total Return53.7%65.4%16.0%195.1%
Sharpe0.430.960.320.52
Sortino0.220.640.130.27
Calmar0.150.750.170.21
Volatility15.4%19.4%17.0%16.7%
Max DD-37.0%-24.3%-23.9%-37.0%
Win Rate52.4%33.3%33.3%42.2%
Avg Win10.2%27.6%17.1%15.3%
Avg Loss-5.9%-5.6%-5.7%-5.7%
Payoff1.724.933.022.67
Expectancy2.5%5.5%1.9%3.1%
Profit Factor1.892.461.511.95
Trades21121245
Avg Holding Days13.57.27.610.2
Turnover5.38.06.56.1
Exposure13.1%9.8%8.5%11.2%

Growth of $100

Breakout20_V0459 vs TSLA Buy & Hold
Breakout20_V0459 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
2016-2.7%-0.26-9.3%1
201736.1%2.06-8.9%4
2018-11.7%-1.42-13.3%2
20190.3%0.14-23.6%4
202038.6%1.63-12.1%4
202143.8%1.68-13.4%4
2022-19.9%-2.09-19.8%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 testDOWNTREND2670.0%0.000%
hidden testEXPENSIVE8349.9%1.9322%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-24.8%-1.761%
hidden testLOW VOLATILITY42933.0%2.1212%
hidden testMEDIUM VOLATILITY248-11.2%-0.5210%
hidden testNORMAL8001.2%0.078%
hidden testSIDEWAYS293-19.9%-1.814%
hidden testUPTREND37129.5%1.1818%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31138.0%1.8121%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6999.0%0.551%
trainLOW VOLATILITY74519.1%1.1928%
trainMEDIUM VOLATILITY568-12.9%-1.009%
trainNORMAL1,6010.1%0.0112%
trainSIDEWAYS592-10.2%-0.817%
trainUPTREND90221.3%1.0424%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13859.0%1.8924%
validationEXTREME14426.0%1.861%
validationHIGH VOLATILITY258-0.1%-0.990%
validationLOW VOLATILITY1830.4%0.0314%
validationMEDIUM VOLATILITY31544.5%1.5915%
validationNORMAL4744.6%0.298%
validationSIDEWAYS206-14.8%-1.543%
validationUPTREND42540.3%1.6216%

Trades (full period)

45 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-7.68%2
2026-05-142026-05-18$443.30$409.99-5.36%3
2025-12-082025-12-18$439.58$483.372.49%9
2025-09-302025-10-03$444.72$429.83-1.82%4
2025-09-122025-09-26$395.94$440.4014.58%11
2025-08-262025-09-02$351.67$329.36-3.86%5
2025-05-192025-06-05$342.09$284.70-5.32%13
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-06-272024-07-12$197.42$248.2322.50%11
2023-07-052023-07-21$282.48$260.02-6.23%13
2023-05-312023-06-22$203.93$264.6128.73%16
2023-04-032023-04-04$194.77$192.58-6.31%2
2022-09-202022-09-23$308.73$275.33-6.81%4
2022-08-162022-08-23$306.56$296.45-6.46%6
2022-08-022022-08-08$300.59$290.42-3.26%5
2022-04-052022-04-06$363.75$348.59-4.93%2
2021-10-182021-11-09$290.04$341.1737.68%17
2021-08-032021-08-17$236.58$221.90-3.50%11
2021-01-262021-02-01$294.36$279.94-10.09%5
2021-01-042021-01-11$243.26$270.4024.46%6
2020-12-182020-12-22$231.67$213.45-1.11%3
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-152020-10-21$149.63$140.88-8.72%5
2020-01-062020-01-16$30.10$34.2316.81%9
2019-12-172019-12-31$25.27$27.898.48%10
2019-10-162019-10-25$17.32$21.8815.97%8
2019-09-122019-09-25$16.39$15.25-9.85%10
2019-07-222019-07-26$17.05$15.20-11.55%5
2018-12-142018-12-18$24.38$22.47-7.72%3
2018-01-182018-02-06$22.97$22.26-4.23%14
2017-09-182017-09-25$25.67$23.00-7.75%6
2017-06-062017-06-14$23.52$25.388.03%7
2017-03-282017-04-04$18.50$20.2510.26%6
2016-12-282017-02-17$14.65$18.1522.27%36
2016-04-052016-04-29$17.03$16.050.09%19
2015-04-302015-07-08$15.07$17.0015.01%48
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-242014-07-03$15.50$15.28-3.48%8
2014-02-212014-02-26$13.97$16.8717.88%4
2014-02-142014-02-20$13.22$14.00-3.20%4
2013-09-202013-10-03$12.23$11.551.50%10
2013-01-252013-02-19$2.47$2.62-0.07%17
2012-11-142012-12-14$2.09$2.256.11%22
2012-03-272012-04-05$2.53$2.30-6.60%8
2012-03-132012-03-23$2.41$2.27-4.66%9