← Strategy library
OfficialMean-reversion
Stochastic Dip Buy — Bitcoin strategy backtest
Buys when %K drops under 20, exits over 50, sized by an ATR stop to a fixed risk budget
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 Stochastic(14,3) k is below 20.
- • Sells when Stochastic(14,3) k is above 50.
- • Uses a volatility (ATR×3) stop.
- • Sizes each trade to risk ~2.0% of capital to the stop.
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.