Replies

PanagiotisCharalampous
02 Apr 2018, 09:54

Hi tinker.this,

You can find an example of how to draw a line here. Boxes are currently not available but maybe you can use a combination of horizontal and vertical lines.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Apr 2018, 09:32

Hi Marcus,

I would advise you to post your suggestion in the Suggestions section of our forum so that it is traceable by our Product Managers. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Apr 2018, 09:10

Hi Kaworu,

which method should i use in order for me to check the current value of the lines inside the indicator? not the current price of the symbol but the value inside indicator?

You can use the LastValue property of each IndicatorDataSeries.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 12:54

Hi weiqk,

Thanks now I understand. It is the same as in Order Cancel Request (MsgType(35)=F). The execution report should contain the same id as sent in the Order Cancel Request.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 12:48

Hi weiqk,

Thanks for the message but it is not clear what the question is.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 12:44 ( Updated at: 21 Dec 2023, 09:20 )

Hi weiqk,

The field is there, maybe you have missed it. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 11:44

Hi leonardo.ciaccio,

If you have any suggestion for further features on this functionality, feel free to post it in Suggestions.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 11:33

Hi swingfish,

Could you please send me the indicator to check?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 09:48 ( Updated at: 21 Dec 2023, 09:20 )

Hi Sasha,

If you share with me your cBot, I will share with you this one :)

Now, besides the fun, I am happy that I helped. if you are confident that you have got a good strategy, I would advise you to share it on cMirror and allow others to follow you as well. This way can increase your profits by allowing others to profit as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 09:37

Hi Kaworu,

This is just a sample. 1 represents the number of periods for which the check will take place. You can put any number you want.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 09:31

Hi yearn2012,

Yes Renko charts will be a part of the cAlgo.API as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
30 Mar 2018, 09:19

Hi irmscher9,

Programmers always put limits in such functionalities to avoid any unexpected issues. It is a part of a defensive programming strategy. So our programmers set an arbitrary high limit for this functionality as well. There is no justification why 10000 and not 9000 or 11000. It is just a high enough number that is adequate for almost all use cases and ensures the smooth operation of the application as well. Apparently, nobody complained for years :) If this is so important for you, I can investigate if it can be increased in one of the following updates.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Mar 2018, 12:06

Hi irmscher9

Here is a nice article on Reading and Writing CSV Files in C#

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Mar 2018, 11:51

Hi swingfish,

I really appreciate your feedback and I will forward it to the Product Managers of cTrader and cAlgo. We are always open to improvements and that is the reason we are releasing a beta version prior rolling out the platform to brokers.

However I feel the need to defend our choice to merge cTrader and cAlgo. This is not a minor feature, it is an architectural choice and it has been very well thought of. The benefits of it are 

  1. We have only one application and one codebase to manage. This means faster release cycles and full focus of the cAlgo team on the API and the programming part of the platform.
  2. All features are immediately obvious to the trader. So even a novice trader can find out that cTrader has a programming feature as well and feel free to explore it and find our more if she/he wishes to do so.
  3. This change is inline our product wide strategy, this being offering all features in a single trading application. If you have noticed we have also added the Analyze application and soon cMirror will be merged with cTrader as well in the cTrader Copy tab. For the future, we have more applications in mind i.e cTrader Store.

Regarding the disadvantages you mentioned.

  1. There is no restriction in having two instances of cTrader running at the same time. Therefore if you feel uncomfortable trading on a live account and programming a cBot at the same time, just run two instances as you did before. The only difference is that instead of having a cTrader and a cAlgo running, you will have two instances of cTrader. So, I really see no issue here.
  2. Having the two applications merged does not imply that the application will use double the memory. On the other hand, you will save on memory since running only one instance of cTrader will for sure use less memory than two instances. Just for your information there is a UAT in place for cTrader 3.0 not to use more RAM or CPU than cTrader v2.01.

Personally, I see no benefit of having separate applications for manual and automated trading respectively.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Mar 2018, 09:40

Hi Kaworu,

Let's suppose you have a Stochastic Oscillator

private StochasticOscillator _so;

You can a check like the below

_so.PercentK.HasCrossedBelow(_so.PercentD,1);

If you want to check the last value of the D line, then you can use the following property

_so.PercentD.LastValue

Let me know if the above is helpful.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Mar 2018, 09:33

Dear Trader,

Thanks for posting in our forum. Maybe it would be more efficient to contact the authors of these code samples directly. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Mar 2018, 09:29

Hi irmscher9,

There is no option to avoid these messages. A workaround would be to save these messages yourself in a csv file. This way you will have no limits in the number of messages you can store.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Mar 2018, 15:47 ( Updated at: 21 Dec 2023, 09:20 )

Hi _internet,

You can choose your MA Type from the cBot parameters. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Mar 2018, 14:19

Hi irmscher9,

A maximum of 10000 records can be shown in the Log grid. Can you check if you are not exceeding that number?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Mar 2018, 12:40

Hi irmscher,

Which version do you use, 2.01 or 3.0?

Best Regards,

Panagiotis


@PanagiotisCharalampous