About

Last updated: 8 October 2026

PineBacktest is a free backtesting tool. You paste a TradingView (Pine Script) strategy, write Python, or build rules by point-and-click, choose a dataset and timeframe, and it shows every trade together with the equity curve, drawdown and performance statistics.

How it works

What we do and don't promise

The tester uses exactly the candles in the file you select: rows with missing prices are dropped and duplicate timestamps keep the last one, but prices are never invented, smoothed or gap-filled. We follow TradingView's documented defaults, yet small differences from TradingView are possible (for example exchange-session boundaries, or which of a stop and a target is hit first inside one bar). Results are only as reliable as the data and the strategy logic you provide. Demo files are randomly generated and are not real market data.

Not financial advice

A backtest is a simulation on past data. It cannot predict future results and ignores liquidity, latency and changing market conditions. Nothing on this site is investment advice.