OPEN-SOURCE SCRIPT

SOXL Trend Surge v3.0.2 – Profit-Only Runner

314
SOXL Trend Surge v3.0.2 – Profit-Only Runner
This is a trend-following strategy built for leveraged ETFs like SOXL, designed to ride high-momentum waves with minimal interference. Unlike most short-term scalping scripts, this model allows trades to develop over multiple days to even several months, capitalizing on the full power of extended directional moves — all without using a stop-loss.

🔍 How It Works
Entry Logic:

Price is above the 200 EMA (long-term trend confirmation)

Supertrend is bullish (momentum confirmation)

ATR is rising (volatility expansion)

Volume is above its 20-bar average (liquidity filter)

Price is outside a small buffer zone from the 200 EMA (to avoid whipsaws)

Trades are restricted to market hours only (9 AM to 2 PM EST)

Cooldown of 15 bars after each exit to prevent overtrading

Exit Strategy:

Takes partial profit at +2× ATR if held for at least 2 bars

Rides the remaining position with a trailing stop at 1.5× ATR

No hard stop-loss — giving space for volatile pullbacks

⚙️ Strategy Settings
Initial Capital: $500

Risk per Trade: 100% of equity (fully allocated per entry)

Commission: 0.1%

Slippage: 1 tick

Recalculate after order is filled

Fill orders on bar close

Timeframe Optimized For: 45-minute chart

These parameters simulate an aggressive, high-volatility trading model meant for forward-testing compounding potential under realistic trading costs.

✅ What Makes This Unique
No stop-loss = fewer premature exits

Partial profit-taking helps lock in early wins

Trailing logic gives room to ride large multi-week moves

Uses strict filters (volume, ATR, EMA bias) to enter only during high-probability windows

Ideal for leveraged ETF swing or position traders looking to hold longer than the typical intraday or 2–3 day strategies

⚠️ Important Note
This is a high-risk, high-reward strategy meant for educational and testing purposes. Without a stop-loss, trades can experience deep drawdowns that may take weeks or even months to recover. Always test thoroughly and adjust position sizing to suit your risk tolerance. Past results do not guarantee future returns. Backtest range: May 8, 2020 – May 23, 2025

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.