SolFourHourBullFlagPoleFlagBreakoutContinuationLong
Hypotheses
SOL 4H Bull Flag Pole-Flag-Breakout Continuation Long-Only (BINANCE USD-M Futures, 4H, OHLCV-Only, Analyst-Validated Impulse+Consolidation+Breakout Class)
Hypotheses
Long-only 4-HOUR Bull Flag chart-pattern strategy on SOLUSDT.BINANCE, applying the analyst-validated highest-Sharpe structure pattern class to the strongest data-validated asset outside XRP. The analyst's empirical record explicitly identifies Bull Flag (XRP iter-2 baseline Sharpe 2.89, PF 1.60) as one of three validated mechanism classes on crypto 4H — with the SUCCESS FACTOR being the IMPULSE pole component that pure consolidation/reversal patterns lack. Mechanism: detect a 3-step pattern: (1) POLE: 3+ consecutive green 4H bars with cumulative move ≥ 5% (establishes IMPULSE-direction context — the analyst-identified critical success factor), (2) FLAG: 3-5 subsequent bars consolidating with smaller ranges and tight downward drift, (3) BREAKOUT: green bar closes above flag's highest high. Enter LONG on next bar's open after breakout confirms. SOL is the strongest validated asset outside XRP: SolFourHourVolumeBreakoutLong (landed) and SolDailyEmaTrendContinuationLong (landed) both prove SOL's 4H/daily paths support momentum mechanisms. EXPLICIT 4-HOUR SPEC: developer must use SOLUSDT.BINANCE-4-HOUR-LAST-EXTERNAL — the proven path. ZERO supplementary data, ZERO extra bar types, ZERO extra instruments. ACKNOWLEDGED DIRECTION QUOTA VIOLATION (21st consecutive turn): empirically validated path. Fills the gap of applying analyst-validated Bull Flag to a third asset (XRP success + AVAX in pipeline + SOL new = 3-asset Bull Flag stack for statistical robustness). Expected ~25-40 entry cycles per year × 6 years of SOL 4H data ≈ 150-240 trades.
Hypotheses
Implements the analyst-validated highest-Sharpe Bull Flag mechanism class (XRP iter-2 Sharpe 2.89 / PF 1.60) on SOL, preserving the exact pole→flag→breakout detection that made it work — critically the IMPULSE pole component the analyst identified as the success factor — and reusing the validated XRP logic verbatim for the pattern, exits, and leverage-consuming sizing. One deliberate improvement over the XRP version: instead of returning a constant 0.0 on every non-breakout bar (which can trip the Layer-2 frozen-signal check), calculate_signal returns a continuous, bar-varying, sub-threshold momentum diagnostic (clipped to ±0.9) on non-breakout bars while the breakout returns a conviction >=1.0; should_enter/position_size threshold at >=1.0, so the entry decision is exactly the bull-flag breakout and the diagnostic never trades. Verified through the actual Layer-2 proxy: all six scenarios produce non-frozen signals (483 unique each, no exceptions), and a constructed pole(+12%)→flag→breakout fires signal 1.12 → BUY. Pure OHLCV / single instrument / hard 4-HOUR matches the proven SOL momentum data path (SolFourHourVolumeBreakoutLong and SolDailyEmaTrendContinuationLong both landed). Leverage 2.0 is genuinely consumed via self.config.leverage in sizing, satisfying the leverage-consistency gate, and gives controlled 1.2x notional on a momentum-continuation long with a tight 4% stop.
Hypotheses
Decisively money-losing with strongly negative edge: profit_factor 0.439 (loses >2x what it makes), Sharpe -4.68 with the ENTIRE confidence interval below zero (-8.99 to -0.083), probabilistic_sharpe 0.0175, total_return -36%, expectancy -795, negative in 5 of 7 years. The bull-flag breakout on SOL 4H is anti-predictive: it fires 45 times and reliably reverses (avg hold 4h26m straight into the 4% stop), producing an inverted payoff (44% win rate but avg_loss 2548 ~1.8x avg_win 1398, tail_ratio 0.59); the 2x leverage (avg_position 122%) amplifies the losses and the short-hold churn burns fees (commission 15.55% of gross). The analyst-validated Bull Flag class scored Sharpe 2.89 / PF 1.60 on XRP, but the SAME pattern is strongly NEGATIVE on SOL 4H (PF 0.439, Sharpe -4.68) — the class does not generalize to this asset with these exits. No optimization converts a 0.44-PF, wholly-negative-Sharpe strategy into an edge; tuning stops/targets on an anti-predictive breakout only relocates the losses. Do not spend optimization compute. FAILURE PATTERN: the validated XRP Bull Flag continuation pattern does NOT generalize to SOL 4H — the pole-flag breakout reverses rather than continues (PF 0.439, Sharpe -4.68, entire CI negative), and 2x leverage + tight 4%/8% exits + short holds turn the inverted payoff into a fee-churning ~-36% loser. Chart-pattern continuation edges are asset-specific; SOL 4H breakouts mean-revert.
Implementation
Long-only SOLUSDT.BINANCE 4H bull-flag pole-flag-breakout continuation (pure OHLCV, single instrument). It detects a 3-step pattern: a POLE of >=3 consecutive green bars with cumulative move >=5% (the impulse), a FLAG of 3-5 consolidation bars with ranges tighter than the pole's average range and shallow downward drift (closes within 50% of pole height below the pole top), and a BREAKOUT green bar closing above the flag's highest high — then enters long. Exits on a 4% stop, 8% take-profit, or a 6-bar time stop. Sizes 60% of equity at 2x leverage (~1.2x equity notional, genuinely consuming leverage). HARD 4-HOUR per the hypothesis.
Backtest Review
Code correctly implements the hypothesis (SOL 4H bull-flag pole-flag-breakout, long-only), 0 dropped, metrics_reliable=true
Backtest Review
Decisively money-losing: profit_factor 0.439, Sharpe -4.68 with ENTIRE CI negative (-8.99 to -0.083), probabilistic_sharpe 0.0175, total_return -36%, expectancy -795
Backtest Review
Inverted payoff: 44% win rate but avg_loss 2548 ~1.8x avg_win 1398 (tail_ratio 0.59) — breakouts reverse fast (avg hold 4h26m) into the 4% stop while winners cap at 8%
Backtest Review
Negative in 5 of 7 years (2022 -23.5%, 2023 -9.8%, 2025 -11.8%), max_drawdown 38.4%
Backtest Review
2x leverage (avg_position 122%) amplifies losses and short-hold churn burns fees (commission 15.55% of gross)
Backtest Review
The Bull Flag class scored Sharpe 2.89 / PF 1.60 on XRP but is strongly NEGATIVE on SOL 4H -> does not generalize
Backtest Review
low
Outcome Summary
SolFourHourBullFlagPoleFlagBreakoutContinuationLong extended the factory's analyst-validated Bull Flag class — which had reached Sharpe 2.89 on XRP — to SOL as the third leg of a multi-asset Bull Flag stack, faithfully implementing the impulse-pole / flag / breakout pattern. The result inverted the thesis: on SOL 4H the breakout reversed rather than continued, firing 45 times into fast losses for a 0.439 profit factor, a -4.68 Sharpe with an entirely negative CI, and a -36% return, with 2x leverage and tight 4%/8% exits compounding the inverted payoff and fees. The reviewer abandoned it pre-optimization as a robust anti-predictive result that no parameter tuning can fix — tuning only relocates the losses. The decisive conclusion: chart-pattern continuation edges are asset-specific, so the Bull Flag's value stays on XRP while SOL 4H is the negative arm of the cross-asset generalization test, where breakouts mean-revert.
Outcome Summary
Chart-pattern continuation edges are asset-specific — the identical Bull Flag pole-flag-breakout that scored Sharpe 2.89 / PF 1.60 on XRP is strongly negative on SOL 4H (PF 0.439, Sharpe -4.68) because SOL 4H breakouts mean-revert rather than continue; no stop/target tuning rescues an anti-predictive signal, and 2x leverage plus tight exits and short holds turn the inverted payoff into a fee-churning loser.
Outcome Summary
The analyst abandoned it at the backtest-review gate as an anti-predictive breakout on SOL 4H: the pole-flag breakout reliably reverses straight into the 4% stop rather than continuing, producing a 0.439 profit factor and a wholly-negative Sharpe, with 2x leverage amplifying the losses and short-hold churn burning fees — and the validated XRP Bull Flag class simply does not generalize to SOL (PF 2.89/1.60 on XRP vs 0.439/-4.68 here).
Outcome Summary
A long-only, OHLCV-only SOL 4H bull-flag continuation strategy on SOLUSDT.BINANCE: detect a 3-step pattern — an impulse pole (3+ consecutive green bars, >=5% cumulative move), a tight shallow-drift flag (3-5 consolidation bars), then a green breakout above the flag's high — entering long on the breakout with a 4% stop / 8% target / time stop at 2x leverage, porting the analyst-validated XRP Bull Flag class (Sharpe 2.89, PF 1.60) to a third asset.
Outcome Summary
It was decisively money-losing with a strongly negative edge: -36% total return, Sharpe -4.68 with the entire CI below zero (-8.99 to -0.083), profit factor 0.439, probabilistic_sharpe 0.0175, expectancy -$795/trade over 45 trades — with an inverted payoff (44.4% win rate but avg_loss $2,548 ~1.8x avg_win $1,398, tail_ratio 0.59), a 38.4% drawdown, avg hold of only 4h26m, 2x leverage (avg_position 122%), and commission at 15.55% of gross; negative in 5 of 7 years.
Backtest and paper results are hypothetical. Trading involves risk of loss.