OPEN-SOURCE SCRIPT

ETH Momentum Breakout Strategy [geektrade.online]

1 397
ETH Momentum Breakout Strategy

A volatility-squeeze momentum breakout strategy designed for major crypto tokens (ETH, BTC, SOL, etc.) on 1H to 8H timeframes. Detects compressed volatility, waits for explosive directional breakouts confirmed by volume and momentum, then rides the trend with adaptive risk management.

Core philosophy: take fewer, higher-conviction trades and let them ride. Averages ~12 trades/year on 2H with 65% win rate and 2.4:1 win/loss ratio.

═══════════════════════════════════════
HOW IT WORKS — ENTRY
═══════════════════════════════════════

A trade triggers when ALL conditions align:

1. VOLATILITY SQUEEZE (TMM Squeeze)
Bollinger Bands (20-period, 2.0x StdDev) compress inside Keltner Channels (20-period, 1.5x ATR). Squeeze must last at least 3 bars. Breakout must occur within 6 bars of squeeze release.

2. BREAKOUT CONFIRMATION
Price breaks above upper BB + 0.3x ATR margin (longs) or below lower BB - margin (shorts). Candle body must be ≥40% of range — ensures conviction, not just a wick.

3. MOMENTUM CONFIRMATION
Linear regression of price deviation from 12-period SMA must be positive and accelerating (longs). Confirms the breakout has directional force.

4. VOLUME SPIKE
Volume must exceed 1.8x its 20-period SMA. Ensures real institutional money is behind the move.

5. RSI EXTREME FILTER
RSI(14) must be below 75 for longs, above 25 for shorts. Prevents entries at overbought/oversold extremes.

6. REGIME FILTER (Daily)
• EMA Distance: Price within 35% of 200-EMA on daily. Blocks parabolic tops and capitulation crashes.
• Volatility Regime: ATR between 0.3x and 1.5x the 100-period average. Blocks dead markets and panics.

7. COOLDOWN
12-bar wait after each exit. Prevents revenge trading.

═══════════════════════════════════════
ADAPTIVE REGIME (ML-Lite Decision Tree)
═══════════════════════════════════════

At entry, the market is classified into HOT / NORMAL / COLD and locked for the trade's duration:

HOT (Vol Rank >60th pctl AND Trend Score >1.5 ATR):
→ TP, SL, Trail scaled by 1.35x (wider targets)
→ Stagnation timeout: 15 bars, 0.3 ATR threshold

NORMAL (everything else):
→ Default parameters
→ Stagnation timeout: 10 bars

COLD (Vol Rank <30th pctl OR Trend Score <0.5 ATR):
→ TP, SL, Trail scaled by 0.75x (tighter targets)
→ Stagnation timeout: 7 bars

Same entry signal gets aggressive management in trends, defensive in chop.

═══════════════════════════════════════
HOW IT WORKS — EXIT
═══════════════════════════════════════

Five independent exit mechanisms:

1. TAKE PROFIT (TP2)
Full position exits at 3.5x ATR (scaled by regime: 4.7 in hot, 2.6 in cold).

2. ATR TRAILING STOP
2.5x ATR trailing stop (scaled by regime). Only ratchets in favorable direction.

3. BREAKEVEN STOP
After 1.2x ATR favorable move, stop moves to entry + 0.2 ATR. Trade becomes risk-free.

4. STAGNATION EXIT
If trade hasn't moved 0.5x ATR after regime-dependent bars (hot:15, normal:10, cold:7), it's cut. These trades have 8% win rate — they rarely recover.

5. TIMEOUT
100 bars max (~8 days on 2H). Safety net for stuck trades.

═══════════════════════════════════════
OPTIONAL MODULES (off by default)
═══════════════════════════════════════

• Partial Take-Profit: Exit portion at TP1 (1.5x ATR), let rest ride. Reduces variance but caps big winners.
• Runner Mode: After partial TP, removes TP2 ceiling — rides trail indefinitely. Requires Partial TP on.
• HTF Trend Filter: Requires price above/below higher-TF EMA with slope. Additional trend confirmation.
• Crypto Fundamentals: Filters via IntoTheBlock on-chain data (active addresses, large tx count, sentiment).
• Session Filter: Restrict trading to specific hours.

═══════════════════════════════════════
SUGGESTED SETTINGS
═══════════════════════════════════════

TARGET: 1H to 8H timeframes, major tokens (ETH, BTC, SOL, AVAX, LINK, etc.)

▸ 2H (Recommended — Best Tested)
Direction: Long Only
Commission: 0.1%
BB/KC Length: 20/20, KC Mult: 1.5
Min Squeeze Duration: 3 bars (6h)
Volume Spike: 1.8x
Stop Loss: 2.0x ATR
TP2: 3.5x ATR
Trail: 2.5x ATR
BE Threshold: 1.2x ATR
Cooldown: 12 bars (24h)
Stagnation: 10 bars (20h)
Max Vol Ratio: 1.5x
Adaptive Regime: ON
Partial TP: OFF

▸ 1H (Faster, more trades)
Min Squeeze Duration: 5-6 bars
Cooldown: 20-24 bars
Stagnation: 18-20 bars
Max Bars In Trade: 200
Vol Spike: 2.0x

▸ 4H (Slower, higher conviction)
Min Squeeze Duration: 2 bars
Cooldown: 6 bars
Stagnation: 5-6 bars
Max Bars: 50
Stop Loss: 1.8x ATR

▸ 8H (Swing trading)
Min Squeeze Duration: 2 bars
Cooldown: 3 bars
Stagnation: 3 bars
Max Bars: 25
TP2: 4.0-4.5x ATR
Trail: 3.0x ATR

═══════════════════════════════════════
APPLYING TO OTHER TOKENS
═══════════════════════════════════════

• Change symbol to Bybit perpetual (BYBIT:BTCUSDT.P, BYBIT:SOLUSDT.P)
• Update IntoTheBlock tickers if using fundamentals (INTOTHEBLOCK:BTC_ACTIVEADDRESSES)
• Smaller-cap tokens: higher Vol Spike (2.0-2.5x), tighter Max Vol Ratio (1.2-1.3x)
• BTC: same parameters work well
• SOL and others: consider wider SL (2.5x ATR) for higher intraday volatility

═══════════════════════════════════════
PERFORMANCE (2H ETH, Oct 2020–Feb 2026)
═══════════════════════════════════════

Net Profit: ~$29,700 on $10,000 (197%)
CAGR: ~29%
Profit Factor: 3.08
Win Rate: 56% (wins 2.4x larger than losses)
Max Drawdown: ~$4,200 (14% of peak)
Return / Max DD: 7.1x
~12 trades/year
Profitable 6 of 7 years (only 2022 bear negative)

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.