How to write EA's with other programming languages?

To add comments, please log in or register
AmirMoqaddam
42
AmirMoqaddam  
Hi There.
Please Help To Solve This Problem.
Marco vd Heijden
Moderator
8428
Marco vd Heijden  

Embedding the other language.

AmirMoqaddam
42
AmirMoqaddam  
Marco vd Heijden:

Embedding the other language.

Thanks, how it works?
whroeder1
17927
whroeder1  
Why bother? You still have to learn MT5. What can the other languages do that MT5 cant?
AmirMoqaddam
42
AmirMoqaddam  
whroeder1:
Why bother? You still have to learn MT5. What can the other languages do that MT5 cant?

Thanks. No, MT5 is a Powerful language for Working with MetaTrader and Trading in MetaTrader But, I 'm C++ Programmer.
I Use STL Library and I'm Comfortable In c++.
I Know Something about MT5 Standard Library But, The Sense Of Prison Is Transferred To Me.

Now, If a has Easy Way To Use Another Programming Language in MT5, I'll Use it. If not, Continued to Learning MT5. ;)

Marco vd Heijden
Moderator
8428
Marco vd Heijden  
AmirMoqaddam:
Thanks, how it works?

It works by putting in the hours to make it work.

There are several ways to do it so it depends on what you are trying to do.

whroeder1:
Why bother? You still have to learn MT5. What can the other languages do that MT5 cant?

A lot.

AmirMoqaddam
42
AmirMoqaddam  
Marco vd Heijden:

It works by putting in the hours to make it work.

There are several ways to do it so it depends on what you are trying to do.

A lot.

Thanks for answer and thanks for response to "whreoder1". :-)
do you have a way to use another programming language or change my trading system that can user another programming language? :-(

Marco vd Heijden
Moderator
8428
Marco vd Heijden  

You need to build it from scratch by embedding different language snippets in your code and switch between languages, it will take time if you are not experience don't even try because it can be difficult.

The fact that you ask the question makes me think you will not be able to do it, because if you were able to do it, you would know how to do it.

I can not tell you 30 years of experience in a few text messages.

If you have a language of your choice its best to find the trading platform that supports that language.

00technical
17
00technical  

There exist some wrappers for MetaQueryLanguage in other languages but they are just that, wrappers. Currently it appears EAs can only be written natively in MQL.  

This question gets answered frequently, a search of the forums likely would have gotten you much the same answers as well. 

Python

https://github.com/zonquan/PyMT4

https://github.com/OpenTrading/OTMql4Py


C#

https://github.com/jseparovic/MQL4CSharp


I personally favor this project, interfacing with MT using ZeroMQ, effectively turning MT into a server of sorts. 

https://github.com/dingmaotu/mt4-server


I won't bore you with my suggestions for implementation.  Hope this helps. 

Christian Stern
322
Christian Stern  

Being a programmer and do programming is a big difference..... :D

The answer is easy. You just have to pass the tickdata, like with REST, to your language of choice, see using DLL's. But with any other language you have to rewrite all this lovly market specific function, which will cost you a lot of time

AmirMoqaddam
42
AmirMoqaddam  
Marco vd Heijden:

You need to build it from scratch by embedding different language snippets in your code and switch between languages, it will take time if you are not experience don't even try because it can be difficult.

The fact that you ask the question makes me think you will not be able to do it, because if you were able to do it, you would know how to do it.

I can not tell you 30 years of experience in a few text messages.

If you have a language of your choice its best to find the trading platform that supports that language.

Thanks Very Much.

I understand your words. I'm confused ;) .

Now, I need a lot of time to decide about my project to do it.

thanks

12
To add comments, please log in or register