Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, Ayumi, PeWi, Quad, VoroneTZ), 513 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Orders not found #484371
10/16/21 16:57
10/16/21 16:57
Joined: Dec 2020
Posts: 27
Italy
D
dpn Offline OP
Newbie
dpn  Offline OP
Newbie
D

Joined: Dec 2020
Posts: 27
Italy
Hello,

Is there any mql experienced person that can explain to me why I get this kind of error every time I restart zorro (due to win 10 home edition mandatory update) while a strategy is running?

Example --> "Not found: Order 1227668080 Ticket 227668080 Offset 1000000000"

All real open trades are "not found" with this message (...offset 1000000000), while the phantom trades are correctly resumed.



The error appears to be related to this part of the zmq4.mqh file (row 109)

// handle tickets that exceed the int range

static ulong TicketOffset = 1;
int ticket32 (ulong Order)
{
ulong Ticket = Order% 1000000000;
if (TicketOffset == 1 && Order> 0)
TicketOffset = Order - Ticket;
// Print ("Order", Order, "Ticket", Ticket, "Offset", TicketOffset);
return (int) Ticket;
}




Thank you

Re: Orders not found [Re: dpn] #484378
10/18/21 15:46
10/18/21 15:46
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
I believe the zmq4 file was changed some months ago, check if you have installed the latest zorro and bridge version.

Also check the ticket numbers of the open positions, if they match the error message.

Re: Orders not found [Re: dpn] #484381
10/18/21 18:09
10/18/21 18:09
Joined: Dec 2020
Posts: 27
Italy
D
dpn Offline OP
Newbie
dpn  Offline OP
Newbie
D

Joined: Dec 2020
Posts: 27
Italy
Hello Petra,

you are right: I'm not using the latest zmq4 ( cry)

I beg your pardon.

Thank you

Regards.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1