How to stop cBot?

Created at 08 Nov 2020, 23:37
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!
MG

mgpublic

Joined 06.11.2020

How to stop cBot?
08 Nov 2020, 23:37


Hello,

Is there I way I can stop the cBot if my balance goes down too much? Can someone help me with the code? Thanks for the help!


@mgpublic
Replies

PanagiotisCharalampous
09 Nov 2020, 09:01

Hi mgpublic,

You can use the Stop() method to do so.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

mgpublic
09 Nov 2020, 21:27

RE:

PanagiotisCharalampous said:

Hi mgpublic,

You can use the Stop() method to do so.

Best Regards,

Panagiotis 

Join us on Telegram

Hi Panagiotis,

Thank you very much! Works fine!

Best Regards,

mgpublic


@mgpublic