Replies

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

PanagiotisCharalampous
18 Feb 2019, 12:00

Hi netread2004,

You cannot get Symbols if you do not get an account authorized first. So 1) Authorize your application 2) Get Accounts List 3) Get Symbols. Get Accounts List does not hang, it just takes some time if you have a lot of accounts.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:47

Hi ycomp,

Yes Open API 2.0 has been released. See here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:39

Hi Igor,

Is this what you are looking for?

Positions.Where(x => x.SymbolCode == "EURUSD")

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:34

Hi Glen,

Renko charts have been released in cTrader Desktop 3.3. You can have a look at them.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:34

Hi Alexander,

The built in indicator does not support this. You will need to develp your own indicator.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:30

Hi incdpr,

Can you share your cBot code and steps to reproduce your problem? If we manage to reproduce it, we might be able to assist you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:26

Hi all,

We will add this option in one of the future updates.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Feb 2019, 11:23

Hi Glen,

Thanks for your suggestions. I would suggest to post them in the Suggestions section or in UserVoice so that product managers can have them in one place.

Best Regards,

Panagiotis


@PanagiotisCharalampous