Asset missing / unavailable error

Posted By: pcz

Asset missing / unavailable error - 10/05/16 13:59

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
Posted By: jcl

Re: Asset missing / unavailable error - 10/05/16 14:29

Can you post the MT4 experts log when this happens? It will tell us what's going on on the MT4 side.
Posted By: pcz

Re: Asset missing / unavailable error - 10/05/16 18:34

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!
Posted By: pcz

Re: Asset missing / unavailable error - 10/07/16 14:08

(and when it happens the trades on the pairs which give the error are not resumed and have to be closed manually)
Posted By: jcl

Re: Asset missing / unavailable error - 10/10/16 08:53

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.
Posted By: pcz

Re: Asset missing / unavailable error - 10/11/16 16:30

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).
Posted By: jcl

Re: Asset missing / unavailable error - 10/12/16 15:24

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.
Posted By: pcz

Re: Asset missing / unavailable error - 10/12/16 16:48

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.
Posted By: jcl

Re: Asset missing / unavailable error - 10/13/16 12:09

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?
Posted By: jcl

Re: Asset missing / unavailable error - 10/28/16 16:09

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?
Posted By: pcz

Re: Asset missing / unavailable error - 10/29/16 10:22

Originally Posted By: jcl
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?


Yes, exactly.

FYI: Regarding the previous problem, I haven't contacted the support yet because I was forced to switch VPS for another. On the new one the errors 30 and 53 haven't appeared yet.
Posted By: jrath

Re: Asset missing / unavailable error - 03/28/17 17:55

Had this same exact same issue. Solved the error msg by rebooting MT4 - it had been running all week. It was a demo account. Same thing happened to my open trades lost them. So still an issue with Zorro 1.54
Posted By: MINER

Re: Asset missing / unavailable error - 10/31/18 12:54

Originally Posted By: pcz
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

Elaborate this further jcl
© 2024 lite-C Forums