Replies

PanagiotisCharalampous
10 Dec 2021, 08:59

Hi sirinath,

I tried your source code but I cannot reproduce any general problem. Looks like a resource issue of your computer. Downloading so much data is a resouce intesive task and you need to make sure that your computer can handle this.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 09:58

Hi sirinath,

To be able to reproduce your problem, you need to share with us your cBot code as well as cBot parameters and dates.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 09:53

Hi firemyst,

My suggestion is the followng

  1. In OnBar enable a timer with an interval e.g. 1 second
  2. On each timer interval execute your checks and logic. Between the intervals, the main thread is freed to update the information
  3. After your job is finished, stop the timer

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 09:28

Hi gds59trade,

Copy and paste for drawings has been available since v4.0.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 09:25 ( Updated at: 09 Dec 2021, 11:14 )

Hi HV37,

Please provide us with your account number and send us some troubleshooting information from your application the next time this happens. To do so, please tap 7 times on the logo inside the main menu.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 09:21

RE: I had a futher look at this and now believe this is a Ctrader Bug.

trading1 said:

I have done extensive testing and this happens with the crossover method on the 1, 2 an 5 min forex charts where it leaves trades open no matter a stop loss or indicators crossing..

This is dangerous for trading and can lead to heavy losses for Bots. I beleive there is something wrong with the crossover method in C trader. 

Hi trading1,

You need to report your issue in the relevant section of the forum and provide the source code and steps to reproduce so that we can check.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 08:57

Hi firemyst,

cBots run on the same thread as the UI, so when you put the thread to sleep, then the whole thread will sleep. Symbol informaton cannot be updated while the OnBar method is executed. To help you further, you wull need to explain to us what are you trying to achieve.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Dec 2021, 08:51

Hi Sirinath,

cTrader currently uses .Net Framework 4.0/C# 4.0. It will be upgraded to .Net 6.0/C# 10 in the next update.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Dec 2021, 16:43

Hi sirinath,

The new version will be released soon on Spotware cTrader Beta but will take some time to reach brokers and production environments. At the moment, cTrader uses .Net/C# 4.0

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Dec 2021, 16:27

Hi sirinath,

The next release of cTrader Desktop will use the latest .NET and C# version.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Dec 2021, 13:40

Hi ncel01,

You can just save the info you need to maintain in a file and load it on start up.

Regarding the updates, we roll them out in stages, so some brokers receive them earlier than others.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
08 Dec 2021, 12:41

Hi ncel01,

Pending orders are not deleted when you restart cTrader. If you want your cBot to maintain the state between restarts, then you need to program this yourself.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2021, 11:56

Hi jojo887714,

You can post your job here.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2021, 11:02

Hi yuval.ein,

There is development involved in this feature. If we devote resources in this one, it means we will have to delay features with higher demand, something that is not fair for other traders.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2021, 09:48

Hi yuval.ein,

Your suggestion has gathered only 4 votes, so it is not a priority at the moment. Your issue can be easily solved by just starting the backtesting at an earlier date.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2021, 09:00

Hi yuval.ein,

No it does not.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2021, 08:25

Hi Giorgo,

There are many reasons this can happen. You can find them here.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2021, 16:08

Hi ncel01,

No, the equation is the one I provided above, assuming that the unit of measurement of the margin i.e. the currency, is the same to the one used for the account. Else you will need to make the relevant conversions.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2021, 14:40

Hi ncel01,

If there is no conversion applicable then the equation should be

margin = Volume / leverage

However you are applying conversions here.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Dec 2021, 14:17

Hi ncel01,

In case of a limitation, due to minimum trading quantities/increment, will the highest equity/volume ratio (higher margin) be considered for the provider or the investor?

Values are rounded to the closest valid volume.

 What is the maximum deviation considered for provider/investor margin ratio?

I don't understand what do you mean here. Can you please clarify?

 Are the minimum trading quantities always applicable to the investors, even if the calculated quantities based on this copying model are lower than the minimum quantities?

Yes

Best Regards,

Panagiotis 

Join us on Telegram and Facebook 


@PanagiotisCharalampous