unfortunately, this chart cannot be closed with ChartClose(ChartID()) nor ChartClose(0). I will spend no more energy on this.
Just to inform those who are interested: I didn't manage to speed up significantly testing on i7 compared to core 2. By reducing 8 threads to 4 threads, those 4 threads execute a little bit slower than 8 threads. This shows that the size of L3 cache is not the issue.
It seems that new generations of CPUs are not speeding up as much as you would expect.
OK, i rechecked and ... you are right. It does close when either finished or interrupted (Stop), when there is at least 1 (one) successful pass.
It doesn't if all passes have failed during OnInit(). Unfortunately when i was checking, all passes were set to fail (intentionally), so that's why i reported it false. I always check before claiming something on forum.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thank you Alexx,
unfortunately, this chart cannot be closed with ChartClose(ChartID()) nor ChartClose(0).
I will spend no more energy on this.
Just to inform those who are interested:
I didn't manage to speed up significantly testing on i7 compared to core 2.
By reducing 8 threads to 4 threads, those 4 threads execute a little bit slower than 8 threads. This shows that the size of L3 cache is not the issue.
It seems that new generations of CPUs are not speeding up as much as you would expect.
unfortunately, this chart cannot be closed with ChartClose(ChartID()) nor ChartClose(0).
Just checked this piece of code:
And it did close the chart at the end of optimization.
OK, i rechecked and ... you are right. It does close when either finished or interrupted (Stop), when there is at least 1 (one) successful pass.
It doesn't if all passes have failed during OnInit(). Unfortunately when i was checking, all passes were set to fail (intentionally), so that's why i reported it false. I always check before claiming something on forum.