Topics
31 Dec 2021, 16:28
 983
 4
15 Mar 2019, 16:44
 4541
 13
28 Feb 2019, 11:28
 1408
 6
14 Jun 2018, 19:00
 1621
 2
14 Jun 2018, 15:14
 1459
 2
12 Apr 2018, 12:41
 1356
 2
07 Nov 2017, 06:42
 1994
 6
24 Oct 2017, 03:38
 2105
 7
17 Oct 2017, 12:08
 0
 908
 1
16 Oct 2017, 08:26
 2378
 5
Replies

ycomp
20 Jan 2022, 18:14 ( Updated at: 21 Dec 2023, 09:22 )

RE:

wow I just tried it, and applied a template I had from an automate chart.

So does this mean that all the settings of the bot on the automate chart (if the chart is saved as a template), then get applied to a regular trading chart - if the template is selected?

PanagiotisCharalampous said:

Hi ycomp,

Use this button here

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 

 


@ycomp

ycomp
20 Jan 2022, 18:07 ( Updated at: 21 Dec 2023, 09:22 )

RE:

thanks

PanagiotisCharalampous said:

Hi ycomp,

Use this button here

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 

 


@ycomp

ycomp
17 Jan 2022, 15:32 ( Updated at: 17 Jan 2022, 15:35 )

RE: RE:

any tips though? I have disabled print statements as firemyst suggested, because it does produce some print statements on a regular basis. But any ideas what can cause this kind of problem?

My bot does nothing fancy except it does modify the order often.

So just to verify, there would be no benefit to adding Thread Sleep statements?

Also there is nothing wrong with having 2 isntances of the same bot running on the same symbol, correct? They never actually modify the same position. One modifies when positions are long, the other when short.. to change this behaviour would take a lot of work.

amusleh said:

ycomp said:

I wrote a cAlgo bot

It works fine but after a while of running (sometimes hours), cTrader becomes very unresponsive.

I also run 2 instances of the bots on the same symbol.. one for long and one for short position management.

What would generally cause cTrader to hang or become unresponsive?

I have no idea where to start with debugging this.

The bot manages an existing (i.e. manually opened by the user) trade position. It doesn't do anything fancy like call other dlls or anything.

Do I need to put some kind of sleep statements in my code?

Any insight appreciated.

Hi,

Your cBot is not coded properly, and there is only one solution, fix your cBot code.

 


@ycomp

ycomp
12 Jan 2022, 13:00

I think I'm misunderstanding something.

So far I only run bots on the automate section charts.

Is there a way to run a bot I developed on the regular, trading section chart?


@ycomp

ycomp
12 Jan 2022, 08:55

RE:

amusleh said:

Hi,

What do you mean by using Quick Trade Buttons with automate?

If you open a position/order with quick trade button or with create new order window, you can access both of them on your cBot/Indicator.

I mean using the Quick Trade buttons on the chart that is displayed when the algo is selected in the Automate section


@ycomp

ycomp
03 Jan 2022, 18:29

I think i figured it out, please disregard


@ycomp

ycomp
03 Jan 2022, 17:11

RE:

amusleh said:

Hi,

1. Yes, it can modify any pending order or position, it doesn't matter if its created by itself or manually or by any other cBot

2. It can, you have to reference/add the indicator on your cBot

3. No, you can't, you have to do it with code

thanks


@ycomp

ycomp
03 Jan 2022, 17:11 ( Updated at: 21 Dec 2023, 09:22 )

RE:

it's not irrelevant when you have a lot of outputs, but I understand anyhow - not possible.

firemyst said:

The width has its own configurations in the cTrader window for anything that's marked as "Output", so using the parameter in that way is irrelevant.

If you're drawing a line of any sort, that's where you'd use a separate width parameter.

 


@ycomp

ycomp
02 Jan 2022, 14:20

RE:

any idea when 4.2 is coming out?

PanagiotisCharalampous said:

Hi amml,

No there aren't. This method is not actually supported and from the next update (4.2) you will be able to use dotnet build command instead. So you will need to survive with this workaround till then :).

Best Regards,

Panagiotis 

Join us on Telegram

 


@ycomp

ycomp
04 Sep 2019, 09:34

yes it is very annoying... 3.5 is the first cTrader version that I feel is a step backwards in usability


@ycomp

ycomp
27 Mar 2019, 14:55

when I connect via VPN and then restart cTrader sometimes the proxy it chooses is very strange.. like singapore when I'm connecting to London with the VPN.

 

Is there a way to get it to search again? or reset it or something?


@ycomp

ycomp
21 Mar 2019, 10:24

but the trade is executed, I mean attempted to be filled, as soon as it appears in the copy subaccount - I  mean, the delay is just for display of profits not order execution, correct?


@ycomp

ycomp
21 Mar 2019, 10:19

in the demo copied account it says "*Net and Gross Profits are updated with 1 minute delay"

does that happen live also? or is just because of demo?


@ycomp

ycomp
21 Mar 2019, 10:00

ok, this is my understanding now...

even if cTrader broker has copy enabled AND displays a copy icon in the cTrader Windows Desktop application, you still can only view copied positions by logging into the ct.BROKER.com/copy url in the web browser, correct?

 

also is there a list anywhere or brokers who support copy and to what level - or can you email me the list if it is not on the web?


@ycomp

ycomp
18 Mar 2019, 10:26

I think I understand, I need to install cTrader Copy from the broker - I was just testing it out with the spotware cTrader copy and couldn't see any subaccounts


@ycomp

ycomp
15 Mar 2019, 20:56

also in the broker client that is copying, there is no copy icon on the left, only analyze, automate and trade


@ycomp

ycomp
15 Mar 2019, 20:55

RE:

are you saying in the broker client that has the account that is copying the strategy, that it should have a subaccount under the account that now shows $0.00 (because funds were withdrawn by copying)?

I'm not really sure what a subaccount is.

The source of the strategy is a ct.spotware.com/copy web browser instance I am using .. should I be looking for subaccounts there instead? 

 

Panagiotis Charalampous said:

Hi ycomp,

Copied positions are only visible in cTrader Copy section. To see them you need to select the subaccount that is copying the strategy. If you still cannot see the copied positions, please send us some screenshots of both the strategy page and the subaccount page to investigate further.

Best Regards,

Panagiotis

 


@ycomp

ycomp
28 Feb 2019, 15:00

in v1 trading api (with java) the way to send and receive messages was to have a message sender thread and message receiver thread running. You send messages on the sender thread and receive them on the receiver thread.

Can I still use this approach with v2? Or do I need to use this netty like in the java examples and open a new connection and wait for the result each time I want to make a request?

 


@ycomp

ycomp
28 Feb 2019, 11:39

Hi,

can I use the new .proto v2 files with v1 trading api code?

I mean the code I have for trading api v1 , just replace the proto files and it should still work?

 


@ycomp

ycomp
18 Feb 2019, 11:43

has Open API v2 been released yet? It is safe to start moving my code over to it?


@ycomp