Ignore Chart.Draw..... in optimization
Created at 24 Sep 2019, 16:57

Ignore Chart.Draw..... in optimization
24 Sep 2019, 16:57
Hi,
when use optimization and i have some function with Chart.Draw.... the optimization not work, i suggest to ignore it like MessageBox.
cTrader Automate
@ctrader.guru
Replies
genappsforex
19 Dec 2019, 08:57
RE:
Then also all references to the chartdraw objects should be ignored ofcourse.
@genappsforex
martins
12 Nov 2019, 21:35
...meanwhile, we have to put all Chart.xxx calls inside if statements such as
if (RunningMode != RunningMode.Optimization)
{
Chart.xxx(...);
Chart.yyy(...);
}
@martins