copy trader

 
hi guys, i want write a copy trade EA. but i dont know how i should send/receive info from an mt4 account to another account/accounts . i can a little python too,if it helps. should i use api? 
 
Hakob Meruzhan Gochumyan: hi guys, i want write a copy trade EA. but i dont know how i should send/receive info from an mt4 account to another account/accounts . i can a little python too,if it helps. should i use api? 

There are several Trade Copy publications in the CodeBase. Study them and see how they do it.

MT4 does not have a Python API. Only MT5 has Python integration.

 

Personally i made a database version.

1 EA check the database and create trades ( client )

1 EA updates the database ( server )

There is always a little latency this method.

 
Fernando Carreiro #:

There are several Trade Copy publications in the CodeBase. Study them and see how they do it.

MT4 does not have a Python API. Only MT5 has Python integration.

i didnt find any code, they just introduced some EAs 
 
Amira J Brand #:

Personally i made a database version.

1 EA check the database and create trades ( client )

1 EA updates the database ( server )

There is always a little latency this method.

can you send me example codes . how do u send/recieve data from mt4
 
Hakob Meruzhan Gochumyan #: i didnt find any code, they just introduced some EAs 

CodeBase search with keywords "trade copy" — https://www.mql5.com/en/search#!keyword=Trade%20Copy&module=mql5_module_codebase

Very first of results:

Code Base

Real Trade Copy MT4

Yuriy Bykov, 2022.04.14 14:24

Adviser-Utility for copying transactions from one MT5 account or MT4 account to another MT4 account.

Code Base

Real Trade Copy MT5

Yuriy Bykov, 2022.04.14 14:19

Utility for copying transactions from one MT5 account or MT4 account to another MT5 account.