"unknown command" in MT4
| Subscribe to this topic | Previous 1 2 Next |
|
|
Member Since Mar 24, 2010 23 posts
trade4hapi
Jul 28 2010 at 01:35
I came across this error in many brokers.
My journal has the following lines (they repeat a few times): 2010.07.26 21:57:55 '999402299': login 2010.07.26 21:01:10 '999400435': login 2010.07.26 21:01:09 '999400435': unknown command 82 2010.07.26 20:20:09 '999400435': login 2010.07.26 20:20:08 '999400435': unknown command 2E 2010.07.26 19:38:14 '999400435': login 2010.07.26 19:37:02 '999400435': login 2010.07.26 19:35:24 '999400435': connect failed [No connection] 2010.07.26 19:23:31 '999400435': login 2010.07.26 19:23:29 '999400435': login 2010.07.26 19:23:22 '999400435': login 2010.07.26 19:23:11 '999400435': login Does anybody know how to solve this problem? Thanks!
|
|
|
Member Since Aug 01, 2009 941 posts
Elkart (Elkart)
Jul 28 2010 at 03:19
(edited Jul 28 2010 at 03:22 )
Best I can find is this, no one seems to know really.
http://forum.mql4.com/23787 'I 'found' a solution a few weeks ago - a solution only in the sense that I don't have this problem any more. I started trading off a server in the UK with <5ms latency to my broker and >99.99% uptime and the problem disappeared completely. When I connect from my current location (that has about ~300 latency and many internet drops) I have this error message quite frequently. So my conclusion is that this error is associated with a bad internet connection to the broker's server. I recommend u find a better and faster (latency wise) internet connection or move your trading to a server / VPS near your broker. Good luck!' I see you're having log in problems as well... Chang beer is evil. |
|
|
|
Member Since Mar 24, 2010 23 posts
trade4hapi
Jul 28 2010 at 03:37
Maybe my VPS has some problems. All the MT4 in this VPS have the errors but none in other VPSes.
I will restart my VPS and test again. Thanks for your reply! |
|
|
Member Since Aug 01, 2009 941 posts
Elkart (Elkart)
Jul 28 2010 at 03:42
No problem, I learned something as well. Hope I never get this issue, but if I do.....
Chang beer is evil. |
|
|
|
Member Since Sep 10, 2010 55 posts
MaryJane
Sep 25 2010 at 21:31
the first thing to do is to figure out which ;line of your code is causing this prob;lem/error/.
my preferred way to do this is to p;lace print statements at various p;laces in your code unti;l u r ab;le to pinpoint which function ca;l;l in your code is the cu;lprit/. after u figure out which function ca;l;l is responsib;le 4 the error, it is simp;le enuff to tinker with that function;'s parameters unti;l u figure it out/. i, persona;l;ly, wou;ld not be satisfied unti;l i found the exact reason why this error was happening/.oo i wou;ld never continue operating, hoping that an error had been reso;lved/. happy coding/. zero/. |
|
|
Member Since Aug 01, 2009 941 posts
Elkart (Elkart)
Sep 25 2010 at 22:15
6 years of MT and that's your advice? Never seen this error have you?
Chang beer is evil. |
|
|
Member Since Aug 20, 2009 184 posts
kennyhubbard (compuforexpamm)
Sep 26 2010 at 04:58
(edited Sep 26 2010 at 04:59 )
Sorry MaryJane, while your post is good valid information, in this case it is technically incorrect.
I too have never seen this error, but the first thing that strikes me as odd is the fact that the error is located in the journal. Your EA's cannot write anything to the journal ever. They write to your experts tab. The journal tells you about terminal operations, so it will tell you whether or not an EA is loaded, if an email leaves the terminal, whether you are connected to the broker and the results of trade instructions sent. The fact that this is in the journal tells me that the error is most likely with the MT4 terminal itself, which as Elkart pointed out may well be due to the internet connection. And whats with all the semi colons???? Wealth Creation Through Technology |
|
|
|
Member Since Sep 10, 2010 55 posts
MaryJane
Sep 27 2010 at 04:26
he;l;lo kenny,
quite perhaps u r correct about the journa;l issue and the print stuff goes into the experts tab, yes? either way, i be;lieve that the first thing to do is to narrow it down as to which function ca;l;l is making the prob;lem and then u can work it out from there/. i spi;lo;led coffee on the netbk, need an externa;l kybd/. good evening, zero/. |
|
|
|
Member Since Sep 10, 2010 55 posts
MaryJane
Sep 27 2010 at 04:28
(edited Sep 27 2010 at 04:30 )
Elkart posted:
    6 years of MT and that's your advice? Never seen this error have you? i cant reca;l;l ever seeing that error/. had i ever seen that error, i wou;ld have dea;lt with it/. and swift;ly/. and not on;ly do i have c;lose to six years of mt4 experience, but i have been joyous;ly writing code for about 27 years/. ;locating the offending function ca;l;l or code is usua;l;ly the first thing that i ;like 2 do/. u have a nice day, sir/. zero/. |
|
|
Member Since Aug 01, 2009 941 posts
Elkart (Elkart)
Sep 27 2010 at 07:54
(edited Sep 27 2010 at 08:15 )
It's a platform issue. You can't deal with it. See the login bits? Code never got to run, platform was unable to log in. It's probably machine specific. The first thing to do is to try a second machine on the same broker.
It's all in the details Zero, not the math. You go right ahead and look for that error in the code. Chang beer is evil. |
| Subscribe to this topic | Previous 1 2 Next |
Share

