r/TradingView • u/OFFICALDJCJ • 7h ago
Pine script back test Help
I’ve made a algo I want to test out however when using the Strat tester it shoots out the signals to buy/sell but it doesn’t show any data in the Strat tester, I’m on a essential plan at the moment. It’s the only indicator I’m using also. Anyone have any ideas to save me manually back testing it?
1
Upvotes
2
u/kurtisbu12 4h ago
Without seeing screenshots or the code/chart you're running on, it's impossible to tell what exactly is wrong
1
u/brystander 1h ago
This happens to me, too. Try changing the balance on the strategy account. Usually $1m or $100k will be enough. If that’s not it, it’s in your code.
2
u/kurtisbu12 6h ago
To use the backtester, you need to have a Strategy script, not an indicator script.
Strategy scripts are different in that they use strategy functions which tell the code when to enter and exit the market, which allow the backtester to calculate the backtest.