Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.2.0 Released
by DdlV. 12/01/21 18:04
Oanda LotAmount in Trade Mode
by JayWilly. 12/01/21 15:08
Price of entry with OrderDelay
by Zheka. 11/30/21 09:56
Issues with Binance Futures Plugin v1.0.2.9
by degenerate_762. 11/30/21 09:03
Lapsa's very own thread
by Lapsa. 11/29/21 00:56
Basic Time Windowed profit taking
by Petra. 11/28/21 07:38
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 11/27/21 15:02
Should be possible
by AndrewAMD. 11/27/21 14:56
AUM Magazine
Latest Screens
Tactics of World War I
Hecknex World
Scheherazade's Journey
Paradox Vector
Who's Online Now
6 registered members (AndrewAMD, 3run, Lapsa, degenerate_762, jack800, Quad), 507 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
allelxr, dcointrade, mcyr, AlgOz, Dark_Saber
18710 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: 22
Italy
D
dpn Offline OP
Newbie
dpn  Offline OP
Newbie
D

Joined: Dec 2020
Posts: 22
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: 405
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 405
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: 22
Italy
D
dpn Offline OP
Newbie
dpn  Offline OP
Newbie
D

Joined: Dec 2020
Posts: 22
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