Stop Robot does not stop the robot if there is a loop inside

Created at 01 May 2013, 08:59
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AD

adrian

Joined 27.09.2012

Stop Robot does not stop the robot if there is a loop inside
01 May 2013, 08:59


Stop Robot does not stop the robot if there is a loop inside, let's say using while or for

Remove instance removes the instance but i can clearly see that the CPU is still loaded with that instance, the only way to remove the instance in this cases is to Build the robot again, only after that the CPU load of the previous instance is removed.

Everything is fine if i try to Stop Robot after the loop is finished

Any advices on how to stop the instances when some loop is still running without having to remove instances and rebuilding?


@adrian
Replies

cAlgo_Development
08 May 2013, 17:46

Right now it's impossible to do this. The only solution is not to run robots / indicators with infinite loops.


@cAlgo_Development