Hi @Seuntjie!
Thanks for your quick reply to my previous questions.
I am dealing with another thing at the moment.
You know how we sometimes receive the 'bet result received does not match last bet placed! stopping for your safety' error?
I know how to restart my scripts using the start() command in lua, but is there a way to add a piece of code where the script would 'remember' where it was before it received the error?
That way I can, for example, continue a martingale right after instead of starting all over again.
Thank you.
Take a look at the pattern in
https://forum.seuntjie.com/index.php?topic=2.msg2195#msg2195It does basically what you need if you alter your script to initialize your variables in the right place, but like HCP said, the more complex your script, the harder it becomes.