C++ Convertion and Development - page 2

 
asmdev:
"The application interfaces of each component in the complex are distributed together with the corresponding component and can be found in the API directory. Open interfaces of all MetaTrader API components are provided. Besides, the source code of MetaTrader Server API and DataFeed API components are also supplied as open source in C++.Detailed examples of creating user applications allow you to use MetaTrader API to get acquainted with the principles of software interaction."

https://www.metaquotes.net/metatraderapi/

ask them maybe you can.

There's no MT4 API!

 

Then there is no problem capturing data ant figuring out their protocol. Unless they use some encryption. Port 443 for a reason or just a port?

 

Using Txt to trigger trades

mqldev:
I think that could not be done! Communication with MetaTrade is only one way - The MT have to query you c++ dll!

Thats not true, you can use txt files. I'am doing it at the moment, my EA creates an txt file with data, my application read it, and write an signal to file, EA reads it and takes it from there.

No probs

 

Another option is Autoit V3. It has a DLL version that you can call from C/C++ to control any software via mouse/key strokes.

 
bobfourie:
Thats not true, you can use txt files. I'am doing it at the moment, my EA creates an txt file with data, my application read it, and write an signal to file, EA reads it and takes it from there. No probs

That's what I said! The MT has to query something (txt file, shard memory, registry key etc)!

That MQL is not event driven language! Just the Start function triggered every tick! And it's the only method to see the outside world!

 

Mt4 Api

There is an MT4 API available from a guy in Russia for about $35 (1,000 Rubles) at http://www.min2006.ru/_sgg/f10000.htm that looks interesting. I purchased it, but since I don't speak Russian I'm stymied by the examples and haven't been able to make use of it.

 
67-17454:
There is an MT4 API available from a guy in Russia for about $35 (1,000 Rubles) at http://www.min2006.ru/_sgg/f10000.htm that looks interesting. I purchased it, but since I don't speak Russian I'm stymied by the examples and haven't been able to make use of it.

Could anybody kindly translate the the website?

 

And this is the translation as well.

I used this translator http://www.online-translator.com/

 

Okay - I took a look at this (don't understand Russian)

It appears to be just an external dll library that one can use to interface with other programs. Which means MT4 must periodically poll that dll to see if any new 'messages' have been sent to it and then act appropriately. Anyone else confirm this?

If so, the 'polling' could only happen on the occurrance of a 'tick' via an EA start() method, correct? So, it isn't instanteous.

Reason: