Hey Matt, do you need to add the "truncate" calc? The tostring already has a similar function if you add a ,"0.00" after the value, it should give you what you're after.
i suggest using strategy.initial_capital , as it is already built-in to the strategy settings (input) , no reason to re-define with another input (startBalance). Thx for video very informative.
I was able to make the changes to make it work in v5, however, when looking at the results compared to the built in Strategy Tester, there is a big difference when day trading a stock like NVDA. So I am not sure if there is an error somewhere in one or the other testing processes.
Hello, thank you for the video, it's great. If I have my script ready and it's working in the strategy tester, how can I activate it with paper trading to test the script? Can I get some help with this, and could you possibly make a video about that as well?
There is a big issue with the built in backtester. If you want to compare buy&hold to your strategy’s profit over a time window it doesn’t use the same time period for both but uses a random time window, so you could be comparing 6 months of your strategy with 2 years buy&hold. That’s why it’s so much better to have your own backtester
Hey Matt, I've noticed that in the v5 they added new arguments in the strategy tester. Can you please explain how to use the comment_profit and comment_loss arguments in the strategy.exit()
I did create a new indicator and now i want to create a strategy for that so i took a search in your channel and i didn’t even find a tutorial that could help me in so i hope you do for us some videos about creating blank strategy
How can I have a strategy give me the accumulated results of running across multiple symbols? For instance: in TradingView you can see the win percentage, drawdown all the stuff for one symbol. What if I want to say, here are these thirty symbols I trade and then see what the over all results would be from running my strategy on those?
Hi Matt, Can you be kind to teach how to write a script to detect live bankers chips volume entering the market and their exit volume. I am new in trading and find volume pushes up price. Thanks. Stay safe.
How do I count or calculate bars or volume bars during intraday only? Using bars that are printed from the market open only. Are there any videos of this? Thanks
I copied the whole source codes into Tradingview then convert to version 5 is working. Then, I copy all the code related to the table to my strategy. Able to display the table initially. Later, I am not sure what I change, completely not possible to display the table. Not sure anyone know what the issue?
@@alpha12th I was able to get the code to work with my strategy in v5. However the return is very much different than the built in Strategy Tester, so I am not sure which one to believe.