Strategy Zoo / S0630

PriceMomentum_V0630

ARCHIVEDhybrid

llm- Simplified and de-duplicated entry conditions: require 20d momentum, improving SMA slope, positive MACD histogram, and either price above SMA50 or a 20-day breakout. Added a volatility percentile cap to avoid extreme spikes. - Replaced single ret_20d exit with a safer exit: stop on portfolio drawdown (< -12%) OR sustained 20d deterioration (< -8%), to reduce large drawdowns and whipsaws. - Tightened regime gating: only trade in UPTREND and avoid HIGH_VOLATILITY; restrict bubble to NORMAL to avoid overvalued regimes. - Added explicit volatility-based position scaling (LOW=1.0, MED=0.7, HIGH=0.4) and reduced base position to 0.8 to lower risk and turnover.

Fitness
0.1479
Generation
29
Complexity
17
Created
2026-09-24

Lineage

Parents (1)
PriceMomentum_V0314S0314 · gen 15ARCHIVEDllm

entry = PriceMomentum_V0267 AND LongTermTrend_V0182

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0630  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (ret_20d > 0.05 and sma_50_slope > 0.0 and (close > sma_50 or breakout_20 > 0.0) and macd_hist > 0.0 and vol_pctile < 0.75):
    position = 0.8
if long and (drawdown < -0.12 or ret_20d < -0.08):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.7
if regime.volatility == "HIGH_VOLATILITY": position *= 0.4

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.9%2.1%1.7%1.3%
Total Return7.3%6.6%6.4%21.7%
Sharpe0.140.270.230.19
Sortino0.070.120.090.09
Calmar0.060.100.140.06
Volatility9.2%9.5%9.2%9.3%
Max DD-15.5%-21.5%-12.2%-22.8%
Win Rate45.5%31.3%50.0%43.7%
Avg Win2.0%5.7%3.0%2.9%
Avg Loss-1.2%-1.7%-2.3%-1.6%
Payoff1.673.301.291.78
Expectancy0.2%0.6%0.3%0.4%
Profit Factor1.391.501.291.38
Trades33162271
Avg Holding Days5.83.82.84.5
Turnover6.47.78.37.2
Exposure6.0%4.2%3.2%4.9%

Growth of $100

PriceMomentum_V0630 vs TSLA Buy & Hold
PriceMomentum_V0630 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.5%-0.58-6.3%7
20174.9%1.36-0.9%8
2018-8.2%-1.72-8.1%2
2019-0.9%-1.07-0.9%1
20200.0%0.000.0%0
202122.7%1.41-9.6%10
2022-13.1%-2.37-13.1%6

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 testDOWNTREND2700.0%0.000%
hidden testEXPENSIVE8333.8%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-9.6%-1.430%
hidden testLOW VOLATILITY4302.9%0.305%
hidden testMEDIUM VOLATILITY25012.6%1.212%
hidden testNORMAL803-1.1%-0.124%
hidden testSIDEWAYS293-0.6%-0.441%
hidden testUPTREND3715.7%0.398%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3112.2%1.181%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6992.8%0.330%
trainLOW VOLATILITY7455.1%0.4513%
trainMEDIUM VOLATILITY568-5.5%-0.774%
trainNORMAL1,6011.2%0.127%
trainSIDEWAYS592-2.8%-1.020%
trainUPTREND9024.7%0.3513%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.6%-1.000%
validationLOW VOLATILITY18311.3%1.4712%
validationMEDIUM VOLATILITY3155.0%0.423%
validationNORMAL4744.1%0.347%
validationSIDEWAYS206-4.8%-1.160%
validationUPTREND4256.9%0.567%

Trades (full period)

71 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.30%2
2025-12-152026-01-13$475.31$447.20-1.81%20
2025-09-122025-09-15$395.94$410.045.72%2
2025-06-022025-06-03$342.69$344.27-0.72%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.340.96%2
2024-10-032024-10-04$240.66$250.08-1.99%2
2024-09-162024-09-17$226.78$227.87-0.96%2
2024-09-062024-09-09$210.73$216.27-4.84%2
2024-07-112024-07-12$241.03$248.23-4.84%2
2024-07-092024-07-10$262.33$263.261.97%2
2024-07-052024-07-08$251.52$252.941.05%2
2024-07-022024-07-03$231.26$246.397.99%2
2023-07-062023-07-07$276.54$274.43-1.29%2
2023-06-232023-06-26$256.60$241.05-2.58%2
2023-06-212023-06-22$259.46$264.61-4.53%2
2023-06-162023-06-20$260.54$274.451.29%2
2023-06-142023-06-15$256.79$255.90-0.75%2
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2022-09-212022-09-22$300.80$288.59-2.21%2
2022-08-182022-08-19$302.87$296.67-0.32%2
2022-08-162022-08-17$306.56$304.00-0.61%2
2022-08-052022-08-08$288.17$290.42-3.82%2
2022-04-082022-04-11$341.83$325.31-1.79%2
2022-04-052022-04-07$363.75$352.42-5.03%3
2021-10-042021-11-10$260.51$355.9825.39%28
2021-09-282021-10-01$259.19$258.41-1.76%4
2021-09-172021-09-20$253.16$243.390.10%2
2021-09-152021-09-16$251.94$252.331.06%2
2021-09-102021-09-13$245.42$247.67-2.13%2
2021-09-082021-09-09$251.29$251.62-0.06%2
2021-08-132021-08-16$239.06$228.72-0.72%2
2021-08-112021-08-12$235.94$240.75-0.40%2
2021-08-092021-08-10$237.92$236.661.52%2
2021-08-052021-08-06$238.21$233.030.26%2
2019-10-212019-10-22$16.90$17.04-0.86%2
2018-12-132018-12-19$25.12$22.20-4.07%5
2018-02-012018-02-06$23.28$22.26-4.23%4
2017-01-312017-02-02$16.80$16.77-0.60%3
2017-01-242017-01-25$16.97$16.961.67%2
2017-01-202017-01-23$16.32$16.590.16%2
2017-01-182017-01-19$15.89$16.250.78%2
2017-01-132017-01-17$15.85$15.712.68%2
2017-01-112017-01-12$15.32$15.31-0.21%2
2017-01-092017-01-10$15.42$15.320.63%2
2017-01-052017-01-06$15.12$15.27-0.24%2
2016-08-052016-08-08$15.34$15.08-0.36%2
2016-08-032016-08-04$15.05$15.37-0.66%2
2016-08-012016-08-02$15.33$15.15-1.79%2
2016-07-282016-07-29$15.37$15.650.58%2
2016-07-262016-07-27$15.30$15.23-0.33%2
2016-04-122016-04-13$16.52$16.97-0.58%2
2016-04-052016-04-11$17.03$16.660.64%5
2015-06-222015-08-07$17.32$16.17-1.71%34
2015-05-212015-05-22$16.37$16.520.26%2
2015-05-192015-05-20$16.48$16.29-0.68%2
2015-05-152015-05-18$16.59$16.581.39%2
2015-05-132015-05-14$16.21$16.27-0.67%2
2015-05-112015-05-12$15.97$16.320.81%2
2015-04-292015-04-30$15.50$15.070.52%2
2014-08-052014-09-23$15.90$16.694.92%35
2014-06-232014-07-08$15.81$14.60-2.54%11
2013-03-272013-04-02$2.54$2.9612.65%4
2013-02-122013-02-14$2.53$2.55-0.10%3
2012-11-292012-12-14$2.25$2.250.79%12
2012-11-272012-11-28$2.14$2.22-0.46%2
2012-11-232012-11-26$2.14$2.15-1.00%2
2012-02-232012-04-10$2.30$2.160.83%33