Calling MT4 to place a trade

 

Is there a way to call MT4 from an external program and tell i to place a trade?.

It could be either a call to start MT4 and place a trade or a  call to a running MT4 to place a trade.

 

No response.

Gave up. Using  a file to communicate information between the external program and MT4. Not very elegant but working

 
Ingvar Engelbrecht:

No response.

Gave up. Using  a file to communicate information between the external program and MT4. Not very elegant but working

You can start MT4 from the command line (or an external program) with a config file telling him to run a script or an expert.
 
Alain Verleyen:
You can start MT4 from the command line (or an external program) with a config file telling him to run a script or an expert.
  OK. Does not help really. It is the trading information that has to be communicated
 

did you manage to get the external program to enter a trade for you? and if so, please can you shine some light on it as i am trying to do the same.

 

thank you