How do I clear the structure? Or how to create an unnamed object? In C / C++, it would look like this.
MqlTradeRequest request = MqlTradeRequest();
Clearing a structure or unnamed object
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
alexeyvik
Nothing strange. 518 is garbage from which the programmer must clean the variables themselves.
c-4
You can do this:
MqlTradeRequest request = {0};
Or so:
ZeroMemory(request);