Backtesting Guides
A backtest tells you how a rule would have done in the past, under the assumptions you chose. These guides show how to set up a test that does not flatter the result, with our own calculations on real data.
Start with the backtesting guide if you are new to testing. If you already use TradingView, go straight to the tool guides below.
What do you want to do?
Related articles
- Backtest in TradingView
TradingView Backtesting: Test a Strategy Without Real Money
Manual testing with Bar Replay and automatic testing with the strategy report.
- Code a strategy
Pine Script in TradingView: Basics, Editor and Version 6
Pine Script basics, the editor and version 6, with code you can copy.
- Automate a tested system
Algo Trading: How It Works, Platforms and Risks
What algo trading is, the stages of a trading system, platforms, risks and US rules.
- Forward test without risk
TradingView Paper Trading: Setup, Limits and Tips (2026)
Run a strategy with simulated orders at real-time prices before you risk money.