Download MetaTrader 5

External DLL executing trades in MT4

To add comments, please log in or register
Freelance service: the safe way to order a trading robot. Try it!
wbrown
37
wbrown 2013.08.28 07:13 

Hello all,

I am considering linking a trading system currently written in C#. The system is essentially finished as a standalone executable file set.   In order to accomplish this quickly and with a minimum amount of redesign, I am considering writing a DLL that is able to access commands MT4.  

My idea at present is to create a library which is able to effect trade execution in MT4.  For example, standalone system says long EUR/USD, then MT4 gets the command to execute a long trade on the pair.  This approach does not currently seem to be a mainstream approach and I am wondering if it is even possible.

 

Thanks, in advance

Joaquin Poudereux
489
Joaquin Poudereux 2013.08.28 07:40  
wbrown:

Hello all,

I am considering linking a trading system currently written in C#. The system is essentially finished as a standalone executable file set.   In order to accomplish this quickly and with a minimum amount of redesign, I am considering writing a DLL that is able to access commands MT4.  

My idea at present is to create a library which is able to effect trade execution in MT4.  For example, standalone system says long EUR/USD, then MT4 gets the command to execute a long trade on the pair.  This approach does not currently seem to be a mainstream approach and I am wondering if it is even possible.

 

Thanks, in advance

I know it is possible. I have done it not with a DLL, but with MT4api (which is not a real api, but works) and I think should fit for your needs. Just pm me if interested.
Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2013.08.28 09:01  
wbrown:

Hello all,

I am considering linking a trading system currently written in C#. The system is essentially finished as a standalone executable file set.   In order to accomplish this quickly and with a minimum amount of redesign, I am considering writing a DLL that is able to access commands MT4.  

This Forum is the mql5 Forum . . .  if you have mql4 or Automated Trading on MT4 related questions please use the mql4 Forum
MQL4: automated trading forum
  • www.mql5.com
MQL4: automated trading forum
To add comments, please log in or register