r/algotradingcrypto • • 18h ago

We simulated 224 Supertrend (10, 3) flips on BTC & ETH over 12 months. Here is what actually happened.

2 Upvotes

Every YouTube trading channel has a video claiming the Supertrend is an "infinite money glitch" on crypto.

We wanted to see what happens when you strip out the curve-fitting and run the classic Supertrend (10, 3) on 1-hour bars across a full 12-month window with realistic fees and conservative stop execution.

Here is the exact setup and the verified simulation numbers.

---

The Setup ("Alla Scrumptious")

* Indicator: Supertrend (ATR Period: 10, Multiplier: 3.0)

* Timeframe: 1-Hour (1H) bars

* Test Window: Oct 1, 2025 – Sep 30, 2026 (12 months)

* Entry: Long on the close of the bar where Supertrend flips from Red to Green.

* Exit Rules:

* Stop Loss: 2.5%

* Take Profit: 5.0% (1:2 Risk-to-Reward)

* Time Stop: 30 bars max hold (exits at market close if neither TP nor SL is hit)

* Realism & Friction Model:

* Crypto Fee: 0.10% per trade (round-trip friction)

* Equity Fee: 0.05%

* Conservative Intra-Bar Ordering: If both SL and TP price levels are touched within the same bar, SL is evaluated first.

---

The Results [SIM]

| Asset | Timeframe | Closed Setups | Win Rate | Profit Factor | Net Move % | Max Drawdown |

| :--- | :--- | :--- | :--- | :--- | :--- | :--- |

| BTCUSDT | 1H | 112 | 44.6% | 0.96 | -6.9% | -27.0% |

| ETHUSDT | 1H | 112 | 41.1% | 0.95 | -10.0% | -27.8% |

| SPY (Control) | 1H | 28 | 46.4% | 0.66 | -8.8% | -13.5% |

| AAPL (Control) | 1H | 24 | 58.3% | 1.91 | +18.4% | -11.5% |

---

Key Takeaways

  1. Crypto Chop Kills Trend-Following Flips: Across 224 total setups on BTC and ETH, the strategy lost money (Profit Factor < 1.0 on both) and suffered brutal ~27% drawdowns.
  2. Lag Into Exhaustion: Because the Supertrend requires a 3× ATR move before flipping green, the entry often fires after a massive expansion candle — right into local liquidity exhaustion, triggering the 2.5% stop on the subsequent pullback.
  3. Equities Behave Differently: On an individual trending equity (AAPL), the same parameters produced a 58.3% win rate and a 1.91 profit factor (+18.4% net move). Strong institutional momentum trends follow through; crypto mean-reversion ranges chop it to pieces.

If you trade Supertrend flips on crypto, you need a regime filter (e.g. ADX > 25 or higher-timeframe EMA alignment) before taking raw signals.

What rules or filters do you use to stop indicator flip whipsaws?

Edits: Ran the experiment on a completely fresh, out-of-sample year (calendar 2024 on Binance 1H klines) and benchmarked against 300 Monte Carlo random-entry runs with the exact same exits (2.5% SL, 5% TP, 30h max hold, 0.10% fees, SL evaluated first).

Here’s what happened:

  1. Raw Flips vs Random Entries:
  • BTCUSDT Raw Flips: 96 setups, 43.8% WR, 0.81 PF, -21.3% net move, -30.5% MaxDD.
  • BTCUSDT Random Entry Baseline: ~98 setups, 47.3% WR, 1.06 PF, -21.9% MaxDD.

Raw flips literally underperformed random entries. Buying a 3× ATR expansion candle into resistance consistently gets penalized by the stop.

2. Testing Candidate Rules Out-of-Sample:

  • 200 EMA Filter (Price > 200 EMA): Cut the trade count nearly in half (54 on BTC, 50 on ETH). On BTC, MaxDD dropped from -30.5% to -9.5% (PF 1.06). On ETH, Win Rate jumped from 47.9% to 60.0% and flipped net return from -7.2% to +32.7% (PF 1.69).
  • First Retest Entry (Structural Stop): Dropped trades to ~30. On BTC, it generated a 1.40 PF with just a 7.4% max drawdown by anchoring the stop to the Supertrend line instead of a static 2.5%.
  • ADX > 25: Virtually useless (PF 0.78 on BTC, 0.99 on ETH). By the time the Supertrend flips, ADX is already elevated.

r/algotradingcrypto • • 10h ago

How do you decide if a limit order would have filled in your backtest?

1 Upvotes

Backtesting a bot that enters with limit orders gets messy at the fill logic. If price only touches the level, did it fill or not?

Curious how you handle it:

  • Do you count a touch as a fill, or wait for price to trade through it?
  • Do you add a volume or queue check, or keep it simple?
  • How far off were the backtest fills once the bot ran live?
  • Did anyone just switch to market orders to skip the whole problem?

Not after a perfect answer, just how you deal with it.