PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
20 Feb 2019, 09:38

Hi ctid731646,

Can you tell me your application ID?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 16:39

Hi bienve.pf,

cTrader Copy uses an equity to equity copying model therefore it works more or less like a PAMM. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:44

Hi Ton,

I would propose that as well. If you have heavy work going on in OnTick(), maybe you can consider a new thread. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:25

Hi Symposium,

This error comes up when you have a custom indicator and you pass the wrong number of parameters to the constructor. Can you please check your code?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:11

Hi Ton,

After checking further with the product team, my previous answer was not accurate. The way it works at the moment is that if a tick arrives before the execution of the previous OnTick() method is finished, then the tick will be ingored. Could you tell us more about what are you trying to achieve? Maybe we can provide an alternative solution.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:06

Hi terryww2,

Thanks for letting us know, we will investigate this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:05

Hi sky pips,

The code seems to be a bit contradicting. E.g you check if the SMA has crossed below the close price and then you check if the price is below the SMA. I guess this will always be false.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:02

Hi Patrick,

Thanks for your feedback. FYI linked charts has been one of the most voted features. Shortcuts will come in future versions but I cannot commit when. Nevertheless, they are in our backlog.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 10:29

Hi sky pips,

This paramaters indicates how many bars will be considered for the cross checking. So -1 is invarid and 0 will only check the current bar. If you set it to 1 it will check the previous bar as well and it is more apporriate when this function is used in an OnBar() method.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 10:26

Hi Sasha,

At the moment this is not possible in cTrader Automate.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 10:12

Hi Panzaman,

Thank you for posting in our forum. Can you please send us a file that reproduces the problem at community@spotware.com?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 10:02

Hi Symposium,

As the message indicates, you are probably using chart operations in the cBot e.g. drawing objects on charts. These operations are not supported in optimization.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 10:00

Hi netread2004,

Did you replace the token found in the sample application with one for your own accounts? If not, you need to generate a token for your accounts.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 09:49

Hi sky pips,

Why do you use -1 in HasCrossedAbove(MarketSeries.Close, -1) ?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 09:47 ( Updated at: 21 Dec 2023, 09:21 )

Hi Ton,

Is your email enabled? See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 09:40

Hi incdpr,

Did you try deleting the reference and adding it again?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 09:37

Hi Ton,

In principle it is possible. However you will need to develop the relevant checks in your OnTick() function to check for this occurence and the relevant actions to cancel you processing.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 14:47

Hi netread2004,

You should get either live or demo accounts depending on which proxy you have been connected to, demo.ctraderapi.com or live.ctraderapi.com.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 12:39

Hi Igor,

If you explain to us what are you trying to do, we might be able to help you. You can use a for loop for example but I do not know what is the problem you are trying to solve.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 12:05

Hi joshc1092,

You have entered the parameters the wrong way round. See below the correct way

            ma1 = Indicators.GetIndicator<ZeroLagEMA>(X1, Source);
            ma2 = Indicators.GetIndicator<ZeroLagEMA>(X2, Source);

Best Regards,

Panagiotis


@PanagiotisCharalampous