Reference another cBot

Created at 29 Oct 2013, 07:34
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!
Hyperloop's avatar

Hyperloop

Joined 23.10.2013

Reference another cBot
29 Oct 2013, 07:34


Hi,

I'm just wondering if it's possible to use another Robot (.algo) as a reference and use its methods.

Many thanks. :)


@Hyperloop
Replies

Cerunnos
29 Oct 2013, 08:33

RE:

Hyperloop said:

Hi,

I'm just wondering if it's possible to use another Robot (.algo) as a reference and use its methods.

Many thanks. :)

Hi!
Following variant did not work for me: /forum/cbot-support/219
Now I'm using a third-party software (scyware.com). So I can communicate between different robots (also on different instances of cAlgo) . Alternatively you can use a boolean value stored in an external text file which can be read by the other robot. For example:  tradeIsAllowed == true -> begin trading on second robot


@Cerunnos

Hyperloop
29 Oct 2013, 09:02

Thanks for the link! I just gave it a test and it actually worked. :)

The ability to communicate through different instances of cAlgo is still handy, I will take a look at the software you recommended. 

Thanks again!


@Hyperloop