Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Asset missing / unavailable error #462507
10/05/16 13:59
10/05/16 13:59
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
When I start trading (Zorro 1.5 + MT bridge) I get random errors like the following ones. It can happen several times in a row but each time the asset can be different:


Error 053: USD/JPY unavailable at this time
...
[USD/JPY:IS:L0121] - USD/JPY not found
...
Error 030: asset USD/JPY missing in INITRUN

Re: Asset missing / unavailable error [Re: pcz] #462509
10/05/16 14:29
10/05/16 14:29
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Can you post the MT4 experts log when this happens? It will tell us what's going on on the MT4 side.

Re: Asset missing / unavailable error [Re: jcl] #462517
10/05/16 18:34
10/05/16 18:34
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
This is it. No mention of the pair causing the errors:

Quote:
0 15:06:24.634 Zorro EURUSD,M1: Zorro Disconnected!
0 15:06:26.259 Zorro EURUSD,M1: Zorro Connected!
0 15:06:28.137 Zorro EURUSD,M1: AUDUSD end of history at bar 12
0 15:06:28.137 Zorro EURUSD,M1: Send 12 AUDUSD bars at 2016.10.05 13:06 (0 - 12)
0 15:06:28.526 Zorro EURUSD,M1: AUDUSD end of history at bar 12
0 15:06:28.526 Zorro EURUSD,M1: Send 1 AUDUSD bars at 2016.10.05 10:14 (11 - 12)
0 15:06:34.913 Zorro EURUSD,M1: EURUSD end of history at bar 12
0 15:06:34.913 Zorro EURUSD,M1: Send 12 EURUSD bars at 2016.10.05 13:06 (0 - 12)
0 15:06:35.662 Zorro EURUSD,M1: EURUSD end of history at bar 12
0 15:06:35.662 Zorro EURUSD,M1: Send 1 EURUSD bars at 2016.10.05 10:14 (11 - 12)
0 15:06:36.477 Zorro EURUSD,M1: GBPUSD end of history at bar 12
0 15:06:36.477 Zorro EURUSD,M1: Send 12 GBPUSD bars at 2016.10.05 13:06 (0 - 12)
0 15:06:36.840 Zorro EURUSD,M1: GBPUSD end of history at bar 12
0 15:06:36.840 Zorro EURUSD,M1: Send 1 GBPUSD bars at 2016.10.05 10:14 (11 - 12)
0 15:06:39.327 Zorro EURUSD,M1: NZDUSD end of history at bar 12
0 15:06:39.327 Zorro EURUSD,M1: Send 12 NZDUSD bars at 2016.10.05 13:06 (0 - 12)
0 15:06:39.355 Zorro EURUSD,M1: NZDUSD end of history at bar 12
0 15:06:39.355 Zorro EURUSD,M1: Send 1 NZDUSD bars at 2016.10.05 10:14 (11 - 12)
0 15:06:39.673 Zorro EURUSD,M1: USDCAD end of history at bar 12
0 15:06:39.673 Zorro EURUSD,M1: Send 12 USDCAD bars at 2016.10.05 13:06 (0 - 12)
0 15:06:39.990 Zorro EURUSD,M1: USDCAD end of history at bar 12
0 15:06:39.990 Zorro EURUSD,M1: Send 1 USDCAD bars at 2016.10.05 10:14 (11 - 12)
0 15:06:42.430 Zorro EURUSD,M1: USDCHF end of history at bar 12
0 15:06:42.430 Zorro EURUSD,M1: Send 12 USDCHF bars at 2016.10.05 13:06 (0 - 12)
0 15:06:43.896 Zorro EURUSD,M1: USDCHF end of history at bar 12
0 15:06:43.896 Zorro EURUSD,M1: Send 1 USDCHF bars at 2016.10.05 10:14 (11 - 12)
0 15:07:05.626 Zorro EURUSD,M1: Zorro Disconnected!
0 15:07:10.789 Zorro EURUSD,M1: Zorro Connected!

Re: Asset missing / unavailable error [Re: pcz] #462542
10/07/16 14:08
10/07/16 14:08
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
(and when it happens the trades on the pairs which give the error are not resumed and have to be closed manually)

Re: Asset missing / unavailable error [Re: pcz] #462562
10/10/16 08:53
10/10/16 08:53
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Sorry for the late response. It seems that the asset is not found even before downloading the history. Can you make the following change (red) to the Zorro.mq4 EA?

case CMD_ASSET:
if(!Update) break;
string asset = assetFix(ZorroString());
arr[0] = MarketInfo(asset,MODE_ASK); // price
Print(asset," price: ",arr[0]);
if(arr[0] == 0) {
...

Then attach the EA to the chart and start the session again. It will now print a lot to the Experts log, so stop it after the history was downloaded. The interesting part are the log lines with the missing asset.

Re: Asset missing / unavailable error [Re: jcl] #462576
10/11/16 16:30
10/11/16 16:30
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
The missing asset and its price are there in the log like all the other ones.

Another small thing - it seems that the dialogs asking whether to close all open positions and stop trading appear randomly (sometimes both and sometimes neither of them).

Re: Asset missing / unavailable error [Re: pcz] #462586
10/12/16 15:24
10/12/16 15:24
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The "close all trades" dialog does not appear when there are no trades to close. - Ok, next attempt. Please set Verbose to 15, start the script with the price printing modification, and stop it after the history download. You should now have 3 logs, the Experts and Zorro log and the Diag text. Please send them to Zorro Support. This should be sufficient to find out what's happening.

Re: Asset missing / unavailable error [Re: jcl] #462590
10/12/16 16:48
10/12/16 16:48
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
Originally Posted By: jcl
The "close all trades" dialog does not appear when there are no trades to close.


That wasn't the case. There were maybe 6 trades. I stopped trading - no dialog. Resumed and stopped again, still no dialog. Then I did the same for the third time and suddenly the two dialogs appeared.

OK, I'll send the logs to the support.

Re: Asset missing / unavailable error [Re: pcz] #462596
10/13/16 12:09
10/13/16 12:09
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Hmm. I can imagine a random asset problem with a particular MT4 configuration, but it is hard to imagine why a dialog randomly disappears on a particular PC.

Can it be some simple explanation - such as a defect mouse button that sends two clicks instead of one?

Re: Asset missing / unavailable error [Re: jcl] #462781
10/28/16 16:09
10/28/16 16:09
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
I believe we found a situation where the dialog really does not appear (when you clicked [Stop] while a price request was processed by MT4) - but then the close dialog should also not appear. It would just log out. Was this the case?

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1