How to make a trade copier EA? - page 2

 
Georgiy Liashchenko:
And again, other trade copiers do communicate somehow. I am talking about copiers via web no just a local machine, they do it somehow, question is How?

Central server listening
Or else write to ftp file and get the others to read from there
 
s050399b:

Central server listening
Or else write to ftp file and ghttps://www.mql5.com/en/forum/75892et the others to read from there
Yes thats a good idea, question is how? Personally i don't understand webrequest() :( the way to understand the server resposes, herei m trying simply to login. If somebody could give a guide where to read about mt4-webserver communication would be just perfect! 
 
Georgiy Liashchenko:
Yes thats a good idea, question is how? Personally i don't understand webrequest() :( the way to understand the server resposes, herei m trying simply to login. If somebody could give a guide where to read about mt4-webserver communication would be just perfect! 

 Sender

Write file to your local - https://docs.mql4.com/files/filewrite 

share out that directory as FTP or WWW

 

Receiver

request it - https://docs.mql4.com/common/webrequest

 
Georgiy Liashchenko:

Hello everyone,

I want to write my own trade copier, because all available paid and unpaid do not meet my needs.

 What are the basic principles of making trade copier EA?

We have 3 accounts live/demo with 20 traders each varying just the lot size. We have full acess to those accounts login/pass/investor pass.  

Is it possible to remotely login to those accounts and copy trades to my account using EA? Or what are the critearias? because i haven't found

any mql4 file of a trade copier to look inside.

 

Thanks for help, lets make a trade copier EA :) 


Hello Georgiy,

Any good news so far about your Remote Trade Copier EA development? I'm interested too.

Thanks..

 
funny but am also interested too.
 
<Deleted>
.
 
Georgiy Liashchenko:
Yes thats a good idea, question is how? Personally i don't understand webrequest() :( the way to understand the server resposes, herei m trying simply to login. If somebody could give a guide where to read about mt4-webserver communication would be just perfect! 

web request is simply that, a request to the web.

i did some coding a while back that would allow mt4 to comunicate to php/mysql server. it works quite nicely however...

I suggest looking at this... 

https://www.mql5.com/en/blogs/post/706665

Socket library for MT4 and MT5
Socket library for MT4 and MT5
  • 2017.09.06
  • JC
  • www.mql5.com
For anyone not used to socket programming: the model is that you create a server socket; you accept connections on it; and each acceptance creates a new socket for communicating with that client. No data is sent or received through the server socket itself. You create a server socket using an instance of ServerSocket(), telling the constructor...
 
how can i copy only market order? i dont want inclue pending order, anyone have the EA copy only Market order?
 
Alain Verleyen:
https://www.mql5.com/en/code/14085
how can i copy only market order? i dont want inclue pending order, anyone have the EA copy only Market order?
 
Ngan Tran Van:
how can i copy only market order? i dont want inclue pending order, anyone have the EA copy only Market order?

Analyze the order type.