Strategies
BNB 4H Rectangle Consolidation Breakout Long-Only (BINANCE USD-M Futures, 4H, OHLCV-Only, Edwards & Magee Box Structure Pattern)
Outcome: Abandoned
BnbFourHourRectangleConsolidationBreakoutLong
Outcome Summary
This strategy aimed to complete a structure-pattern family with an Edwards & Magee rectangle breakout on BNB 4H, buying strong green bars that cleared a multi-tested box ceiling. A prior iteration produced no trades because the box-detection conjunction was too tight for crypto 4H; the iter-2 loosening fixed that, yielding a healthy ~31 trades/year. But the breakout had no edge: profit factor 0.88, Sharpe -0.58, -17.4% total, a 30% win rate, and 21 consecutive losses, with the entire result resting on 2024 and negative in five of seven years. The analyst abandoned it before optimization, concluding that box breakouts on a major mostly fail to follow through, that fees compound the loss, and that no threshold tuning rescues a 30%-win-rate breakout short of switching mechanisms.
Hypothesis
Implementation
Long-only Rectangle (box-consolidation) breakout on BNBUSDT.BINANCE USD-M futures, 4H bars, pure OHLCV single feed. Detects a horizontal box: >=2 swing-highs clustered within 2% (resistance ceiling) and >=2 swing-lows within 2% (support floor), separated by >=3% depth, in an 18-bar window ending before the breakout bar. Enters LONG when a strong green bar (body >= 35% of range) closes above the ceiling by a 0.2% buffer. Exits on a measured-move take-profit (box height, floored at 4%), a 4% stop, a failed-breakout revert below the ceiling, or a 30-bar time stop. The signal is the continuous in-box position (close-low)/(high-low) clamped to [0,2], varying every bar; the rectangle validity + breakout gate the discrete entry. leverage 1.0.
Verification Results
Verification failed (Layer 3 — sandbox backtest): No trades produced Bar type used: BNBUSDT.BINANCE-4-HOUR-LAST-EXTERNAL, Bars processed: 13732 Diagnostics: should_enter() returned a side 0 times over 13708 evaluated bars -> your ENTRY CONDITION never triggered. Loosen the entry logic / thresholds. Ensure your strategy produces trades with the given data and parameters.
Backtest Review
- Sharpe
- -0.58
- Total return
- -17.43%
- Max drawdown
- 31.08%
- Trades
- 198
- Win rate
- 29.8%
- Profit factor
- 0.88
Implemented correctly and trades as specified: 198 rectangle-breakout entries, 0 dropped, all long; ITER-2 loosening produced a healthy ~31/yr sample; genuine structure-pattern mechanism
No edge, net losing: profit_factor 0.875, Sharpe -0.58 (CI -2.45 to 0.95), total_return -17.4%, expectancy -$105.6/trade, win_rate 29.8%, omega 0.89, Sortino -0.98
False breakouts dominate: 30% win rate with max_consecutive_losses 21 — price pokes above the box then reverts (failed-breakout exit takes the loss); measured-move TP rarely completes
Single-year-dependent: negative in 5 of 7 years (2020/2021/2022/2025/2026); only 2024 (+24%) meaningfully positive, with rolling Sharpe to -5 by 2026
Fee-fragile churn: 198 trades cost $8,734 commission + $5,297 impact (5.97% of gross) on a no-edge signal
Outcome Summary
Horizontal rectangle/box-consolidation breakouts on a crypto major do not generate a fee-surviving edge — most pokes above the ceiling revert rather than follow through, producing a false-breakout-dominated, single-year-dependent loser, the same structure-pattern no-edge signature seen across the chart-pattern breakout family.
The analyst abandoned it at backtest review as a refuted premise rather than a bug — the code traded exactly as specified, but false breakouts dominate (a 30% win rate with 21 consecutive losses is the signature of price poking above the box ceiling then reverting into the failed-breakout exit, while the measured-move target rarely completes), and the result hinges on the single 2024 bull year, so tuning would only overfit it and fail the negative 2025/2026 holdout.
A long-only Edwards & Magee rectangle (box-consolidation) breakout on BNBUSDT 4H perpetual futures (pure OHLCV) — detecting a horizontal box (≥2 swing-highs clustered at a resistance ceiling, ≥2 swing-lows at a support floor, ≥3% depth) and entering long on a strong green bar closing above the ceiling with a confirmation buffer, exiting on a measured-move take-profit, a percentage stop, a failed-breakout revert, or a time stop.
Over a 198-trade sample (~31/year, all long, none dropped after the iter-2 loosening) it had no edge: profit factor 0.875, Sharpe -0.58 (CI -2.45 to 0.95), total return -17.4%, expectancy -$105.6/trade, win rate 29.8%, Sortino -0.98, 31.1% max drawdown, max consecutive losses 21; it was negative in 5 of 7 years (only 2024 meaningfully positive at +24%) and fee-fragile ($8,734 commission + $5,297 impact, 5.97% of gross).
Backtest and paper results are hypothetical. Trading involves risk of loss.