Testing the new MQL5 compiler for x64 platforms - 2 to 10 times faster calculations! - page 10

 
forexman77:

Tradestation has become a broker and they have a 27 year history of intraday futures. Maybe you should become a broker too.

He became a broker, went arm in arm, oversold and ended up in the graveyard at Monex. Fell out of the competition.

https://www.google.com/trends/explore#q=tradestation%2C%20metastock%2C%20MetaTrader&cmpt=q&tz=


Global history service and more to come soon. Already in operation.
Google Тренды - Сервис: Поиск по Интернету. Запросы не указаны. - По всему миру, 2004 – настоящее время
Google Тренды - Сервис: Поиск по Интернету. Запросы не указаны. - По всему миру, 2004 – настоящее время
  • trends.google.com
Изучайте популярные поисковые запросы при помощи службы "Google Тренды".
 
Dmitriy Skub:

In general, the new compiler is still raw.

It speeded up about 2-2.5 times (pattern recognition and analysis system), but some results are not adequate - most likely something is wrong with the object arrays.

We are working on compiler update.

Please create a request to servicedesk, for error correction leading to incorrect results.
 
Renat Fatkhullin:

He became a broker, went arm in arm, oversold and ended up in the graveyard at Monex. He fell out of the competition.

https://www.google.com/trends/explore#q=tradestation%2C%20metastock%2C%20MetaTrader&cmpt=q&tz=


Global history service and more to come soon. Already in operation.
Mmmm MQ has the end of the second wave, the beginning of the third wave, it's time to go americana :)
 
Ilyas:
How do you compile for debugging (F5) or not (F7)?

When compiling for debugging, the Optimize key is ignored, we haven't worked on debugging optimization yet.
Thank you, it works! I'm just used to running scripts directly from the editor, rather than throwing them on a chart.
 

Found a bug when optimisation is enabled. It appears both in 1108 and 1114 builds. If you declare an array of struct type and set values right away, when the script runs, all the elements, except for the very first one, are actually empty. Example:

void OnStart() {
   struct p { int x, y; };
   p points[ 4 ] = {
      { 4, 5 },
      { 9, -1 },
      { 2, 8 },
      { 5, 3 }
   };
   Print( points[ 0 ].x );
   Print( points[ 1 ].x );
   Print( points[ 2 ].y );
}
The first Print will write correct value 4, the following commands will output 0.
 
xfo:
Thanks, it works! I'm just used to running scripts directly from the editor, rather than throwing them on the chart.
Note that when running in debug mode, optimization is disabled altogether. In other words, the speed of execution will be definitely slower.
 
xfo:

Found a bug when optimisation is enabled. It appears both in 1108 and 1114 builds. If you declare an array of struct type and set values right away, when the script runs, all elements, except for the very first one, are actually empty. Example:

The first Print will write correct value 4, the following commands will return 0.

Thank you for your message.

 

By the way, there is a beta version of debugging on history in build 1114.

Please give it a try.

 
Renat Fatkhullin:

By the way, there is a beta version of debugging on history in build 1114.

Please give it a try.

Does it apply to 64 bit platforms only?
 
No.