BACKTESTING · RANGE-BAR TREND

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

ItemValue (illustrative)
Trades120
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 cost0.55%
Range-Bar Trend: edge vs cost per trade (%)Range-Bar Trend: edge vs cost per trade (%): Gross edge 0.55 %; Fees 0.10 %; Fees + slippage 0.20 %.RANGE-BAR TREND: EDGE VS COST PER TRADE (%)Gross edge0.55 %Fees0.10 %Fees + slippage0.20 %
Edge per trade versus cost per trade. Original ChartsPod editorial graphic.

Fill realism

Fill modelNet avg (illustrative)
Range-bar prices+0.82% (unrealistic)
Next real trade after signal+0.31%
Next 1-minute open+0.27%
Illustrative net avg (%)Illustrative net avg (%): Synthetic +0.82 %; Real trade +0.31 %; 1m open +0.27 %.ILLUSTRATIVE NET AVG (%)Synthetic+0.82 %Real trade+0.31 %1m open+0.27 %
Synthetic fills inflate results. Original ChartsPod editorial graphic.

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 terminal

Generate 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 ChartsPod

Questions 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.

  1. TradingView Pine Script: Strategies — simulated fills and assumptions.
  2. TradingView Pine Script: Repainting — live vs historical calculation.
  3. ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
  4. 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.