Robot that activate another robot

Created at 14 Nov 2016, 05:47
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!
JJ

jjvmalaluan

Joined 14.11.2016

Robot that activate another robot
14 Nov 2016, 05:47


Hi to all,

is it possible to create a robot  that will activate another robot? Because I have two robots and I dont know how to make it one so I'm thinking after the first robot did its job, it will call the next robot to activate. can you show me some basic code? thanks.


@jjvmalaluan
Replies

... Deleted by UFO ...

jjvmalaluan
14 Nov 2016, 20:14

sir, I have two cbots that I want to connect.  Is it possible to use OnBar() twice in one program?  because both my cbot are on OnBar().  thanks


@jjvmalaluan

... Deleted by UFO ...

HTtrader
23 Aug 2017, 10:16

Hi there, I have the same situation but was wondering what is coding best practices to do. Is it better to refer to another modifier like above or use goto statements and split the program inside the onbar? Or does it even matter because the result should be the same. I am looking at implementing a take profit clause that happens onbar action which also executes orders to enter the market if that helps understanding.
@HTtrader

driftingprogrammer
13 Mar 2020, 03:43

A monitoring Robot

Hi,

 

I wanted to cbot to be able to shutdown the cbot that i have purchased from third party. Has there been an API released allowing us to stop and start robots through function calls. Since the robot i want to invoke is a third party robot i cannot modify it to look for a folder and other workaround like that.

 

Thanks.


@driftingprogrammer

PanagiotisCharalampous
13 Mar 2020, 09:06

Hi driftingprogrammer,

No there is no such function at the moment.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous