How to comunicate Java with MQL5?

 

I studied sockets fo MQL5 and I concluded that it isn't a good option, because I can call java using sockets but I can't receive a response.

I studied files for MQL5 and I concluded that it isn't a good option, because I can get an event when a file is updated in MQL5. I will need to check every time if there is an update in the file, like a busy waiting in OS.

Do you have some sugestion for me?

I just need call a function in Java and get its response. 

many tks. 

 
humbertobrandao:

I studied sockets fo MQL5 and I concluded that it isn't a good option, because I can call java using sockets but I can't receive a response.

I studied files for MQL5 and I concluded that it isn't a good option, because I can get an event when a file is updated in MQL5. I will need to check every time if there is an update in the file, like a busy waiting in OS.

Do you have some sugestion for me?

I just need call a function in Java and get its response. 

many tks. 

Just to clarify: 

"How to communicate MQL5 with Java?" 

MQL5 function CALL Java, Java response, and MQL5 gets the result. 

 
humbertobrandao:

Just to clarify: 

"How to communicate MQL5 with Java?" 

MQL5 function CALL Java, Java response, and MQL5 gets the result. 

You need a "bridge" DLL. See this topic to get an idea.

I don't have experience with that, just used Google for 30 seconds.

Simple MT4 - Java bridge - MQL4 forum
  • www.mql5.com
Simple MT4 - Java bridge - MQL4 forum
Reason: