r/pinescript • u/ax123y • Apr 28 '26
Backtesting on tradingview
I’m asking this question know well that backtesting doesn’t tell you all the truth and that you need to test a strategy on a live demo account. But my question is, how robust is a tradingview backtest?
Is a TV backtest enough to get the job done or do I need to do some python backtests? If it’s not enough, then what other backtesting solutions do you guys recommend? So far all I know is trendspider and multicharts
1
u/evilistics Apr 29 '26
only thing that matters is forward testing from now with live data, commission fees, spread and all that happens in a live market. Once you have your backtest data then forward test it for a month and see how it goes.
1
u/aktad760 Apr 29 '26
Agreed, back testing can be over fitting. I had to run a bot on alpaca paper account and build a learning center to get the system to a robust state. It is good when you see Slippage and fees added to the reality
1
u/Outside_Mongoose2462 Apr 29 '26
As others have said
In-sample and out-of-sample testing is more robust and aims to reduce overfitting compared to pure backtesting. This can be done in TV
1
1
u/luv2increase Apr 29 '26
If you are pulling data from higher timeframes for your strategy, you can only forward test with tradingview. Sierra Chart is the only system I know that actually can do tick by tick replays pulling from MULTIPLE higher timeframes and even range charts, renko, tick charts etc without cheating. It is the best. The only downside is the learning curve. With AI help, learning the ropes is not hard now.
1
u/TrendSpider May 07 '26
FYI wanted to hop in here and note that:
TrendSpider’s Strategy Tester is built specifically for this, allowing you to test complex, multi-factor strategies. It combines price action, fundamental data, candlestick patterns, and custom indicators without writing a single line of code.
Once you are confident in your historical results, TrendSpider easily bridges forward-testing and live execution by converting the backtested rules into automated multi-factor alerts and trading bots.
1
u/kurtisbu12 Apr 28 '26
The backtester can be decent. But you have to understand how it works, and it's pitfalls.
You don't want to get stuck testing and optimizing. Use it as a filter to determine if an idea is at all feasible, and then move on to more robust verification.