Discussion of article "MetaTrader 5 and Python integration: receiving and sending data" - page 10
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the example from my last article. Here an old version of the package was used. And it needs to be installed first via pip install, of course
Thanks, Maxim. I looked at the example even before the question ))) But my experience does not allow me to notice the differences right away. But I will learn )))
Gentlemen, it's awkward to ask (I feel the question is stupid), but this thing - SocketCreate() knows how to Strategies Tester?
No
Good afternoon! when starting socketserver I get the following error: help me please "dummy")
Traceback (most recent call last):
Hi, interesting article. Thanks for that.
Was wondering. Why did you decide to implement the server in Python and the EA as the client in MT5?
Wouldnt it be more natural to have the server as an EA in MT5 providing data and executing traders and the client(s) in python, processing the data and making the trade decisions that are sent to the server?
Is there some obvious advantage to using the client as an EA and the server in python, that I am missing?
If i remember correctly, from past experience with ZeroMQ the server was as an EA in MT5 and the client in python.
@Maxim Dmitrievsky
I just wanted to say thank you for making this available. I always wanted to be able to code my indicators in Python and since you began this thread I've been able to access realtime futures data and use it to develop and run my indicators. I use my Python to plot and analyze the live feed and I place trades through the MT5 platform - it works great. Please keep up the good work and I truly hope Python will be full embraced my the MT community.
Thank you and best regards!
Hi, sockets don't work in tester at this time. Also, you mus add localhost to allowed webrequests in mt5 settings
after i add the localhost,it still remind me the error '4014'
Thank you for complete description.
i have a question:
is it possible for us to run a script of .ex5 type by a command in python environment?
i wanna run it through python, and the script save the results in an excel file, so can i use the excel data again in my website or android program.
Thanks a lot.
Hello - Can someone please help me!!!
I'm trying to execute this code in Python and keep getting an error:
Below is my code and it results in the error: