Lab · ML Experiments

ML — Pattern Discovery

Inverted workflow: find conditional edges in BTC data first, build strategies second.
55 experiments

Divergence scan v3 — multi-TF + confirmation-delay + extended horizons

Dropped
2026-05-25 divergencersivolumepattern_scanv3multi_tfconfirmation_delayliterature_calibrated
Hypothesis
v1+v2 testeten nur 1h/4h, k=5/10/20, und feuerten direkt bei pivot+k. v3 erweitert auf 6 TFs (5m bis 1D), 4 Confirmation-Delays (0/3/10/30 Bars nach pivot+k), und literatur-kalibrierte Horizonte (1h/5h/1d/5d äquivalent). Hypothese: Falls Divergenzen wirklich predictive sind, sollte einer der (TF, delay, horizon) Punkte einen statistisch belastbaren Edge zeigen — irgendwo zwischen 'sofort nach Pivot' und '30 Bars später', irgendwo zwischen 5m und 1D, irgendwo zwischen kurzfristig und 5d. Findet sich auch hier nichts, ist der Befund parameter-robust dreifach abgesichert.
Verdict
**DROP** — über 768 Cells (6 TFs × 4 delays × 4 horizons × 8 patterns) erreicht der beste Pattern nur +1990.5 bps signed mean mit p=0.314. 1/768 Cells haben mean_p < 10% (Rauschen-Erwartung: 76). v1+v2+v3 zusammen = 928 Cells walk-forward getestet, keine zeigt belastbaren Edge. Divergenzen als standalone Signal endgültig widerlegt.
total_cells
768
best_p_value
+0.3143
best_pattern
reg_bull_rsi @ 1D/60d d=10
best_signed_bps
1,990.48
best_total_signals
8
cells_with_p_under_5pct
0
cells_with_p_under_10pct
1
best_windows_under_5pct_p
2
cells_with_signed_gt_25bps
136

Divergence scan v3 — multi-TF + confirmation-delay + extended horizons

2026-05-25 · status: dropped · 41.9s

Hypothesis: v1+v2 testeten nur 1h/4h, k=5/10/20, und feuerten direkt bei pivot+k. v3 erweitert auf 6 TFs (5m bis 1D), 4 Confirmation-Delays (0/3/10/30 Bars nach pivot+k), und literatur-kalibrierte Horizonte (1h/5h/1d/5d äquivalent). Hypothese: Falls Divergenzen wirklich predictive sind, sollte einer der (TF, delay, horizon) Punkte einen statistisch belastbaren Edge zeigen — irgendwo zwischen 'sofort nach Pivot' und '30 Bars später', irgendwo zwischen 5m und 1D, irgendwo zwischen kurzfristig und 5d. Findet sich auch hier nichts, ist der Befund parameter-robust dreifach abgesichert.

Verdict: DROP — über 768 Cells (6 TFs × 4 delays × 4 horizons × 8 patterns) erreicht der beste Pattern nur +1990.5 bps signed mean mit p=0.314. 1/768 Cells haben mean_p < 10% (Rauschen-Erwartung: 76). v1+v2+v3 zusammen = 928 Cells walk-forward getestet, keine zeigt belastbaren Edge. Divergenzen als standalone Signal endgültig widerlegt.

Key metrics

metric value
best_pattern reg_bull_rsi @ 1D/60d d=10
best_signed_bps 1,990.48
best_p_value +0.3143
best_total_signals 8
best_windows_under_5pct_p 2
total_cells 768
cells_with_p_under_10pct 1
cells_with_p_under_5pct 0
cells_with_signed_gt_25bps 136

Approach

Grid sweep over the three remaining methodological axes:

  • Timeframes: 5m, 15m, 30m, 1h, 4h, 1D
  • Confirmation delay (bars after pivot+k before signal fires): [0, 3, 10, 30]
  • Forecast horizons: kalibriert je TF auf ~1h/5h/1d/5d Echtzeit-Distanzen

Fixed: pivot_k=10, max_lookback=50, vol_window=10 (rolling causal mean). Walk-forward 12mo/3mo, embargo = max(24h, horizon+1 Bar). 200 Mask-Permutations je Cell.

Cells: 8 patterns × 6 TF × 4 delays × 4 horizons = 768 evaluations.

Per-timeframe scan

TF 5m (669,890 bars · 21 WF windows · embargo 120.1h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=2443, reg_bull_rsi=2182, hid_bear_rsi=2214, hid_bull_rsi=2393, reg_bear_vol=4264, reg_bull_vol=3690, hid_bear_vol=3543, hid_bull_vol=3460

TF 15m (223,298 bars · 21 WF windows · embargo 120.2h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=782, reg_bull_rsi=731, hid_bear_rsi=735, hid_bull_rsi=795, reg_bear_vol=1313, reg_bull_vol=1126, hid_bear_vol=1175, hid_bull_vol=1169

TF 30m (111,650 bars · 21 WF windows · embargo 120.5h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=411, reg_bull_rsi=411, hid_bear_rsi=359, hid_bull_rsi=396, reg_bear_vol=717, reg_bull_vol=597, hid_bear_vol=618, hid_bull_vol=626

TF 1h (55,826 bars · 21 WF windows · embargo 121.0h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=243, reg_bull_rsi=198, hid_bear_rsi=166, hid_bull_rsi=191, reg_bear_vol=365, reg_bull_vol=289, hid_bear_vol=318, hid_bull_vol=309

TF 4h (13,958 bars · 21 WF windows · embargo 364.0h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=64, reg_bull_rsi=47, hid_bear_rsi=43, hid_bull_rsi=46, reg_bear_vol=94, reg_bull_vol=82, hid_bear_vol=73, hid_bull_vol=88

TF 1D (2,328 bars · 20 WF windows · embargo 1464.0h)

Signal counts (k=10, max_lookback=50, vol_window=10): reg_bear_rsi=9, reg_bull_rsi=8, hid_bear_rsi=3, hid_bull_rsi=7, reg_bear_vol=15, reg_bull_vol=14, hid_bear_vol=14, hid_bull_vol=8

Top 20 cells across full grid (by signed mean)

timeframe horizon delay pattern direction n_windows total_signals mean_signed_bps mean_p_value p_under_5pct
1D 60d 10 reg_bull_rsi long 7 8 1990.48 0.314 2
1D 60d 30 reg_bull_rsi long 7 8 1838.87 0.436 0
1D 60d 3 reg_bull_vol long 10 13 1795.31 0.39 0
1D 60d 0 reg_bull_vol long 10 13 1594.87 0.459 0
1D 60d 3 reg_bull_rsi long 7 8 1388.45 0.441 1
1D 60d 10 reg_bull_vol long 10 13 1326.37 0.582 0
1D 60d 30 reg_bear_rsi short 6 8 1112.63 0.373 0
1D 60d 0 reg_bull_rsi long 7 8 1099.64 0.441 0
1D 60d 30 reg_bull_vol long 10 13 906.19 0.564 0
1D 15d 3 reg_bull_vol long 10 13 560.96 0.406 1
1D 15d 30 reg_bull_rsi long 7 8 556.97 0.506 0
1D 15d 0 reg_bull_vol long 10 13 522.92 0.438 0
1D 60d 0 hid_bull_vol long 4 5 504.63 0.395 1
1D 5d 3 reg_bull_vol long 10 13 489.8 0.31 0
1D 60d 30 reg_bear_vol short 12 13 481.86 0.404 0
1D 5d 30 hid_bull_rsi long 4 5 478.63 0.246 1
1D 60d 0 hid_bear_vol short 10 12 463.48 0.544 0
1D 1d 30 hid_bull_rsi long 4 5 396.47 0.059 2
1D 5d 30 hid_bull_vol long 4 6 392.36 0.294 1
4h 15d 0 reg_bear_rsi short 19 44 372.67 0.343 1

Full grid in results_full.csv.

Best cell per timeframe

timeframe horizon delay pattern mean_signed_bps mean_p_value total_signals p_under_5pct
15m 5d 3 hid_bull_rsi 84.3 0.402 647 3
1D 60d 10 reg_bull_rsi 1990.48 0.314 8 2
1h 5d 30 hid_bull_rsi 78.13 0.437 149 1
30m 5d 10 reg_bull_rsi 70.29 0.383 363 4
4h 15d 0 reg_bear_rsi 372.67 0.343 44 1
5m 5d 30 hid_bull_rsi 25.28 0.465 1941 2

Confirmation delay sensitivity

delay n_cells mean_signed_bps median_signed_bps cells_p_lt_10pct cells_signed_gt_25bps
0 192 -7.37 1.07 0 43
3 192 -31.68 -0.22 0 33
10 192 -39.51 -1.1 0 25
30 192 2.75 0.27 1 35

Heatmap TF x delay