Strategies
XRP 4H Chandelier Exit Trend-Following Long (22, 3.0)
Outcome: Abandoned
XrpFourHourChandelierExitTrendFollowingLong
Outcome Summary
Hypothesis
Iteration 2 fix for the Layer-2 frozen-signal failure. Root cause: the proxy returned (close - ref)/atr clipped to [-1, 1]; in a steady trend the close holds a roughly fixed ATR-distance beyond the trailing stop, so it saturated at exactly +1.0 (uptrend) / -1.0 (downtrend) on all 477 bars. The smallest fix removes the clip (there is no [-1,1] requirement on calculate_signal) and adds a close/ATR level term scaled by direction, which strictly increases in an uptrend (rising close, ~constant ATR) and strictly decreases in a downtrend, guaranteeing the signal varies every bar even in a perfectly linear synthetic trend. Only the return expression in calculate_signal changed; the Chandelier state machine, should_enter/should_exit (which read the discrete _dir, not the signal), position_size, imports, and config are untouched, so Layer-1 static and the already-passing trend logic remain intact and trading behavior is unchanged.
Implementation
Long-only single-instrument Tier-1 path-dependent trend-follower on XRPUSDT.BINANCE USD-M futures 4H bars, OHLCV-only, using Chuck LeBeau's Chandelier Exit (lookback=22, ATR multiplier=3.0). It maintains a discrete trend state from a ratcheting ATR trailing stop: long_stop = highest_high(22) - 3*ATR (ratchets up), short_stop = lowest_low(22) + 3*ATR (ratchets down); the trend flips UP when close crosses above the prior short_stop and DOWN when close crosses below the prior long_stop. It holds long while the trend is up and exits the moment it flips down, re-entering on the next up-flip. Position size risks 1.5% of equity over the distance to the long_stop (capped at 18% notional). calculate_signal returns a continuous, bar-varying ATR-normalized proxy; entry/exit read the stored discrete trend direction.
Verification Results
Verification failed (Layer 2 — synthetic scenarios): Parameters used: ['atr_mult', 'lookback', 'risk_pct', 'atr_period', 'min_notional', 'min_stop_pct', 'per_trade_pct'] Check that __init__ sets all attributes from self.parameters.get(). - steady_uptrend: Frozen signal: all 477 signals are identical (value=1.0). calculate_signal() likely has a bug — the signal never varies. - steady_downtrend: Frozen signal: all 477 signals are identical (value=-1.0). calculate_signal() likely has a bug — the signal never varies.
Backtest Review
- Sharpe
- 0.42
- Total return
- 77.97%
- Max drawdown
- 21.60%
- Trades
- 555
- Win rate
- 34.8%
- Profit factor
- 1.18
Correct trend payoff: win_rate 0.348 with avg_win $1,765 vs avg_loss $797 (2.2x); PF 1.18, total_return +78%, max_dd 21.6%; ample sample (555 trades)
Validated Tier-1 path-dependent ATR mechanism class (Supertrend sibling approved this session); positive in 4 of 7 years (2020/2021/2023/2024)
Extreme fat-tail dependence: return_kurtosis 94.55, skew 8.19 -- headline carried by a handful of huge XRP-pump wins; DSR will heavily discount this
Sharpe 0.42 with sharpe_ci_low -0.42 (CI straddles 0) -- weak, not yet significant; primary DSR-fail risk after selection
Recent decay: 2025 -5.2%, 2026 -4.7% (rolling Sharpe deeply negative) -- opposite of the approved Supertrend's positive 2025/2026, undercutting the hypothesis's own rationale
~0.5+ (pre-opt)
~62 WF floor
4 of 7
majority-ish
moderate (<~10)
2.2x (avg_win/avg_loss)
> 1 for trend
Analysis
Sensitivity PASSED (1 cliff on atr_mult); optimizer lifted PF to 1.40 and cut impact to 3.7%; positive in 4 of 7 years in the optimized run
Functioning Tier-1 trend mechanism (Chandelier), market-neutral-ish beta 0.10
Fails deflated Sharpe decisively: DSR 0.01 (<<0.95), is_significant FALSE; optimized Sharpe 0.53 BELOW the expected-max luck bar 1.30 over 225 trials; PBO 0.5728; sharpe_ci_low -0.36 (straddles 0)
Holdout FAILED catastrophically: holdout_sharpe -1.382, ratio -5.469 -- the recent window loses money badly
Walk-forward is_overfitted TRUE (avg IS 0.568 -> avg OOS 0.253, one window -0.81); return_kurtosis 292 (UP from 94) -- the edge is even more carried by a few huge XRP-pump days
Recent decay: 2025 -12.0%, 2026 -2.8%, rolling Sharpe ~-6 to -7 through 2026
> 1.30 (expected-max)
Outcome Summary
A single-asset long-only trend-follower whose headline is carried by a few fat-tail pump days (kurtosis ~300) fails deflated Sharpe (0.01, below the luck bar) with a deeply negative holdout (−1.38) and is overfitted — the fourth weak-trend/momentum strategy this run (after DOT, the SOL pivot, ADA momentum) to optimize to a ~0.5–1.2 Sharpe then fail DSR + holdout — so a high raw return with a zero-straddling CI is outlier luck, not a deflatable edge, and passing sensitivity doesn't rescue a failed forward holdout.
The backtest-review gate passed it to optimization ('optimize'), but the analyst abandoned it post-optimization: the optimized Sharpe 0.53 sat below the expected-max luck bar of 1.30 over 225 trials (DSR 0.01, is_significant=false), the once-tested holdout failed catastrophically (−1.382), and the walk-forward was overfitted — with the root cause being fat-tail dependence the optimizer worsened (kurtosis 94→292), so the +95% optimized headline is carried by a handful of huge XRP-pump days that DSR correctly discounts, on a decaying edge.
A long-only, OHLCV-only Tier-1 path-dependent trend-follower on XRPUSDT.BINANCE 4H — Chuck LeBeau's Chandelier Exit (lookback 22, ATR multiplier 3.0): a ratcheting ATR trailing stop anchored to the rolling N-bar extreme that flips trend state discretely, holding long while the trend is up and exiting the moment it flips down — deliberately staying in the session's approved Tier-1 mechanism class (alongside the promoted Supertrend) for chop-filtering.
The raw backtest showed a correct trend payoff — 555 trades, win_rate 0.348 but avg_win $1,765 vs avg_loss $797 (2.2×), profit_factor 1.18, total_return +78%, max drawdown 21.6%, positive in 4 of 7 years — but with extreme fat-tail dependence (return_kurtosis 94.55, skew 8.19) and a weak Sharpe 0.42 (CI straddling zero, −0.42 to 1.07). Optimization lifted PF to 1.40 and cut impact to 3.7%, but every decisive gate failed: DSR 0.01, optimized Sharpe 0.53 below the 1.30 luck bar, PBO 0.5728, holdout Sharpe −1.382 (ratio −5.469), walk-forward is_overfitted=TRUE (IS 0.568 → OOS 0.253), and kurtosis rose to 292 with 2025 −12.0% / 2026 −2.8%.
Backtest and paper results are hypothetical. Trading involves risk of loss.