Backtesting & Statistics
How to Backtest on TradingView
On TradingView a backtest is a short script in Pine added to the chart, with the Strategy Tester panel underneath drawing the trades on the bars and counting them. This paper shows you TradingView in five lines; the example rule from the backtesting paper written as six lines of Pine; the script's trades on the euro for 17 to 21 August 2026 on real hourly bars, 39.0 pips for the week; the Overview panel's six numbers for that week and what each means; and the tabs along the bottom of the screen that take a sentence to a result.
- Difficulty
- Beginner
- Reading time
- 5 min
- Pages
- 8
- Reviewed by
- Saman Rahbar
This paper is locked
Read it in the browser and keep the PDF with Premium, or buy this one paper.





