Replies

PanagiotisCharalampous
19 Mar 2018, 11:02

Hi lec0456,

It sounds like a defect. Could you please send us some troubleshooting information the next time this happens? You can do so by pressing Ctrl + Alt + Shift + T and submitting the form that will pop up. In the text box please paste a link to this discussion.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Mar 2018, 10:14

Hi Pipdays,

Thanks for posting in our forum.What is the full code you are looking for? The code sample posted above by Spotware can be incorporated in any cBot however it does not do anything as a standalone code sample. It is just an example on how to add this logic in your own cBot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Mar 2018, 10:09

Hi Singleton,

It would be easier for us to help you if you shared with us the complete indicator code.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Mar 2018, 10:07

Hi irmscher9,

Do you mean the AUD shown in your P&L columns? This is your account's currency not the pair currency.

Let me know if this is not what you mean.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Mar 2018, 14:11 ( Updated at: 21 Dec 2023, 09:20 )

Hi jjwes76@gmail.com,

It represents the periods. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Mar 2018, 14:14

Hi Leonardo,

Thanks for posting in our forum. Regarding your question, currently this is not possible in cAlgo.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Mar 2018, 14:06

Hi shelby.pereira,

Thanks for reporting this issue. Do you mind sending us a couple of screenshots so that we can see and investigate further?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Mar 2018, 09:50

Hi yearn2012,

The reason you cannot debug a custom indicator is because you probably installed cTrader 3.0 on a computer that already has cAlgo 2.01 installed. In this case, your existing cBots are not replaced, however they need a necessary addition in order to be debuggable in Visual Studio. In order to resolve this problem, please follow the next steps

  1. Go to Properties > AssemblyInfo.cs
  2. Add the following code at the bottom of the file
#if DEBUG
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations)]
#endif

This should fix your problem. Repeat this solution for every indicator/cBot you need to debug in Visual Studio. Newly generated cBots/Indicators should contain this attribute by default.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Mar 2018, 17:12

Hi irmscher9,

This is by design.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Mar 2018, 15:59

Hi irmscher9,

In order for your accounts not to show up in cMirror, you need to ask your broker to unlink them from your cTID.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Mar 2018, 14:08

Hi Alexander,

You can use  History.FindLast()

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 Mar 2018, 12:45

Hi Alexander,

You can use History to access historical trades. Let me know if this helps.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Mar 2018, 17:04

Hi peeppalts,

Probably your margin does not allow you to open such a high volume. If you hover your mouse over the volume dropdown in QuickTrade panel, you will see the margin required for the volume specified.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Mar 2018, 15:15

Hi burakocak1903,

Thanks for your suggestion. We will be definitely adding this feature in a future release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Mar 2018, 10:00 ( Updated at: 21 Dec 2023, 09:20 )

Hi emeeder1,

The feature is available when right clicking inside the History grid. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Mar 2018, 09:47

Hi .ics,

This issue has been fixed. Please make sure you have cleaned your cached chart history. Please see more details here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 17:39

Hi depot051,

Open API v2.0 is currently under development. We hope that we will be able to announce more soon.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 17:02

RE: RE:

eklon.sousa@gmail.com said:

Panagiotis Charalampous said:

Hi eklon.sousa@gmail.com,

You must have noticed that we usually avoid committing on dates :) We will roll out as soon as we make sure that we have a stable product. And the community's help in reporting issues is accelerating this process, therefore in much appreciated.

PS: We have managed to reproduce your issue and our engineers are working on fixing it.

Best Regards,

Panagiotis 

Ok thank you!

 

Is possible to connect to my broker using Beta version? This will help to test further

No this is not possible.

Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 16:47

Hi eklon.sousa@gmail.com,

You must have noticed that we usually avoid committing on dates :) We will roll out as soon as we make sure that we have a stable product. And the community's help in reporting issues is accelerating this process, therefore in much appreciated.

PS: We have managed to reproduce your issue and our engineers are working on fixing it.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 12:13

Hi,

Regarding your first question on how to avoid executing an order if one position is open has negative profit, you can use a condition like the following

if (Positions.Count == 0 || Positions[0].NetProfit > 0)

However it is still vague to me what you are trying to do, so I cannot advise you how to properly use it in your code.

Best Regards,

Panagiotis


@PanagiotisCharalampous