Connect to MT4server from Linux

 

Hi

Can someone help me with creating linux to mt4 server connector?

I want to write down a linux script that will:

- connect to mt4 server with username, pass and .srv file of broker;

- retrieve pairs and their rates

This is at first time than I will upgrade it.

After 2 weeks googling I can not find anything about:

- how to connect

- or what kind of functions to use.

- without using paid APIs.

if there is someone who is familiar with this PLEASE help me to create that script.

-----------

I have created own dll mt4 client terminal to communicate with linux server, but I want to eliminate second PC using. Retrieving rates only by the server.

 

Method a)

  • Break the MT4 encryption protocol
  • Analyze the traffic between a regular MT4 client and the server
  • Build you own app which uses the same encryption and commands

Method b)

  • Reverse engeneer the terminal to get all the needed informations
 

Thanks for reply.

Seems very simple when you know it, but I have never do that before.

Since 2 weeks I have tried Wireshark and Microsoft Network monitor. I can not analyze that traffic you are suggesting.

But all symbols are very confusing for me. I have experience in php, sql and linux scripting a little. I want to made that app in C or Pascal (doesn't matter) but I do know from where to start. I need only connector and rates retriever in a file, than I know what to do.

 

I've done it for one broker.

ForexConnect download it.

Create demo account at FXCM

Compile any of the included examples

And that is how I made the connection.

----------------------------------------------------------------

But still what i wanted - to create a unique connector - is not done. :-(

i still hope someone to suggest a decision.

 
Hello firlin , is there any possible chance to create a Programm like mt5 on Linux ? to connect to my Brokers' ?

i do not like wine ' cause i think it 's hack able ' . . . is there some graphic-based programming app to try this ? 

on Debian Based linux ?

 
Yes, but it's a lot of work. You cannot use the mt server, so you need a broker, who offers a fix connection, or so.

I am working on such an app and look for contributors.

 
you need to emulate mt4 or mt5 in unix, thats it.
Reason: