dingmaotu / mql-zmq

ZMQ binding for the MQL language (both 32bit MT4 and 64bit MT5)
Apache License 2.0
553 stars 301 forks source link

Error on ZmqMsg.mqh #40

Closed mcast123 closed 5 years ago

mcast123 commented 5 years ago

Hello. I have been using this MQL-ZMQ library for 2 months, but today I started to get the following error. I tried to download the library again, replacing the old files for the new ones but the bug persists. Any idea how to fix it?

image

image

edgarbs1998 commented 5 years ago

Hello,

I do have the same issue. @mcast123 you have closed this ticket, did you figure out how to fix it? If so, could you share your solution, please.

Btw, this is happening to me on MQL5, on MQL4 it just works.

mcast123 commented 5 years ago

Hi @edgarbs1998.

I deleted the metatrader 5 and all its folders and then reinstalled. The bug disappeared. But I still dont know what was causing it exactly...

vstiern commented 5 years ago

Hi @dingmaotu ,

I would love to understand this problem as it keeps reappearing for me. Any ideas?

Experienced this from start using MT5 via Wine on both Mac and Linux. Now running a VM with Windows 10 over Azure. Error occurred after a day of use. Reinstalled MT5 run successfully but later same bug appeared again. Error occurs after re-compiling a modified EA. Can always compile TestZMQ.mq4 successfully but not after changing extension to .mq5.

Thanks for your help in advance!

//M.

dingmaotu commented 5 years ago

From the error message, I suppose it's because I use the name data both as a parameter name and a method name. The MQL compiler may become stricter on such usage. I will change the parameter name.

guzuomuse commented 4 years ago

@dingmaotu why close this issue? it not be fixed yet.this error still exists

guzuomuse commented 4 years ago

@dingmaotu

suppose it's because I use the name data both as a parameter name and a method name

you'r right. all we should do is change the parameter name "data" to someothers.

thank you.