Replies

PanagiotisCharalampous
13 Jul 2021, 11:06

Hi,

As the message indicates 

Error CS0618: 'cAlgo.API.Robot.ExecuteMarketOrder(cAlgo.API.TradeType, cAlgo.API.Internals.Symbol, double, string, double?, double?, double?, string, bool, cAlgo.API.StopTriggerMethod?)' is obsolete: 'Parameter 'Symbol symbol' was replaced with 'string symbolName'. More details here https://ctrader.com/forum/announcements/15847'

Check here for the available overloads of the method.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook 


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 11:03

Hi yaqeenmnoor,

Can you share the log? Did you try installing using a VPS?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 11:00

Hi Vasile,

Thanks for your contribution, great work!

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:57

Hi notzen,

I did not understand what the problem is and I do not see any issue with the indicator. Could you please provide a better explanation? The indicator seems to work as per the indicator's definition.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:45

Hi ctid4064603,

It's in the backlog but we do not have an ETA at the moment.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:44

Hi tradex1,

Thanks for your suggestion. But all this info needs to be provided by the developer, not by Spotware. It's impossible for us to monitor every possible cBot/Indicator that exists out there. Our obligation here is to warn you, something that we do. If you do not trust the developer and you don't know what does the source code do, just don't use the cBot/Indicator.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:39

Hi emmykasper33,

To investigate this issue, we will need the cBot's source code and exact steps that will allow us to reproduce it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:38

Hi manelfx9530,

.algo files are compressed and encrypted so that they cannot be opened. If the developer wants to, then they contain the source code which becomes available and editable in VS after the algo has been installed on your computer.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:35

Hi manelfx9530,

Probably your broker did not receive the update yet.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:19

Hi ctid3999979,

See below the replies to your questions

How many previous bars does this get?

There is no specific number. It depends at which time the method is called.

do these bars get added to the data1Min variable

Yes

Can I get confirmation one how the indexing works for the Last(i) property please?

Last(0) = current bar
Last(1) = previous bar

This is correct

LastBar = Last(1) = previous bar

No LastBar = Last(0)

If Last(0) = current bar, then it will have values for Open, Low and High (Low and High could change until the bar closes) but it won't have a Close value until the bar closes?

Close price for open bars is always equal to the bid price.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:14

Hi cameronwilliams20,

We could not reproduce such a behavior. Next time this happens, please send us some troubleshooting information. To do so, press Ctrl+Alt+Shift+T, copy the link to this discussion and paste it in the text box of the form that will appear and then press Submit.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Jul 2021, 10:11

Hi phuchieu1101,

Which broker is this? Did you talk to your broker?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jul 2021, 16:26

Hi mackiefx,

Any chance you can check your Event Viewer and let us know if there are any messages that could help us identify the issue?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jul 2021, 09:09 ( Updated at: 21 Dec 2023, 09:22 )

Hi janhuester,

There is a search button on the top right corner of this site. The easiest way would be to search through Google, like below

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jul 2021, 08:13

Hi prlozc,

Use GetBars() instead.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jul 2021, 08:10

Hi Shares4us,

do they have to be instantiated in the thread itself also?

Yes this is correct. cAlgo API is not thread safe, so issues might arise for any object.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jul 2021, 08:08

Hi kebbo,

This issue should have been fixed in 4.1.6 of cTrader Desktop. Can you check which version you are running?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jul 2021, 15:24 ( Updated at: 21 Dec 2023, 09:22 )

Hi Xammo,

No, your actions take place in the cBots section

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jul 2021, 14:05

Hi Xammo,

Ok now I understand. The indicator logs are only available in the Indicators section of cTrader Automate. They are not available when the indicator is added on a backtesting chart.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jul 2021, 11:09

Hi Shares4us,

We usually get this error when indicators are accessed by a different thread. cAlgo is not thread safe therefore such exceptions might occur when such data is accessed by a different thread.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous