Liquidity-Sweep Rejection Backtest in Crypto: Fees, Slippage and Break-Even Costs
A sweep-rejection rule waits for price to run stops beyond a prior high or low and then close back inside. It's a defined version of 'stop hunt' trading.
Short answer
A liquidity-sweep rejection rule enters against a move that briefly broke a prior swing high/low (where stops likely sit) and closed back inside within the same or next bar, with a stop beyond the sweep extreme. Define the swing (confirmed pivots), the minimum sweep distance, and the close-back condition. Sweeps often coincide with liquidation bursts and wide spreads, so model higher slippage. Compute break-even cost and compare with plain failed-breakout rules.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 130 |
| Gross avg per trade | +0.52% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.05%) | −0.10% |
| Net avg per trade | +0.32% |
| Break-even round-trip cost | 0.52% |
Definition choices
| Sweep rule | Trades | Net avg (illustrative) |
|---|---|---|
| Any wick beyond swing | 260 | +0.08% |
| ≥ 0.2% beyond, close inside | 130 | +0.37% |
| + liquidation spike | 60 | +0.49% (small sample) |
Conclusion
Related: Failed Breakout Reversal Backtest in Crypto: Fees, Slippage and Break-Even Costs, Liquidation Bursts on the Tape in Crypto: What Price Response Adds to the Reading.
Backtest the liquidity-sweep rejection rule with costs in ChartsPod.
Open the ChartsPod terminalCompute break-even cost and compare with plain failed-breakout rules.
Compare Liquidity-Sweep Rejection Backtest in Crypto across Binance, Bybit, OKX and Hyperliquid markets.
Open markets in ChartsPodQuestions readers ask
What is a liquidity sweep?
A brief break beyond a swing where stops sit.
How is rejection defined?
A close back inside within N bars.
Why higher slippage?
Sweeps happen in fast markets.
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.