Backtest before
you trade.
Free backtesting software for crypto, stocks, forex and gold. Replay any market candle by candle, or run a strategy and see every trade, the equity curve and the drawdown. Free with 1 year of history. Ultimate adds unlimited.
Already have an account? and go straight to Backtesting.
Demo animation of the ChartLabs chart on simulated data. Not a trading result.
Inside the app.
The tester sits under the chart.
Trades plot on the chart as Buy+ and Sell+ tags. Results sit in a panel underneath. Fees, slippage and leverage are settings, not footnotes.
- 1Trade tags on the chart
- 2Tabs: Overview, Trades, Analysis, Monte Carlo, Optimize, Walk forward
- 3Costs set before you run
Simulated data. Not a trading result.
Ways to backtestPick how you test.
Bar Replay
Practise reading price action on the main chart, on the web and in the phone app. Hide the future and play the chart forward.
Replay backtesting
Rewind a market and trade it candle by candle, as if it were live. Every trade goes into a session with its own track record.
Strategy Tester
Run a coded strategy over the chart history and get a full report. Write it in CodeLab, import it from Pine Script, or ask Atlas to turn an indicator into a strategy.
How it works.
Rule, replay, results.
Drag the slider to step through one trade. The bottom row shows when the position is open, so you see exactly when the signal formed and when it closed. Orders fill on the next bar, so a signal never trades on a price it could not have known.
Robustness testsDon't trust one run.
Shuffle the trade order, sweep the settings and test on bars the rule never saw.
Monte Carlo
Shuffle the trade order 60 times. A fragile rule fans out wide. In the app it reshuffles your trades 1,000 times.
Optimize
Sweep every fast and slow length. A good rule has a broad bright area, not one lucky cell.
Walk forward
Tune on one window, test on the next unseen one, then roll forward.
Replay vs Strategy TesterWhich one should you use?
Replay tests you: your reading of the chart and your discipline. The Strategy Tester tests rules. Many traders use both.
| Compare | Replay | Strategy Tester |
|---|---|---|
| Coding needed | No | A script: write it, import it from Pine, or ask Atlas |
| How trades happen | You place them by hand as the bars play | Your strategy code places them |
| Speed | Real time, at the replay speed you pick | Every bar of the chart history in one run |
| Best for | Practising discretionary setups | Checking a rule across many trades |
| Robustness checks | A track record per strategy tag across sessions | Monte Carlo, parameter sweeps and walk forward |
| History | 1 year free, unlimited on Ultimate | 1 year free, unlimited on Ultimate |
- Coding needed
- Replay
- No
- Strategy Tester
- A script: write it, import it from Pine, or ask Atlas
- How trades happen
- Replay
- You place them by hand as the bars play
- Strategy Tester
- Your strategy code places them
- Speed
- Replay
- Real time, at the replay speed you pick
- Strategy Tester
- Every bar of the chart history in one run
- Best for
- Replay
- Practising discretionary setups
- Strategy Tester
- Checking a rule across many trades
- Robustness checks
- Replay
- A track record per strategy tag across sessions
- Strategy Tester
- Monte Carlo, parameter sweeps and walk forward
- History
- Replay
- 1 year free, unlimited on Ultimate
- Strategy Tester
- 1 year free, unlimited on Ultimate
Backtest metricsRead the results honestly.
What each number in the Strategy Tester report means.
Net profit
Total profit minus total loss over all closed trades, after fees and slippage.
Return
Net profit as a percentage of the starting capital.
Win rate on closed trades
The share of closed trades that made money. A high win rate can still lose overall.
Max drawdown
The largest fall from a peak in equity, including the open position.
Profit factor
Gross profit divided by gross loss. Above 1 means winners outweigh losers.
Sharpe ratio
Return per unit of volatility. Higher means smoother results.
Sortino ratio
Like Sharpe, but it only counts downside volatility, so big up moves are not penalised.
MFE and MAE
How far each trade went in your favour and against you before it closed.

Bring your strategy.
Pine in, results out.
A converted strategy keeps its own orders and its strategy() settings for capital, fees and slippage. The importer lists anything it could not convert.
How the importer worksBacktesting FAQCommon questions.
Is ChartLabs backtesting free?
Yes. Replay backtesting and the CodeLab Strategy Tester are part of the Free plan, with 1 year of history. Ultimate adds unlimited backtest history. You need a free account so your sessions and scripts can be saved.
Do I need to code to backtest?
No. Replay backtesting is manual: you watch the bars play and place trades yourself. Coding is only needed for the Strategy Tester, and Atlas, the ChartLabs AI, can write the strategy rules for you.
Can I backtest a Pine Script strategy?
Yes. Import it into CodeLab with Import from Pine Script. A converted strategy keeps its own orders and its strategy() settings for capital, fees and slippage, and runs in the Backtest tab. The importer lists anything it could not convert.
Are my replay sessions saved?
Yes. Sessions are saved to your account, so you can come back to them, keep many sessions and compare them.
Does the Strategy Tester include fees and slippage?
Yes. Set fees, slippage, leverage, order size and starting capital in the strategy properties before you run, and every trade in the report includes them.
What markets can I backtest?
Replay backtesting covers crypto, US stocks and ETFs, forex and gold, on timeframes from 1 minute to 1 day. The Strategy Tester runs on the symbol and timeframe of your chart.
What is walk forward testing?
You tune a rule on one window of history, then test it on the next window it has never seen, and roll forward. The Strategy Tester reports the out-of-sample part on its own, so a rule that only fits the past shows up.
Does a good backtest mean a strategy will make money?
No. A backtest shows how rules would have behaved on past data. Results are hypothetical and past performance does not guarantee future results. Use the Monte Carlo and walk-forward checks to see how fragile a result is.
Run your first backtest.
Free, no download.
Already have an account? and go straight to Backtesting.
Backtest results are hypothetical. They are simulated, do not include every real cost, and do not predict future results. Trading involves risk of loss, and nothing on this page is financial advice. Risk disclosures.