Price-Channel Mean Reversion Backtest in Crypto: Fees, Slippage and Break-Even Costs
Fading touches of a price channel's edges works in ranges and fails in breakouts. The channel's look-back and the exit rule decide which dominates.
Short answer
A price-channel mean-reversion rule fades touches of an N-bar high/low channel (or a regression channel), exiting at the middle, with a stop beyond the edge. When the channel uses the prior N completed bars, signals are clean; if it includes the live bar, touches are guaranteed and meaningless. Test N, require a close back inside before entry, compute break-even cost and report losses on breakout days separately.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 190 |
| Gross avg per trade | +0.23% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.03%) | −0.05% |
| Net avg per trade | +0.08% |
| Break-even round-trip cost | 0.23% |
Entry rule
| Entry | Trades | Net avg (illustrative) |
|---|---|---|
| Touch of edge (limit) | 260 | +0.04% (optimistic fills) |
| Close back inside | 190 | +0.11% |
| Close inside + range regime | 110 | +0.19% |
Conclusion
Related: Donchian Channels in Crypto: Why the Value Changes Before Candle Close, Session-Range Mean Reversion Backtest in Crypto: Fees, Slippage and Break-Even Costs.
Backtest the price-channel mean reversion rule with costs in ChartsPod.
Open the ChartsPod terminalTest N, require a close back inside before entry, compute break-even cost and report losses on breakout days separately.
See Price-Channel Mean Reversion Backtest in Crypto on live data in the free ChartsPod terminal.
Open the ChartsPod terminalQuestions readers ask
What is price-channel mean reversion?
Fading channel edges toward the middle.
Which channel window?
Prior completed bars.
When does it fail?
Breakouts.
Sources and methodology
Backtest cost logic follows TradingView's Pine Script strategy documentation; indicator definitions are standard. All performance numbers are illustrative examples of the method, not results of real tests.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.