← Strategy library
OfficialTrend-following
MACD Trend Ride — Bitcoin strategy backtest
Enters on MACD crossing above signal; ATR stop plus a time stop cap each trade.
A curated strategy — a well-known mechanism with sensible risk management built in. Still not a recommendation — it's a mechanism you test yourself.
How this strategy works
- • Buys when MACD(12,26,9) macd crosses above MACD(12,26,9) signal.
- • Sells when MACD(12,26,9) macd crosses below MACD(12,26,9) signal.
- • Uses a volatility (ATR×2.5) stop.
- • Exits after 40 bars if still open.
Run this exact strategy yourself — pick a window:
How this backtest works
- Data
- Yahoo Finance / Binance daily OHLC, split-adjusted. Recomputed on each run.
- Costs
- Commission + tiered slippage on every fill. No leverage.
- Execution
- Signals act on the next open after a bar closes — never on a price you couldn't have known.
- Look-ahead & survivorship
- Indicators use closed bars only; the forming bar is dropped. Survivorship is labelled, not hidden.
- Benchmark
- Measured against buy & hold of the same asset over the same window.
- What it isn't
- Not advice, not a prediction, no profit claim. I hold no funds and place no orders.