Three-Bar Momentum Backtest in Crypto: Fees, Slippage and Break-Even Costs
Buying after three consecutive up closes is one of the simplest momentum rules. Its result depends heavily on the timeframe and on what happens at the fourth bar's open.
Short answer
A three-bar momentum rule enters after three consecutive higher closes (or higher highs), exiting after N bars or on a down close. On short timeframes, three-bar runs are common and often reverse; on daily bars they're rarer. Use next-bar open fills, compute break-even cost per timeframe, and compare with random entries to see whether the pattern adds anything.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 300 |
| Gross avg per trade | +0.14% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.02%) | −0.04% |
| Net avg per trade | +0.00% |
| Break-even round-trip cost | 0.14% |
By timeframe
| Timeframe | Signals / year | Net avg (illustrative) |
|---|---|---|
| 15m | 2,400 | −0.05% |
| 4H | 300 | +0.07% |
| 1D | 50 | +0.42% |
Conclusion
Related: ROC Momentum Backtest in Crypto: Fees, Slippage and Break-Even Costs, EMA Crossover Backtest: Bar-Close Signals vs Next-Bar Execution.
Backtest the three-bar momentum rule with costs in ChartsPod.
Open the ChartsPod terminalUse next-bar open fills, compute break-even cost per timeframe, and compare with random entries to see whether the pattern adds anything.
Review Three-Bar Momentum Backtest in Crypto with bar replay before using it live.
Open ChartsPod replayQuestions readers ask
Does three-bar momentum work?
Depends on timeframe; test against random entries.
Why are fast timeframes worse?
Costs relative to moves.
Which fill?
Next-bar open.
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.