Backtest any trading strategy on your own data
Paste a Pine Script, write Python or pick a built-in strategy, upload your Excel or CSV candles for any market, and get every trade, PnL, drawdown and a monthly breakdown in seconds.
- Free, no signup
- No AI, no server upload: runs in your browser
- Indian markets, crypto and forex
- 1m to 1D timeframes
Private by design
Runs in your browser
Fast, reliable
Bar by bar replay
Multiple markets
Indian, crypto, forex
Secure payments
Razorpay checkout for data
Test a strategy your way
Every source runs on the same engine, with the same fill rules and the same report.
Built-in strategies13
Pick a ready-made strategy, tune its settings and add a stop loss, target or trailing stop. No code needed.
- Trend following (7)
- Mean reversion (3)
- Intraday (2)
- Benchmark (1)
- Tune settings, add a stop or target, run in one click
Pine Script
Paste a strategy or indicator from TradingView. It is converted in your browser, with every assumption listed.
- Pine v4, v5 and v6
- Indicator-only scripts become long and short strategies
- Every input() becomes an editable setting
Python
Write an on_bar(i, s) function and place orders through s.entry and s.exit.
- Runs in your browser with Pyodide
- numpy and pandas load when you import them
- Same fills and rules as Pine
Test the market you trade
Choose an instrument and its lot size, tick size, price precision and currency are filled in. You bring the candles, so a market that is not listed works too: pick Custom.
Indian market
Nifty 50, Bank Nifty, Sensex
Crypto
Bitcoin (BTC), Ethereum (ETH), Solana (SOL), BNB, XRP
Currency pairs
AUDJPY, AUDUSD, CADJPY, CHFJPY, EURAUD, EURGBP, EURJPY, EURUSD, GBPAUD, GBPJPY, GBPUSD, NZDJPY, NZDUSD, USDCAD, USDJPY
How the backtester works
Whatever the source, the strategy is replayed on your candles bar by bar, in your browser. Pine Script only runs inside TradingView, so it is translated first. No AI and no server involved.
Choose a strategy
Paste Pine Script (v4 to v6), pick a built-in strategy or write Python. Pine is read instantly in your browser and every input() becomes a setting you can change.
Upload your candles
Drop an Excel or CSV file with timestamp, open, high, low and close. Choose 1m to 1D and your data is resampled to that timeframe.
Read the report
See every trade with entry, exit, stop and target, plus total PnL, profit factor, max drawdown, exit reasons and a monthly breakdown.
Built for serious strategy testing
Everything you need to check a TradingView idea on the market data you trade.
Private by design
Your script and your candles are processed entirely in your browser. Nothing is uploaded, and there is no account or API key.
TradingView-style fills
Stops and targets are checked against each bar’s high and low, gaps fill at the open, and the bar-path heuristic decides which is hit first.
Indicators become strategies
Indicator-only scripts are turned into a long and short strategy from their buy and sell signals, with every assumption listed.
Multi-timeframe safe
request.security calls map to completed higher-timeframe bars only, so results never repaint or look ahead.
Real-world rules
Square-off time, no-entry window, max trades per day, cooldown after stop loss, daily loss and profit limits, commission and slippage.
Inputs become settings
Every input() in the script becomes an editable field, like TradingView’s settings dialog. Export the trade list as CSV.
Learn to backtest properly
Short guides on preparing data, reading metrics and avoiding the mistakes that flatter results.
Frequently asked questions
Quick answers about the strategy sources, markets and your data.
