Range-Bar Trend Following Backtest in Crypto: Fees, Slippage and Break-Even Costs
Range bars filter time out of charts, which can make trends look smooth. Backtests on them use synthetic prices that may never have traded.
Short answer
A range-bar trend rule (e.g. moving-average cross on fixed-range bars) can look strong because bars open at the previous close ± a tick and close exactly at the range, so fills at bar prices are idealised. TradingView warns that strategies on non-standard chart types can produce unrealistic results. Generate signals on range bars if you like, but simulate fills on real trades or time-based candles with costs.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 120 |
| Gross avg per trade | +0.55% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.05%) | −0.10% |
| Net avg per trade | +0.35% |
| Break-even round-trip cost | 0.55% |
Fill realism
| Fill model | Net avg (illustrative) |
|---|---|
| Range-bar prices | +0.82% (unrealistic) |
| Next real trade after signal | +0.31% |
| Next 1-minute open | +0.27% |
Conclusion
Related: ChartsPod Range Bars: Settings to Check Before Your First Analysis, Renko Trend Signal Backtest in Crypto: Fees, Slippage and Break-Even Costs.
Backtest the range-bar trend rule with costs in ChartsPod.
Open the ChartsPod terminalGenerate signals on range bars if you like, but simulate fills on real trades or time-based candles with costs.
Compare Range-Bar Trend Following Backtest in Crypto across Binance, Bybit, OKX and Hyperliquid markets.
Open markets in ChartsPodQuestions readers ask
Can I backtest on range bars?
Signals yes; fills should use real prices.
Why are results unrealistic?
Bar prices are synthetic.
What does TradingView say?
Non-standard chart types can give unrealistic strategy results.
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.
- TradingView: Unrealistic results on non-standard chart types — synthetic prices vs real fills.
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.