Replies

PanagiotisCharalampous
26 May 2024, 07:29

Hi there,

If you close the window, then it does not exist anymore, you would need to reinitialize it. Once a window is closed, the same object instance can't be used to reopen the window.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:25

RE: How to add and remove cBots with cTrader 5

WizardlyLuke said: 

By chance do you have any ETA on when that will be available? I'm just trying to add an algo to a chart from another algo and I am getting an error "Adding robot My Algo 123 to chart d4bc8922-0b28-4237-aeb0-f2c325287f5f failed with error Chart d4bc8922-0b28-4237-aeb0-f2c325287f5f is not a valid chart for add robot operation.

Also what is a valid structure for passing the parameters to ChartRobots.Add?

Thanks!

Hi there,

You are probably trying to run the cBot an Algo chart. You should use it in the Trade section instead.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:22

Hi Clark,

You can keep track of which orders you are cancelling yourself by keeping them in a collection on the client side. Then you can check if the cancelled order exists in your collection or not.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:18

Hi there,

Can you please describe the exact steps you follow to receive this error?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:17

Hi there,

Please share with us your cBot code and all the relevant optimization settings so that we can reproduce the issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:13

Hi there,

The calculation was not correct, also it was causing performance issues, therefore it was removed.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:08

Hi there,

These are custom cBots/indicators running on your cTrader. Try removing some from your application.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:06

RE: RE: RE: RE: RE: Ctrader not running any backtest or optimization for any of the bots

pedrointer.12 said: 

PanagiotisCharalampous said: 

pedrointer.12 said: 

PanagiotisCharalampous said: 

pedrointer.12 said: 

cTrader Forum - Backtest, Optimization is Not Working

This forum post also has the same issue as me. We even have the same saversion of windows and the AMD 5. 

I am able to run backtest on visual mode, but It is impossible for me to optimize. 

Hi there, 

Can you click on a pass and check the log? There should be some useful information there.

Best regards,

Panagiotis

Thank you for replying Panagiotis. 

I just checked the logs and these are the results 

18/02/2024 01:00:00.000 | Failed to place Market Order Sell EURUSD 100000 with error code UnknownSymbol

18/02/2024 01:00:00.000 | Failed to get symbol 'EURUSD': Symbol not found or has no quotes.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data cleared.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data not available or corrupted.

18/02/2024 01:00:00.000 | Failed to get symbol 'EURUSD': Symbol not found or has no quotes.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data cleared.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data not available or corrupted.

18/02/2024 01:00:00.000 | CBot instance [Sample Martingale cBot, EURUSD, h1] started.

Hi there,

This is a known issue in cTrader 4.8 and should have been resolved in v5.0. Can you please download v5.0 and let me know if the issue persists?

https://ctrader.com/download

Best regards,

Hello,

 

I just uninstalled the previous version and installed the new version 5.0.21

I am afraid that the problem persists and with the same messages in the logs.

Attentively,

Pedro

Hi there,

Could you please share some screenshots with the log messages and send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

cTrader Team


 


@PanagiotisCharalampous

PanagiotisCharalampous
26 May 2024, 07:04

Hi there,

Can you record a video demonstrating this happening? Also could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis


 


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 13:26

Hi Carsten,

We so not have short term plans for this unfortunately.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 13:24

RE: RE: RE: Ctrader not running any backtest or optimization for any of the bots

pedrointer.12 said: 

PanagiotisCharalampous said: 

pedrointer.12 said: 

cTrader Forum - Backtest, Optimization is Not Working

This forum post also has the same issue as me. We even have the same saversion of windows and the AMD 5. 

I am able to run backtest on visual mode, but It is impossible for me to optimize. 

Hi there, 

Can you click on a pass and check the log? There should be some useful information there.

Best regards,

Panagiotis

Thank you for replying Panagiotis. 

I just checked the logs and these are the results 

18/02/2024 01:00:00.000 | Failed to place Market Order Sell EURUSD 100000 with error code UnknownSymbol

18/02/2024 01:00:00.000 | Failed to get symbol 'EURUSD': Symbol not found or has no quotes.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data cleared.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data not available or corrupted.

18/02/2024 01:00:00.000 | Failed to get symbol 'EURUSD': Symbol not found or has no quotes.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data cleared.

18/02/2024 01:00:00.000 | Symbol 'EURUSD h1' cached data not available or corrupted.

18/02/2024 01:00:00.000 | CBot instance [Sample Martingale cBot, EURUSD, h1] started.

Hi there,

This is a known issue in cTrader 4.8 and should have been resolved in v5.0. Can you please download v5.0 and let me know if the issue persists?

https://ctrader.com/download

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 13:19

Hi there,

The History does not show positions but deals, which are a different entity. You read about it below

https://ctraderofficial.medium.com/orders-deals-and-positions-in-ctrader-d1faba023eca

Best regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 13:07

RE: RE: Cloud trading mode Chart

sonnguyenvuson said: 

PanagiotisCharalampous said: 

Hi there,

Νο, cBots executed on the cloud do not have access to the local chart.

Best regards,

Panagiotis

So can cBot still draws and accesses chart icons or lines on the cloud albeit I cannot visualize or change them on local chart?

Thank you!

Hi there,

There is no chart on the cloud so these methods are just irrelevant on the cloud.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 06:53

Hi there,

Here you go

if (ChartManager.ActiveFrame is ChartFrame activeChartFrame)
{
    Print(activeChartFrame.Symbol?.Name, " ", activeChartFrame.TimeFrame);
}

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 06:08

Hi AlgoFX,

Just paste the link in the text. Like here

https://app.ctrader.com/copy/strategy/74450

Best regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 05:59

Hi there,

Try uninstalling and reinstalling the application.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 05:48

Hi there,

This feature will be added back in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 05:46

RE: RE: Different Backtesting results

personalmailgt said: 

PanagiotisCharalampous said: 

The bot's code doesn't matter; all bots do the same thing with the same parameters and timeframes. Could there be such radical inaccuracies in historical prices? How do I determine the accuracy of historical prices?

 

Spotware Demo accounts are for demonstration purposes only so there might be inaccuracies. If you want accurate historical data, use a broker's account.


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 05:42

Hi there,

Can you share some code and instructions to reproduce this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 May 2024, 05:40

Hi all,

Please share your indicator code so that we can investigate.

Best regards,

Panagiotis


@PanagiotisCharalampous