Crypto Backtester: Test a Strategy Before You Trade It
Quick answer: a crypto backtester replays your exact trading rules over years of historical price data and shows what would have happened: every trade, the profit or loss, the worst drawdown and how the result compares with simply holding the coin. A useful one includes trading fees, slippage and, for perpetual futures, funding payments, because those costs decide whether many crypto strategies make money at all. BitLogic Backtester is crypto backtesting software for Windows that does this without code.
Written by the BitLogic Team. Published and last updated 5 December 2026. This article is for education only and is not financial advice. A backtest shows how rules behaved on past data; it does not predict or guarantee future returns.
Key Takeaways
- A crypto backtester tests exact, written rules on historical candles, so you see a strategy's real behaviour before you risk money.
- Results without fees, slippage and funding are inflated. High-frequency crypto strategies often flip from profit to loss once costs are counted.
- Judge a backtest by profit factor, max drawdown, Sharpe ratio, win rate and number of trades, never by total return alone.
- One good chart proves little. Test on several coins, check tuned settings on unseen data, then paper trade.
- BitLogic Backtester does all of this from menus, and you can start free with 3 backtests and 1 optimization.
What a Crypto Backtester Does
A crypto backtester is a simulator for trading rules. You describe when to buy, when to sell and how much to risk. The backtester walks through historical candles one at a time, applies your rules exactly as written, and records each trade with its entry, exit, fees and result.
At the end you get a report: the equity curve, the list of trades, the biggest losing streak and a comparison with buying and holding the same coin. For crypto, that benchmark matters. In a bull market almost any long-only strategy makes money, so the honest question is whether your rules did better than holding, with less pain along the way.
Good crypto backtesting software also handles the parts of crypto that stock tools often skip: markets that trade 24 hours a day, 7 days a week, spot and perpetual futures, leverage, funding payments and very different liquidity between Bitcoin and a small altcoin.
Why Manual Chart Testing Is Not Enough
Many traders "test" an idea by scrolling back on a chart and counting the times it worked. That feels like research, but it has three problems:
- Hindsight bias. Your eye is drawn to the clean wins. The messy losses in sideways markets are easy to skip or explain away.
- Too few examples. Counting 10 or 15 setups by hand cannot tell skill from luck. A meaningful test usually needs dozens of trades, ideally 100 or more (see how much data and how many trades you need).
- No costs. Manual counting almost never includes the fee on entry and exit, the slippage on a fast breakout or the funding you pay while holding a futures position.
A backtester removes all three. It applies the rule the same way every time, on every candle, and charges every cost.
What a Useful Crypto Backtest Must Include
Before trusting any result, check that the test includes each of these:
| Ingredient | Why it matters | What to look for |
|---|---|---|
| Historical data | Too little history only shows one market mood | Several years on daily candles, covering a bull run, a crash and a sideways range |
| Trading fees | Fees are charged on entry and exit, on every trade | Your exchange's real maker or taker fee, not zero |
| Slippage | Fast moves and thin order books fill you at a worse price | A realistic allowance, larger for small coins |
| Futures funding | Perpetual futures charge or pay funding while you hold | Funding included for any futures backtest |
| Entry rules | Vague rules cannot be tested | Exact conditions on closed candles, such as RSI(14) crosses above 30 |
| Stop loss and take profit | Exits decide most of the result | Stops and targets by percent, price or ATR, plus trailing stops if you use them |
Costs deserve a closer look. A strategy that averages +0.3% per trade keeps only about a third of that after paying 0.1% on entry and 0.1% on exit. On perpetual futures, a common funding rate of 0.01% every 8 hours adds up to about 0.9% of the position over 30 days, and in hot markets the rate can be several times higher. Our guide on why a backtest wins but loses live covers these traps in detail.
How to Backtest an RSI, EMA or Breakout Strategy
The process is the same for any rule-based idea. Here it is in BitLogic Backtester, with no code.
- Pick the market. Choose crypto, spot or futures, a pair such as BTCUSDT or ETHUSDT, a candle size from 1 minute to 1 week, and a test period. For a first test, daily candles over 5 years or more is a good start.
- Write the entry rule. Build it from menus. Three common starting points:
| Style | Example entry rule |
|---|---|
| RSI reversal | RSI(14) crosses above 30, while close is above the 200-period EMA |
| EMA trend | EMA(20) crosses above EMA(50) |
| Breakout | Close is above the 20-period Donchian upper band of 1 candle ago |
- Write the exit and risk rules. Add an opposite signal, a stop loss and a take profit by percent, price or ATR, or a trailing stop. See how to set stop-loss and take-profit.
- Set costs and size. Enter your exchange's fee and a slippage allowance. For futures, choose leverage; funding is included automatically.
- Run the backtest and read the report. Start with the verdict and the comparison with buy and hold, then the drawdown and trade count.
- Check it is not luck. Run the same rules on several coins, then optimize with walk-forward testing and paper trade what survives.
Here is the breakout rule from the table, written exactly as the Turtle Breakout template uses it:
BUY WHEN
Close [this candle]
Is Greater Than
Donchian Upper (20) [1 ago]
CLOSE WHEN
Close [this candle]
Is Less Than
Donchian Lower (10) [1 ago]
Metrics to Evaluate
Total return is the least useful number on its own. These five tell you far more:
| Metric | What it tells you | Rough guide |
|---|---|---|
| Win rate | Share of trades that made money | Trend strategies often win under 50% and still profit |
| Profit factor | Gross profit divided by gross loss | Above 1.3 is decent, above 1.75 is strong |
| Max drawdown | Worst fall from a peak in equity | Could you sit through it with real money? |
| Sharpe ratio | Return per unit of volatility | Above 1 is good |
| Number of trades | Whether the result could be luck | Under 20 is too few; 100+ is much better |
For the full benchmarks and the maths behind them, read what is a good win rate, profit factor, Sharpe ratio and drawdown.
Read that report the way you would read any backtest. It beat holding Bitcoin, the profit factor is solid and the Sharpe ratio is about 1. But a 54% drawdown is brutal, and 35 trades is a thin sample. That is why the next step is to test the same rules elsewhere.
Backtesting Is Not a Guarantee of Future Results
A backtest answers one question: how did these rules behave on this data? It cannot promise the future. Markets change, a coin's liquidity changes, and the more you adjust rules to fit the past, the less the result means. Treat a good backtest as a reason to keep investigating, not as a reason to trade.
- Overfitting: if you tried hundreds of settings and kept the best, that winner is partly luck. Check it on data it never saw with walk-forward and out-of-sample testing.
- Survivorship bias: testing only today's top coins ignores the ones that collapsed or were delisted.
- Live execution: real fills, outages and your own discipline differ from a simulation. Paper trading on live prices closes part of that gap.
How BitLogic Backtester Works
BitLogic Backtester is a no-code crypto backtester for Windows, from the team behind the BitLogic crypto screener. It also backtests stocks from 8 countries, but it was built with crypto's quirks in mind.
| Feature | What you get |
|---|---|
| Markets | Crypto spot and futures, plus stocks; timeframes from 1 minute to 1 week |
| Strategy builder | 60+ indicators and candlestick patterns, AND/OR rules, crosses and higher-timeframe filters |
| Exits | Stop loss and take profit by percent, price or ATR, trailing stops, limit-order entries |
| Costs | Trading fees, slippage and futures funding in every result |
| Reports | Equity curve vs buy and hold, trades on the chart, win rate, profit factor, drawdown, Sharpe and Sortino, Monte Carlo |
| Validation | Test on up to 10 markets at once; optimizer with walk-forward testing |
| Paper trading | Runs your strategy on live prices with virtual money |
| Templates | 16 ready-made strategies, including Turtle Breakout, Golden Cross and RSI Oversold Bounce |
It places no real trades and asks for no exchange API keys. A free BitLogic account includes 3 backtests and 1 optimization. After that, a Week pass costs US$3.50 one-time, and the Monthly (US$4.99) and Annual (US$49.99) plans add BitLogic Pro for the crypto screener app. Full details are on the BitLogic Backtester page.
Find setups live, test them first
The free BitLogic crypto screener scans live markets for RSI, EMA, MACD and volume setups. Use it to spot an idea in today's market, then check that idea in the Backtester on years of history before you trade it.
FAQ
What is a crypto backtester?
A crypto backtester is software that tests trading rules on historical crypto price data. It applies your entry, exit and risk rules candle by candle and reports every trade, the profit or loss, the drawdown and how the strategy compared with holding the coin.
Can I backtest crypto strategies for free?
Yes. A free BitLogic account includes 3 backtests and 1 optimization in BitLogic Backtester for Windows. Free Python libraries also exist, but they need coding and your own data.
Do I need to code to backtest a crypto strategy?
No. In a no-code backtester such as BitLogic Backtester you build rules from menus, for example "RSI(14) crosses above 30", and combine them with AND and OR. No Python or Pine Script is needed.
Why should a crypto backtest include fees, slippage and funding?
Because they are real costs on every trade. Fees are charged on entry and exit, slippage worsens your fill on fast moves, and perpetual futures charge funding while you hold. Leaving them out makes results look better than they would have been.
How many years of data should I backtest on?
For daily candles, use several years that include a bull market, a crash and a sideways period. For shorter candles you need fewer years but still enough trades, ideally 100 or more.
Which metrics matter most in a crypto backtest?
Profit factor, maximum drawdown, Sharpe ratio, win rate and the number of trades, plus a comparison with buy and hold. Total return on its own says little about risk or luck.
Does a good backtest mean the strategy will make money?
No. A backtest shows how rules behaved on past data. Check the result on several coins and on unseen data with walk-forward testing, then paper trade before risking money. Past results do not guarantee future returns.
Can I backtest crypto futures with leverage?
Yes. BitLogic Backtester tests crypto spot and futures, includes funding payments for futures and models leverage, so you can see how leverage changes drawdown and risk.
The Bottom Line
A crypto backtester turns "I think this works" into evidence. Write exact rules, include fees, slippage and funding, read the drawdown and trade count before the return, and test the idea on several coins and on unseen data. Only paper trade, and then trade, what survives every step.
Related guides: No-code crypto backtesting | Crypto strategy optimizer | TradingView strategy tester alternative | What is backtesting? | BitLogic Backtester
Nothing here is financial advice. BitLogic Backtester is an analysis tool for education and research: it does not place real trades. Past results do not guarantee future returns. Questions: backtester_support@bitlogic.info.