Thank you. I will check this one too.Originally Posted by ;
Your proposal it seems real simple, and that I can use it for what I need.Originally Posted by ;
I stumbled to learn programming using mql4, what in the beginning looked like something quite complied, today it looks simple, but I do not actually have a notion how different softwares communie with one another, so I thought that there might be a fantastic step-by-step guide how to build bridge... or anything like this.
The simplest would be to write to a csv file in experts/files for both brokers, then create an app that reads both documents every x secs and the app will process the information and create a 3rd file that can subsequently be read using mql code.
Another method is to write a DLL in C .
You could also use the registry, which is exactly the same method as writing to documents but you are using RAM.
Read 7bit's post in the base of http://forum.mql4.com/34987; he's an ace:
Originally Posted by ;
which will not work. MQL4 file I/O is restricted to writing / reading files in its own workspace that's the experts/files folder to the platform. This is to prevent malicious code. It can be overcome with a windows DLL, however if you are going to that much effort, you need to consider better ways. The OP got it right when he called it a bridge.Originally Posted by ;
Take a look at this supplied by Metaquotes: http://forum.mql4.com/54147Originally Posted by ;
I attempted with cvs, and file synchronization before, but did not work as I would like.Originally Posted by ;
I have to learn C programming for that, and I really don't know what level of C programming knowledge is sufficient to create this type of thing.Originally Posted by ;
Probably I'll use registry.Originally Posted by ;
Thank you, I'll check.Originally Posted by ;
Either you construct your own bridge or you want a 3rd party bridge.Originally Posted by ;
Your own bridge: A document that's used by both EAs.
3rd party: gooogle Permvar, it is from fx1.net, it has all you need.