Strategy tester
Paste Pine Script or JavaScript and backtest it on live BTC and ETH candles.

What is the strategy tester?
A dedicated tab of Graphs: paste or drop your strategy, pick the asset and the timeframe, set fees and position size, and run the backtest. Entries and exits appear on the chart, with the full report underneath: equity curve, drawdowns, trade list and yearly breakdown.
The strategy tester lets you paste or drop a strategy, written in Pine Script or JavaScript, pick the asset and timeframe, set fees and position size, and run a backtest on Binance candles.
Entries and exits appear on the chart, with the full report underneath: equity curve, drawdowns, trade list and yearly breakdown. Your code runs in an isolated worker in your browser.
How it works
- 1
Binance BTC/USDT and ETH/USDT candles, completed live in your browser.
- 2
Your code runs in an isolated worker in your browser; nothing is sent to our servers.
How to read it
- A good backtest is necessary, not sufficient: keep a period you never tuned on.
- Results include the fees you set, not slippage or funding.
Common mistakes
- Trusting a backtest without a period you never tuned on.
- Forgetting slippage and funding, which the tester does not include.
Limits
- Editor, backtests, examples.
- Saved strategies and exports, later.
Frequently asked questions
Can I test a TradingView strategy?
Yes, paste its Pine Script. Supported features are documented in the tester.
Is my code sent to a server?
No. It runs in an isolated worker inside your browser.