Errors, bugs, questions - page 2478

 
fxsaber:
These constants

and many others are absent from the SB.

Better to be missing than as it is now:

For example FILE_SHARE_READ in MQL = 0x80,

and in WinAPI = 0x01

 
A100:

For example FILE_SHARE_READ in MQL = 0x80,

and in WinAPI = 0x01

Yeah, I've run into that in my time. Got into a lot of trouble.

 

Hi.

There is a template collection, how do I declare a variable of the same type as the data type in the collection?

template <typename T>
class vector {
...
   typedef T value_type;
}

void start() {
   vector<int> v;
   v::value_type d;  // Как?
}
 
Who knows what the bug is in build 2007 mt5
 
Почему не правильно отображаются ордера?
Почему не правильно отображаются ордера?
  • 2019.02.27
  • www.mql5.com
Почему то при тестировании эксперта с отложенными ордерами позиции на графике не правильно отображаются. Раньше такого не было...
 
Sergey Dzyublik:
Again an hour of searching for errors in the project code has led to the specifics of MT5 (build 2049).

Some part of the Expert Advisor's logs may not be displayed in the terminal without notifying the user about it.
We have these logs in the log file - everything is OK there.


Somehow the log queue somehow displays record with number 395, all records before and after this number are displayed in МТ log.
Thus test #395 always fails.

Tried to reproduce your case. I have a stable jam on entry number 198

Thanks, reproduced the problem. A fix will be in the coming or next (if not in time) build.

 
fxsaber:

Once again I ask you to disable limit orders and take slippage in the tester on custom symbols on real ticks.

Now everyone who is driving in the Strategy Tester by real ticks, where limit orders or take orders are applied, belong to one of three categories

  • Do not believe that they are cheated by the tester.
  • The pseudo-physicists.
  • fxsaber.

A big request to stop this practice at least on custom symbols. This is not only to prevent the tester from lying, but also to make it work faster.

There are a lot more people in the third category. The test on the castum story with thinned ticks due to slips shows completely unrealistic results.

 
Andrey Khatimlianskii:

There are a lot more people in the third category.

Cool! Getting twisted in the form of Netting + Exchange, otherwise the Tester shows completely inadequate results.

The test on a castaway story with thinned ticks due to slips shows completely unrealistic results.

Even without thinning, the cheating comes out to be decent.

 

Forum on trading, automated trading systems and trading strategy testing

Bugs, bugs, questions

Sergey Dzyublik, 2019.05.23 13:52

Trying a new approach: from a list of bugs, choose the most "priority" for us, and put it first in the queue...

(not fixed in MT5(build 2072))"Compilation error when using the same function signature repeatedly within typedef".
(fixed in MT5(build 2072))"Bug with log queue in MT terminal, supposedly when number of messages in queue reaches the limit, memory is reallocated with re-copying, however one message is lost".
(fixed in MT5(build 2069))"Compilation error when passing (void*)(NULL) parameter to template function".
(corrected in MT5(build 2059))"Strategy Tester: 2 passes planned, but in practice infinite number of passes > 900pcs due to "OnInit critical error" error".
(not fixed in MT5(build2072))"Compiler does not see default class copy constructor when returning class object by value from function".
(not fixed in MT5(build2072))"Invalid value of array size field within default assignment operator for structures with dynamic arrays".
(fixed in MT5(build 2059))"Compilation error when performing a type cast "in itself" for pattern classes and "complex" structures".
(not fixed in MT5(build2072))"When working with typedef, using a template function with explicit specialization does not generate code for this template function.
(not fixed in MT5(build2072))"A significant part of functions for string handling doesn't work with NULL characters in a string (for example: ShortArrayToString, StringInit, StringFill)".
(not fixed in MT5(build2072))"The StringSetLength function only works to "trim" the string length, not to increase it.
(fixed in MT5(build 2057))"Strategy Tester: 750 "metatester64.exe" processes are running".
"Forum www.mql5.com, when editing a message with a picture, the previous picture is not replaced with the new one".


Suggestions:
"Allow user to force code generation/deletion for default assignment operator (copy constructor)".
"Allow ArrayCopy to copy classes and "complex" structures, similar to how structures provide deep copy functionality for any object type".
"Provide functionality for user to read/set Capacity value when working with dynamic arrays".
"Changes to improve infographics of the Signals service"


 
The site search is completely broken.