What's the best way to integrate python with MQL4

 

I do my data analysis on Python


Is there a way to integrate my python data analysis with MQL$ or C++


For example,

I would like to determine my next entry using data analysis from python.

Once I get the python results, I would like to use them in MQL4 or C++

 
Hussein Mohammed H Zangoti: I do my data analysis on Python. Is there a way to integrate my python data analysis with MQL$ or C++. For example, I would like to determine my next entry using data analysis from python. Once I get the python results, I would like to use them in MQL4 or C++.

MT4 does not have Python integration. Only MT5 has a Python API.

For all other cases you will have to use DLL calls from MQL4 or MQL5 programs.

 
Fernando Carreiro #:

MT4 does not have Python integration. Only MT5 has a Python API.

For all other cases you will have to use DLL calls from MQL4 or MQL5 programs.

and dlls are not allowed on mql5 if you intend to sell any product that relies on them

 
Amos Tsopotsa #: and dlls are not allowed on mql5 if you intend to sell any product that relies on them

And neither is Python, so what is your point?

If a user plans to have Python integration then obviously it will not be for a Market product, so using DLL is not a limitation.