MetaTrader 5 Python User Group - how to use Python in Metatrader - page 86
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
How do I send data from mt5 to a running python script and receive a response?
I guess I have to use stdin and stdout, and specify the process to pass it to.
Does anyone have any code where this is implemented?
p.s. This: https://www.mql5.com/ru/docs/integration/python_metatrader5 has read, and used, but it's not suitable for this task. The data needs to be transferred from the strategy tester as well.
Problem with the "MetaTrader5 (5.0.35 of 28.07.21) library. After installing and trying to import it, I get the following error
Returning to 5.0.33 works.
Does anybody have this error confirmed?
Checked with Python versions 3.7/3.8/3.9
How do I send data from mt5 to a running python script and receive a response?
I guess I have to use stdin and stdout, and specify the process to pass it to.
Does anyone have any code where this is implemented?
p.s. This: https://www.mql5.com/ru/docs/integration/python_metatrader5 has read, and used, but it's not suitable for this task. The data needs to be passed from the strategy tester as well.
Python only sees the terminal in this implementation. It sends a request to it and gets an answer. It does not see the MKL program and cannot communicate with it. To interact with the MKL program, we must use additional features. I cannot say anything about interaction with the tester, I have not used it. But it is very likely that it is not possible.
Good luck
It does not see the MCL programme and cannot communicate with it. To communicate with the MCL program, you have to use additional features.
Anamed channel is fine by me, but some people do it on a socket. it's a matter of habit...
Problem with the "MetaTrader5 (5.0.35 of 28.07.21) library. After installing and trying to import it, I get the following error
Returning to 5.0.33 works.
Does anybody have this error confirmed?
Checked with Python versions 3.7/3.8/3.9
Upgraded to 5.0.35.
No errors.
Upgraded to 5.0.35.
No errors.
Latest beta of terminal 3007 (at least for me). Not the point, it's not important for the question.
Trying to update.
Can you tell me what this means?
The latest beta of terminal 3007 (at least for me). Not the point, it's irrelevant to the question.
Trying to update
Can you tell me what this means?
According to your log - there is no such file or directory
According to your log - there is no such file or directory
i.e. no numpy==1.19.5?
i.e. no numpy==1.9.5?
There doesn't seem to be a folder
"c:\users\\\user\\appdata\\local\r-miniconda\\\envs\\r-reticulate\\\lib\site-packages\numpy-1.19.5.dist-info\\\METADATA'