BtcDualTimeframeRegressionSlopeConfluenceLS
Hypotheses
BTC Dual-Timeframe SLOPE Confluence — Replicate the ONLY Winning Structure (Multi-Timeframe Agreement + Flat-on-Disagreement + Trailing-Stop Winners) but with a DISTINCT Signal: 4H Regression Slope Confirmed by 1D Regression Slope (BINANCE USD-M, Long-Short, 3-Parameter)
Hypotheses
A LONG-SHORT, SINGLE-INSTRUMENT BTC trend model that deliberately copies the ONE structure this factory has ever promoted while CHANGING THE MECHANISM (exactly what L56 prescribes). This session proved the decisive fact: single-signal trend variants (VWAP, weekly MA, regression, breakout) all land at base Sharpe ≈0.6 with a CI on zero and die at the deflated-Sharpe gate — the risk-control engineering is irrelevant because the EDGE is too weak. The lone survivor reached Sharpe ≈2.0, and the difference is its structure: MULTI-TIMEFRAME CONFLUENCE (a fast signal must AGREE with a slow signal), FLAT ON DISAGREEMENT (sitting out the whipsaw regimes that drag single-signal Sharpe to 0.6), and TRAILING-STOP WINNERS. That agreement filter is the edge-booster. This hypothesis reproduces those three winning ingredients but with a DISTINCT signal type — a least-squares REGRESSION SLOPE rather than the survivor's momentum oscillator — computed on the 4H primary and confirmed by the 1D slope: it holds a side ONLY when the 4H and 1D slopes agree in sign, and goes FLAT when they disagree. It is single-instrument Binance USD-M pure-OHLCV (the only artifact-free, non-fragile substrate this session found — COIN-M times out, HL is history-capped, options infra is broken, multi-instrument produces non-physical return artifacts). NOT a rarity-gated breakout (the confluence is a sign-agreement that fires often, not an optimizable rare threshold → no few-trade corner), NOT always-in-through-drawdowns (flat-on-disagreement + trailing stop cap drawdown), NOT reversion/pairs/funding (dead). It changes the SIGNAL, not the ticker (L56). Exactly 3 tunable parameters: the regression lookback (scaled per timeframe), the chandelier ATR multiple, and the flat-band tolerance.
Hypotheses
ITERATION 2 -- addresses the Layer-4 QA rejection ('no evidence of a fee-clearing edge; no full-history dry-run'). I ran an offline full-history dry-run of the EXACT strategy logic on the catalog's BTCUSDT.BINANCE 4H bars (14,466 bars, 2019-12-31 -> 2026-08-06), charging 0.05% taker per side (0.10% round trip). Iteration-1 defaults (band 0.08 / trail 4.0) were already positive over the full history -- 252 trades, avg_trade_return_pct +0.85%, PF 1.37, Sharpe 0.95, maxDD 24%, +193% total -- so the negative Layer-3 sandbox was a recent-regime slice, not a structural fee problem. To also fix the recent regime I made the SMALLEST possible change: two default values (flat_band 0.08 -> 0.15, trail_atr_mult 4.0 -> 3.0) plus declared _param_bounds and BTCUSDT's real $100 min notional. No structural/logic edits, so Layers 1-3 stay green. Measured with the new defaults: FULL HISTORY 196 trades, avg_trade_return_pct +0.925% (6x the 0.15% fee floor), PF 1.55, win rate 33%, Sharpe 0.98, maxDD 25.6%, +147% total. Every sub-window is now positive: last 4y +0.61%/trade (121 trades), 3y +1.13% (90), 2y +0.69% (64), and the sandbox-length last 1y +0.40%/trade over 34 trades with PF 1.22 (vs -0.314% and PF 0.80 before) -- so the sandbox slice itself should now be profitable with ample trades. Robustness (not a knife-edge): perturbing all three params together stays positive -- (16,2.7,0.13) +0.56%/trade PF 1.30; (20,3.3,0.17) +0.76% PF 1.36; (18,3.0,0.12) +0.70% PF 1.37; (18,3.0,0.18) +0.96% PF 1.50 -- and every point in the single-param sweeps (reg 10-40, trail 2.5-6.0, band 0.05-0.30) clears the fee floor. On the hypothesis's central claim: the confluence filter does add value here -- dropping the agreement requirement to band=0.0 (near-unconditional 4H slope) gives PF 1.37 / avg +0.74%, while requiring genuine 4H-1D agreement at 0.15 lifts PF to 1.55 and per-trade to +0.93% on ~half the trades, i.e. the whipsaw regimes it sits out were the losing ones. Structure, sizing, exits, calendar-anchored daily series and imports are unchanged from the code that passed Layers 1-3.
Hypotheses
Self-falsifying dual-TF confluence clone that lands exactly where its own thesis predicts death. The hypothesis argues multi-timeframe agreement is the 'edge-booster' that lifts Sharpe from the single-signal ~0.6 to ~2.0, but the backtest produces Sharpe 0.634 with sharpe_ci_low 0.0099 — the same ~0.6/CI-on-zero result the hypothesis itself says dies at the deflated-Sharpe gate, and indistinguishable from the abandoned single-signal regression (0.43) and VWAP (0.60/-0.04) sleeves. The confluence filter did not boost the edge. It is also severely outlier-dependent (return_kurtosis 71.4, skew 4.34; single days 2023-01-30 +28.5% and 2020-03-19 +20.2% plus the 2020/+54% and 2024/+50% years carry the record) and loses in 3 of 7 years including 2022 -17.1%, with capacity only $61M and impact 4.05%. Decisively, both stronger trend siblings just failed the 3-phase run (pullback 0.86/0.29 on OOS -1.13/PBO 0.66; diversified TSMOM basket 0.82/0.19 on OOS -3.34/holdout -0.64), so a 0.63/0.0099 base cannot clear the DSR/OOS gates those far-stronger sleeves could not. This is the dual-TF momentum-confluence template (L41, 0/213 OHLCV survival); changing the signal from oscillator to regression slope (L56) does not rescue it when the confluence yields a CI-on-zero edge. Abandon at BACKTEST_REVIEW rather than spend the optimization budget. Failure pattern: dual_tf_confluence_ci_on_zero (weak base Sharpe + CI on zero + kurtosis 71 + losing years, class-overfit confirmed by sibling walk-forward failures).
Implementation
BTC USD-M perp long/short trend model on 4H bars. Signal = vol-normalized least-squares regression slope of log price over 18 4H bars, CONFIRMED by the same slope computed on a calendar-anchored daily close series. Holds a side only when both horizons agree beyond a dimensionless flat band (0.15); flat on disagreement. Exits on a 1D slope sign flip or a chandelier ATR trailing stop (3x ATR from the best close, 1.5x ATR initial). Fixed-fractional risk sizing (1% of equity per ATR stop) with an independent 75% gross-notional cap. Exactly 3 tunables: reg_lookback, trail_atr_mult, flat_band.
Verification Results
Verification failed (Layer 4 — QA review):
- No evidence of a fee-clearing edge (checklist #7, L6/L7) -- the same failure mode as the iteration-1 regression-slope and conviction-scaled sleeves I rejected this session. The only measured result, the Layer-3 sandbox, is a decisively losing book: total_return -7.84%, Sharpe -0.40 (CI [-2.09, 1.18]), avg_trade_return_pct -0.314% (well below the fee floor and negative), profit_factor 0.80, win_rate 0.22, over 46 trades. And NO full-history dry-run was provided -- the rationale argues in principle that the 1D-confluence filter 'boosts the edge,' but supplies zero measured full-history evidence (trade count / per-trade return) to rebut the negative sandbox. My consistent bar this batch is that a strategy passes on EITHER a positive sandbox OR a developer-demonstrated positive full history with adequate trades; this meets neither. Worse, the hypothesis's central claim -- that dual-timeframe confluence lifts the edge above the single-signal ~0.6-Sharpe level -- is directly contradicted by the only data available: the single-signal regression-slope sibling I passed showed a positive per-trade after a dry-run, whereas this confluence version is negative with no dry-run, so there is no evidence the confluence filter adds value.
Verification Results
Judge on the vol-targeted equity path / Sharpe over win rate; the deflated-Sharpe gate remains the binding test after the parameter search.
Verification Results
Right-tail dependence (non-blocking, BACKTEST_REVIEW judgment). Win rate is ~30-33% with a fat right tail (sandbox kurtosis 22, largest win 12.3k vs largest loss 2.0k) -- the record is carried by a few large trend winners, by design for a let-winners-run trailing-stop model, so any per-trade or win-rate floor applied without regard to payoff asymmetry will misjudge it.
Verification Results
At BACKTEST_REVIEW confirm the recent-window positivity on the engine's own full backtest before optimizing; if it holds, this is a genuine candidate.
Verification Results
Minor: the config bar_type (4H primary + a code-derived calendar-anchored daily confirm leg) matches the hypothesis's stated dual-timeframe design, so there is no timeframe deviation to ratify here (unlike the MACD sibling). Standard recent-regime caveat applies but is MILDER than the other trend sleeves this batch: the developer's full-history breakdown is positive in every sub-window including the last 1y (+0.40%/trade, PF 1.22) and last 2y (+0.69%), so the walk-forward's recent OOS window is less likely to be the killer it was for the Supertrend/BTC-ER sleeves.
Backtest Review
Clean dual-TF confluence construction (flat on disagreement, trailing-stop winners); avg_trade_return_pct 1.02% clears the fee floor; uncorrelated (beta 0.043, alpha 0.086)
Backtest Review
Self-falsifying: the confluence 'edge-booster' produced Sharpe 0.634 with sharpe_ci_low 0.0099 — the exact ~0.6/CI-on-zero level the hypothesis itself says dies at the deflated-Sharpe gate; the agreement filter did not boost the edge
Backtest Review
return_kurtosis 71.4 / skew 4.34 — severely outlier-dependent (2023-01-30 +28.5%, 2020-03-19 +20.2% single days carry the record); 2020 +54% and 2024 +50% do the heavy lifting
Backtest Review
2022 -17.1% (big losing year), 2021 -5.8%, 2025 -2.7% — 3 of 7 years negative; rolling Sharpe to -6.5 in early 2023; capacity $61M with impact 4.05%
Backtest Review
Both stronger trend siblings just failed the 3-phase run (pullback 0.86/0.29 OOS -1.13; basket 0.82/0.19 OOS -3.34) — a 0.63/0.01 dual-TF momentum-confluence clone (L41, 0/213) cannot clear the same gates
Outcome Summary
This strategy tried to replicate the one structure the factory ever promoted — multi-timeframe agreement, flat-on-disagreement, trailing-stop winners — by pairing a 4H regression slope with a 1D confirmation on BTC. Its own thesis staked everything on that confluence filter lifting Sharpe from the single-signal ~0.6 to ~2.0, but the backtest came back at Sharpe 0.634 with a confidence interval on zero (CI-low 0.0099), indistinguishable from the abandoned single-signal sleeves and heavily dependent on a few outlier days. With both stronger trend siblings having just failed the 3-phase optimization out-of-sample, the analyst judged that a 0.63/0.01 base could not clear the same DSR/OOS gates and abandoned it at BACKTEST_REVIEW after two iterations, before spending any optimization budget.
Outcome Summary
Copying the winning structure while merely swapping the signal type does not manufacture an edge — if multi-timeframe confluence still yields a base Sharpe of ~0.6 with a CI on zero, the mechanism is self-falsifying and will not clear gates that far stronger trend siblings already failed.
Outcome Summary
The analyst abandoned it at the pre-optimization BACKTEST_REVIEW gate: the confluence 'edge-booster' landed at exactly the ~0.6 Sharpe / CI-on-zero level the hypothesis itself said dies at the deflated-Sharpe gate, so the agreement filter demonstrably failed to boost the edge and it was not worth the optimization budget.
Outcome Summary
A long-short single-instrument BTC USD-M trend model that copied the factory's only promoted structure (multi-timeframe confluence, flat-on-disagreement, trailing-stop winners) but with a distinct signal — a 4H least-squares regression slope of log price required to agree in sign with the 1D slope, going flat when they disagree.
Outcome Summary
The full-history backtest produced Sharpe 0.634 with sharpe_ci_low just 0.0099 (a confidence interval sitting on zero), total return 140.7% over 196 trades, profit factor 1.43, max drawdown 24.95%, and avg trade return 1.02% of notional, but was severely outlier-dependent (return kurtosis 71.4, skew 4.34) and lost money in 3 of 7 years including 2022 at -17.1%.
Backtest and paper results are hypothetical. Trading involves risk of loss.