Strategy Zoo / S0412

Breakout20_V0412

ARCHIVEDbreakout

llmAdded trend and bubble regime gates to avoid trades in down/bubble environments; tightened/expanded entry with RSI and 50-day slope to confirm momentum and avoid overbought breakouts; widened dist_sma_20 threshold slightly for more signals; improved exits with a multi-condition rule (sma cross OR 5-day stop-loss OR drawdown limit) to cut losses earlier; introduced graded volatility-based sizing (reduce size in high vol) and lowered base position to be more conservative.

Fitness
0.4768
Generation
19
Complexity
12
Created
2026-09-18

Lineage

Parents (1)
Breakout20_V0374S0374 · gen 17ARCHIVEDllm

changed dist_sma_20 threshold -0.0187 -> -0.121; reduce exposure to 41% during HIGH_VOLATILITY

Children (0)
None

Strategy Logic (pseudocode)

# Breakout20_V0412  [breakout]
if flat and (breakout_20 == 1 and dist_sma_20 > -0.15 and rsi_14 < 70.0 and sma_50_slope > 0.0):
    position = 0.8
if long and (close < sma_20 or ret_5d < -0.05 or drawdown > 0.12):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.8
if regime.volatility == "HIGH_VOLATILITY": position *= 0.4

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.7%47.7%5.0%13.8%
Total Return68.4%222.1%19.7%564.2%
Sharpe0.522.000.420.89
Sortino0.371.930.230.65
Calmar0.222.000.320.43
Volatility14.4%20.6%13.9%15.8%
Max DD-30.7%-23.8%-15.8%-31.7%
Win Rate43.3%45.5%45.5%44.2%
Avg Win7.9%32.5%10.6%14.8%
Avg Loss-3.2%-3.5%-5.0%-3.6%
Payoff2.489.162.104.06
Expectancy1.6%12.8%2.1%4.5%
Profit Factor1.897.631.753.22
Trades30111152
Avg Holding Days15.418.912.415.7
Turnover5.75.44.55.3
Exposure13.6%16.3%8.2%12.8%

Growth of $100

Breakout20_V0412 vs TSLA Buy & Hold
Breakout20_V0412 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-1.5%-0.42-3.1%1
2017-0.7%-0.00-12.3%5
2018-7.3%-0.83-8.9%6
201916.6%0.89-10.0%3
2020170.9%3.63-11.5%4
202135.4%1.63-11.0%4
2022-14.5%-2.96-14.4%3

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 testEXPENSIVE8313.4%0.5231%
hidden testEXTREME4871.9%2.7821%
hidden testHIGH VOLATILITY254-4.1%-0.335%
hidden testLOW VOLATILITY42921.4%1.828%
hidden testMEDIUM VOLATILITY248-11.0%-0.6111%
hidden testNORMAL8001.1%0.105%
hidden testSIDEWAYS293-10.7%-1.205%
hidden testUPTREND37123.1%1.1216%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31123.1%1.1125%
trainEXTREME100120.8%4.2035%
trainHIGH VOLATILITY69914.1%0.907%
trainLOW VOLATILITY7459.9%0.7123%
trainMEDIUM VOLATILITY568-3.6%-0.269%
trainNORMAL1,601-2.5%-0.2310%
trainSIDEWAYS592-5.0%-0.645%
trainUPTREND90220.1%0.9827%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13855.9%2.2026%
validationEXTREME144147.7%4.7425%
validationHIGH VOLATILITY25824.8%1.276%
validationLOW VOLATILITY18322.4%1.4327%
validationMEDIUM VOLATILITY31565.3%2.7618%
validationNORMAL4744.4%0.3311%
validationSIDEWAYS206-5.3%-1.002%
validationUPTREND42575.7%2.8028%

Trades (full period)

52 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-4.92%2
2025-12-082025-12-30$439.58$454.430.73%16
2025-10-292025-11-10$461.51$445.23-5.21%9
2025-09-122025-10-13$395.94$435.909.76%22
2025-08-262025-09-03$351.67$334.09-4.14%6
2024-11-072024-12-24$296.91$462.2816.12%33
2024-10-282024-11-04$262.51$242.84-2.51%6
2024-09-162024-10-04$226.78$250.083.58%15
2024-09-062024-09-09$210.73$216.27-5.53%2
2024-06-182024-07-18$184.86$249.2322.86%21
2023-04-032023-04-06$194.77$185.06-7.94%4
2022-09-202022-09-23$308.73$275.33-5.47%4
2022-08-162022-08-23$306.56$296.45-4.87%6
2022-01-042022-01-10$383.20$352.71-4.85%5
2021-09-272021-11-10$263.79$355.9825.46%33
2021-08-312021-09-21$245.24$246.46-0.21%15
2021-08-022021-08-17$236.56$221.90-0.24%12
2020-11-192021-01-19$166.42$281.5241.21%40
2020-10-152020-10-21$149.63$140.88-5.65%5
2020-08-172020-09-04$122.38$139.4413.72%15
2020-05-222020-07-27$54.46$102.6438.99%45
2019-12-132020-02-12$23.89$51.1565.30%41
2019-10-162019-11-25$17.32$22.4213.46%29
2019-09-112019-09-25$16.47$15.25-4.94%11
2019-01-182019-01-22$20.15$19.93-4.21%2
2018-12-042018-12-18$23.98$22.47-1.48%10
2018-11-082018-11-23$23.43$21.72-0.93%11
2018-08-032018-08-15$23.21$22.58-0.07%9
2018-06-122018-06-25$22.85$22.200.20%10
2018-02-272018-03-02$23.40$22.34-2.47%4
2018-01-182018-02-06$22.97$22.26-2.68%14
2017-09-182017-09-25$25.67$23.00-5.68%6
2017-08-042017-08-21$23.79$22.52-0.29%12
2017-05-312017-06-28$22.73$24.753.85%21
2017-05-112017-05-18$21.54$20.87-3.70%6
2017-03-272017-05-05$18.01$20.565.55%29
2016-07-262016-08-09$15.30$15.27-1.49%11
2015-12-312016-01-05$16.00$14.90-5.08%3
2015-07-212015-07-22$17.78$17.86-3.64%2
2015-05-062015-07-09$15.36$17.197.43%45
2014-08-042014-09-16$15.90$17.387.00%31
2014-06-302014-07-08$16.00$14.60-5.66%6
2014-01-312014-03-12$12.09$16.1016.76%28
2013-08-232013-10-04$10.79$12.075.04%30
2013-07-302013-08-16$8.78$9.471.44%14
2013-06-272013-07-17$7.28$8.022.94%14
2013-04-172013-06-05$3.03$6.3630.44%35
2013-01-242013-02-19$2.47$2.622.18%18
2013-01-032013-01-09$2.32$2.24-3.97%5
2012-11-142012-12-24$2.09$2.295.91%28
2012-03-272012-04-05$2.53$2.30-3.97%8
2012-03-132012-03-23$2.41$2.27-3.74%9