Bitcoin SuperFlip | Supertrend EMA Trend-Following Strategy by blitz_locked

By blitz_locked

Performance Metrics

Description

SuperFlip combines two of the most widely tested trend-following tools on TradingView — the ATR-based Supertrend and a long-period EMA trend filter — into a single directional strategy built and tuned for BTCUSD on the 1-hour chart. The goal isn't novelty; it's a clean, well-understood core (Supertrend flips) layered with a simple confirmation filter (EMA200) and an optional secondary filter (ADX) to reduce whipsaw entries during choppy, low-conviction conditions.This is a trend-following, not mean-reversion system. It will have a lower win rate than a typical scalping strategy, and that is by design — trend systems make their money from a smaller number of large winning trades that outweigh a higher frequency of small losses.How it worksSupertrend (ATR-based) tracks the prevailing trend direction and flips when price crosses its dynamic ATR band. This flip is the core trigger for both entries and exits.EMA200 trend filter only allows longs when price is above the 200-period EMA, and shorts when price is below it — filtering out counter-trend signals that go against the higher-timeframe bias.Optional ADX filter (off by default) adds a trend-strength gate, only allowing entries when ADX is above a user-set threshold (default 20). This is intended to reduce entries during flat, directionless conditions where Supertrend tends to whipsaw.Flip-based exits: positions close automatically when Supertrend flips in the opposite direction — this is the primary exit mechanism.Optional Stop Loss / Take Profit: percentage-based SL/TP can be layered on top of the flip exit as a secondary risk cap (off by default in the current preset — see warnings below).FeaturesToggleable ADX trend-strength filter with adjustable length, smoothing, and thresholdOptional percentage-based stop loss and take profitAdjustable Supertrend ATR length/factor and EMA filter lengthVisual glow-line Supertrend rendering with layered gradient fill toward priceBullish/bearish flip markers, separate from actual trade-entry markers, so you can see when Supertrend flips vs. when a trade was actually filtered/takenMultiple color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom)Optional bar and background tinting for at-a-glance trend stateCommission (0.075%) and slippage (1 tick) modeled into backtest results by defaultRecommendationsBuilt and tested for BTCUSD, 1H timeframe — this is the intended use case; other assets/timeframes will require re-tuning.Position sizing defaults to 25% of equity per trade rather than 100% — this materially reduces drawdown and PnL volatility versus full-equity compounding, and is a more realistic starting point for evaluation.If enabling the ADX filter, start around threshold 15-20 and sweep from there — lower values retain more trades at the cost of some whipsaw protection, higher values do the opposite.Consider re-enabling a wider stop loss (8-10%+) rather than running with SL fully disabled, especially before using on a leveraged instrument.Always forward-test or paper-trade before committing real capital — historical performance on a fixed backtest window is not a guarantee of future results.WarningsNo stop loss is enabled by default in this configuration. Running without a stop loss on a leveraged or volatile asset like BTC carries real, uncapped downside risk per trade — enable and size a stop loss appropriate to your risk tolerance before live use.With low trade counts (roughly 50-100 in typical backtests), a small number of outlier trades can heavily influence headline profit factor and total return figures — inspect the individual trade list, not just summary stats, before trusting the numbers.High reported PnL% figures are sensitive to default_qty_value (percent-of-equity compounding) and can look far more impressive than the underlying edge actually is. Judge the strategy primarily by win rate, profit factor, and drawdown — not raw percentage return.Past performance on historical data does not predict future results. This script is provided for educational and research purposes and is not financial advice.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView