ROC Momentum Backtest in Crypto: Fees, Slippage and Break-Even Costs
Rate of change measures the percentage move over N bars. A momentum rule on it buys strength — and pays when strength fades quickly.
Short answer
ROC(N) = (close ÷ close N bars ago − 1) × 100. A momentum rule buys when ROC crosses above a threshold (or zero) and exits when it falls back. Momentum rules trade less often than reversals and hold longer, so costs matter less per trade, but whipsaws around the threshold add up. Test N and the threshold as a grid, compute break-even cost, and check how much profit comes from the few largest trends.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 85 |
| Gross avg per trade | +0.95% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.04%) | −0.08% |
| Net avg per trade | +0.77% |
| Break-even round-trip cost | 0.95% |
Profit concentration
| Trades | Share of total profit (illustrative) |
|---|---|
| Top 5 | 82% |
| Next 20 | 41% |
| Remaining 60 | −23% |
Conclusion
Related: TRIX Momentum Backtest in Crypto: Fees, Slippage and Break-Even Costs, Volume Breakout Filter Backtest in Crypto: Fees, Slippage and Break-Even Costs.
Backtest the roc momentum rule with costs in ChartsPod.
Open the ChartsPod terminalTest N and the threshold as a grid, compute break-even cost, and check how much profit comes from the few largest trends.
Test ROC Momentum Backtest in Crypto on a perpetual chart; no account is needed to chart.
Launch ChartsPodQuestions readers ask
What is ROC?
Percentage change over N bars.
Why does profit concentrate?
Momentum captures a few big trends and many small losses.
How do I test robustness?
Grid of N and threshold; remove the top trades.
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.