Closed rbi13 closed 6 years ago
Hello! I think that I have the same error. Experts tab is full of messages like: mt4jSample EURUSD,H4: function 'processTick' call from dll 'mt4j.dll' critical error c0000005 at 10001947.
OK! My fault!) I've just set up MT4 with mt4j on Ubuntu and all works fine! Thank you Cyberflohr!
If you wanna I can make and easy manual about setting up MT4 with all staff on Linux.
@blackcat Yes, please provide a manual for setting up MT4 on Ubuntu Server. Possibly even using Xvfb. I'm thinking to run a second MT4 on a different "client" machine using the read only password to monitor the automated trading, while the "server" runs mt4j with an automated Java trader app. (I registered at github just for this request.)
@anyone I'm not interested in addNewBar. I just want Ticks and to Buy, Sell, and Close orders. Unless of course we can also have Depth Of Market. Does the dll waste processing cycles on addNewBar, or is that used only when the Java implementation implements addNewBar?
EDIT:
I checked the expert log within the MT4 terminal and I get the following errors:
Once again I am not sure if this is due tor the jar path or because of the metatrader build I am using which is as follows:
Thanks again //-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Hello,
Really impressed with this project. Tried testing the sample you provided but I keep getting the alerts in MT4 stating that the properties aren't set properly.
I checked the mt4j logs and everything is logged properly accept for when the set*Property is called; nothing is executed past prepareEnv().
I assume this is because I have the path to the jar wrong. the jar is in the experts\libraries\SampleEA.jar
I tried all of these in the mt4j.properties file but none of them work: C:\Users\rbond\Dropbox\GP\MT4_terminal\alpariUK\experts\libraries\SampleEA.jar experts\libraries\SampleEA.jar \experts\libraries\SampleEA.jar
could you give me some pointers here.
Thanks