Optimization error

Created at 16 Jun 2019, 23:27
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
Danialsedigh's avatar

Danialsedigh

Joined 01.10.2016

Optimization error
16 Jun 2019, 23:27


11/04/2019 04:30:02.369 | Backtesting was stopped
11/04/2019 04:30:02.369 | Crashed in OnStop with NotSupportedException: Chart operations are not supported in optimization
11/04/2019 04:30:02.369 | Crashed in OnTick with NotSupportedException: Chart operations are not supported in optimization
11/04/2019 04:30:02.369 | Backtesting started

 how can i fix them?

im remove ctrader 4 time and then install 

but not fix this error 


@Danialsedigh
Replies

PanagiotisCharalampous
18 Jun 2019, 12:28

Hi Danial,

You cannot use chart operations on backtesting e.g. drawing objects in your chart. If you want to optimize your cBot, you need to remove this functionality from the code.

Best Regards,

Panagiotis


@PanagiotisCharalampous