Hi there... I need to make an EA that can retrieve data from several currency spesific charts(That I know how to do) and on another metatrader enter the trades based on the results on the metatrader hosting the EAs....
This might sound abit complicated but I was thinking an EA writes to a database file, and as soon as the 2nd metatrader gets the signal (which is also reading of that database file),and it enters the trades ...
So basicaly I want to know how can I get an EA to write to an external sort of database file as soon as the parameters i specify are fullfilled... and how another EA from another metatrader can read this and make a desicion from there to enter a trade...
The reason why I need two metatraders running at the same time is I run many many charts and this may tend to make metatrader lag abit and sometimes crash. So all analysis is done on one metatrader and orders done on another.
This whole process I am keen to automate now and I know how to program a robot to do this... its just getting the data into a database file and getting it read by another EA...
Hope you understand ...thanks!
cheak out the attachment if you dont understand.
I have not seen any code in MQL4 that works with any database coding...
This might sound abit complicated but I was thinking an EA writes to a database file, and as soon as the 2nd metatrader gets the signal (which is also reading of that database file),and it enters the trades ...
So basicaly I want to know how can I get an EA to write to an external sort of database file as soon as the parameters i specify are fullfilled... and how another EA from another metatrader can read this and make a desicion from there to enter a trade...
The reason why I need two metatraders running at the same time is I run many many charts and this may tend to make metatrader lag abit and sometimes crash. So all analysis is done on one metatrader and orders done on another.
This whole process I am keen to automate now and I know how to program a robot to do this... its just getting the data into a database file and getting it read by another EA...
Hope you understand ...thanks!
cheak out the attachment if you dont understand.
I have not seen any code in MQL4 that works with any database coding...