External input allowed in bos?

Created at 20 Oct 2018, 11:04
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!
alexander.n.fedorov's avatar

alexander.n.fedorov

Joined 02.01.2018

External input allowed in bos?
20 Oct 2018, 11:04


Dear Panagiotis, hi!

Let us say that a bot is doing iits's job and at some point I want to do smnth extermally, like placing a trade for example?

Is it possible?

Regards, 

Sasha


@alexander.n.fedorov
Replies

PanagiotisCharalampous
22 Oct 2018, 10:25

Hi Sasha,

If you mean to execute an order manually while the cBot is running then yes, this is possible.

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
22 Oct 2018, 10:39

But then instance will be different (label)
I mean like user input, when ther rest of the management is the bot's

 


@alexander.n.fedorov

PanagiotisCharalampous
22 Oct 2018, 11:16

Hi Sasha,

You mean that your cBot should pick up on managing the order/position?

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
22 Oct 2018, 11:18

RE:

Panagiotis Charalampous said:

Hi Sasha,

You mean that your cBot should pick up on managing the order/position?

Best Regards,

Panagiotis

For Example


@alexander.n.fedorov

PanagiotisCharalampous
22 Oct 2018, 14:18

Ok, in this case you could consider using the comments. You can type a comment during order creation and then read it from the code and act accordingly


@PanagiotisCharalampous

alexander.n.fedorov
22 Oct 2018, 14:21

RE:

Panagiotis Charalampous said:

Ok, in this case you could consider using the comments. You can type a comment during and handle during order creation and then read it from the code and act accordingly

I was thinking of smth different . As my knowledge of c# could be improved drammatically, I do not know all the power of it

I was thinking, like eg. in VBA you could open a dialog box  end enter some information


@alexander.n.fedorov

PanagiotisCharalampous
22 Oct 2018, 14:24

If you will handle the form yourself and create the orders then you can still use the label.


@PanagiotisCharalampous