Earendur
Earendur 's avatar

Info

Username:grandom
Name:Earendur
Member since: 17 Jun 2022

Favorite symbols:

GBPUSD

About

None

Signature

None

Last Forum Posts

@FXCM:  03 Feb 2023, 10:59


hi,
If possible, please add FXCM broker to your partners.
Thanks.

@Simple way to licence cBot:  15 Sep 2022, 23:35


Check that License Generator

It binds the cBot to cTrader account using user ID number which is obtained by this indicator

@License Key:  15 Sep 2022, 23:30


Check that License Generator

@Backtesting data issues:  12 Sep 2022, 22:29


Hi Lisa,

Need to discuss a coding thing with you if you don't mind. As I don't have a way to contact you please pm at Telegram 

Thanks

@Total of unrealized net:  06 Sep 2022, 07:22


PanagiotisCharalampous said:

Hi aranath,

Can you share parameters and dates? I have a hard time reproducing this.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Ok here we go.

The parameters are saved on file uploaded on https://drive.google.com/file/d/1wYawUXzcb9VP9-ZHp887SOM5kZU1PFQD/view?usp=sharing

and can be used on the cBot previously mentioned.

Backtest settings as shown in picture below

Backtest time frame: 5 min

Backtest start date: 8/3/2022

Examples of end dates that will generate positions of faulty unrealized net total:

14/03/2022
16/03/2022
18/03/2022
21/4/2022
22/4/2022
21/05/2022
31/07/2022

After cTrader team checks that, it will be necessary to check the same thing for the optimization engine, whether the unrealized net of open positions is faulty for optimization engine or not. If both engines share the same block of code responsible for the calculation of unrealized net, then such step won't be necessary, well the team knows better the whole picture and how such bug links to other components and the impact on other features, I think you get my point.

@Total of unrealized net:  05 Sep 2022, 15:53


PanagiotisCharalampous said:

Hi aranath,

Can you share parameters and dates? I have a hard time reproducing this.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Sure but still at work atm when i get back will share them with you

@Total of unrealized net:  05 Sep 2022, 13:09


PanagiotisCharalampous said:

Hi aranath,

Can you share some code that will allow us to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

https://ctrader.guru/?repository=ema-power&category=cbots

Allow more than 1 trade, 5 or 10, the key thing is to have possibility to have multiple open positions at the end of a backtest.

Any cBot may have this possibility as long as no restriction is imposed on max number of positions allowed at any moment.

@Total of unrealized net:  05 Sep 2022, 11:43


PanagiotisCharalampous said:

Hi aranath,

Which cTrader version do you use?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Latest versions in both spotware and fxpro, same bug in both. 

Not on my desktop atm, but spotware is 4.3.something and fxpro is 4.2.something

@Total of unrealized net:  05 Sep 2022, 08:55


Greetings,

As shown below, in backtesting, the total of unrealized net gives wrong value sometimes, and correct value sometimes.

Producing such behavior is simply by choosing different end dates and check the number, while of course the cBot must have the ability to open multiple positions at the same time.
For easing things, when positions are too many just move to another date so you can manually check the value.

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.

No uploaded.

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.