Replies

PanagiotisCharalampous
09 Mar 2018, 11:35

Hi jjwes76@gmail.com,

What happens if many positions are open?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 09:51

Hi dimitri.vid101,

Based on your description, this can be implemented using cAlgo. You can consider assigning this task to a Consultant or post a Job.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2018, 09:13

Hi jjwes76@gmail.com,

You can use the NetProfit property of the opened position to check if is profitable. If you most your cBot code, I might be able to modify it accordingly for you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 14:27

Hi Cyril,

Your exceptions are thrown from the following two statements

1)

Symbol.Code.Substring(3, 3)

BRENT has only 5 characters so this statement will throw exception for BRENT.

2)

MarketData.GetSymbol("USD" + Symbol.Code.Substring(3, 3))

This will return "USD.GA". This is not a valid symbol. Please reconsider your GetVolume() function logic.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 12:58

Hi Cyril,

The cBot throws an exception. I will need the cBot code in order to tell you why the exception is thrown.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 12:48

Hi Cyril,

Can you check the log if there is any issue with your cBot? I checked both symbols on FxPro cAlgo and I don't see any problem with the tick data. If you can send me your cBot then I can check what is going on.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 11:28

Hi Cyril,

Thanks for posting in our forum. Please tell us which broker's cAlgo you are using and send us a screenshot of the time ranges where you have detected an issue so that we can check.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 09:59

Hi oneplusoc,

The example works fine. Probably you are doing something wrong in the process. It would be better to tell what you would like to do instead of solving exceptions one by one. It seems there are a lot of coding mistakes in your code because you mix bits and pieces from different code samples, but I cannot advise you on that since I don't know what you are doing. You could also consider getting some professional help from a Consultant

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 09:46

Hi jalmir.coelho@gmail.com,

Please see below an example how to get an indicator for a timeframe of your choice.

            var m15 = MarketData.GetSeries(TimeFrame.Minute15).Median;
            var macd = Indicators.MacdCrossOver(m15, 26, 12, 9);

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 09:42

Hi all,

This has been added to our backlog but for a future release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 09:37

Hi elmstreettrading,

There is no such feature currently in cTrader. You can suggest it in the Suggestions section.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Mar 2018, 09:32

Dear guimaraesfc,

Thanks for posting in our forum. Currently there is no way to change the location of the cBot buttons.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 15:26 ( Updated at: 21 Dec 2023, 09:20 )

Hi PapaGohan,

Thanks for sharing your suggestion with us. Just to let you know that it is already possible to use an indicator as an input to another indicator, if the indicator has already beed added to the chart. See example below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 14:03

Hi oneplusoc,

As the error message says, your indicator doesn't have a definition for this property. If you want to use it, you first need to define it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 11:39

Hi oneplusoc,

You should define your indicator as shown below

 private FX5_RSI_Divergence_V10_Indicator _DIV;

and initialize it as follows

 _DIV = Indicators.GetIndicator<FX5_RSI_Divergence_V10_Indicator>(Source, 14);

Let me know if this helps,

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 11:02

Hi eklon.sousa@gmail.com,

Could you please send us some troubleshooting information regarding this issue. When it happens again, please press Ctrl+Alt+Shift+T and submit the form that will pop up. In the text box, please put the link to this discussion.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 10:23

Hi oneplusoc,

Can you send me the indicator to fix this for you?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 09:41

Hi Alexander,

For execution issues you are advised to talk to your broker.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Mar 2018, 09:40

Hi oneplusoc,

The error comes from this line

private aa rsi v2 diver_DIV;

You should correct the code based on what you are trying to do.


Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Mar 2018, 14:30

Hi oneplusoc,

Here is a guide on how to reference custom indicators in cBots or other Indicators.

Best Regards,

Panagiotis


@PanagiotisCharalampous