Strategy Backtester

About Strategy Backtester

A free way to test trading strategies on the candle data you actually trade.

Why this tool exists

Pine Script strategies only run inside TradingView, on TradingView's data. Traders who use their own data vendor, a specific exchange session or a private candle file had no simple way to check the same logic elsewhere, and the same goes for a strategy written in Python or a classic idea you just want to try. Strategy Backtester closes that gap: choose or write a strategy, upload your candles and read the results, for Indian indices and commodities, crypto and currency pairs alike.

How it works

You choose one of three sources. A Pine Script, strategy or indicator, goes through a built-in converter (a Pine parser and code generator, no AI involved) that turns it into strategy code and lists every assumption it made. A Python strategy runs in your browser through Pyodide. Built-in strategies are ready-made and need no code. Whichever you choose, the strategy then runs bar by bar in your browser against your Excel or CSV data, using order handling modelled on TradingView: signals evaluated on candle close, stops and targets checked against each bar's high and low, and gap-aware fills. Read the step-by-step guide for details.

Privacy by design

Your strategy code and your candle data never leave your device: everything is processed in your browser. See the privacy policy.

What it is not

Results are simulations, not predictions, and can differ from TradingView because data, sessions, commissions and intrabar assumptions differ. Nothing here is financial advice; read the risk disclaimer.

Get in touch

Found a strategy that behaves wrongly, or want a feature? Contact us.