MetaTrader 5 Python User Group - how to use Python in Metatrader - page 39

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
I understand correctly that for transferring calculated values and arrays from Py to mt5, there will be no such functions ?
And is it left to use - networking solutions, or to saw a module to transfer through memory?
Library for MT5 <-> Python communication with a focus on getting data.
Only queries and trade requests go to the terminal from python programs. There is no reason to transfer mass data from python, as it has no access to the variable MQL5 environment and is strictly limited to the narrow interface of queries to the terminal.
Python integration has the following application area:
The Python library is not a replacement for MQL5 and we do not accept any requests for functionality extensions.
Library for MT5 <-> Python communication with a focus on data acquisition.
Only queries and trade requests go to the terminal from Python programs. There is no reason to transmit mass data from Python, as it has no access to the variable MQL5 environment and is strictly limited to the narrow interface of requests to the terminal.
Python integration has the following application area:
The Python library is not a replacement for MQL5 and we do not accept any requests for functionality extensions.
There's that sandbox again... Perhaps you didn't understand the question and a solution can be found.
There is a need to pass an array from a Py script to an mql program.
There are reasons to pass, arrays of calculated data.
To build real time custom mql charts.
To build real-time mql indicators.
For using real-time calculations in mql experts.
Running *.py files directly from the navigator does not solve the problem of building professional custom charts in mt5.
You need mt5 custom real time charts calculated in a Py script.
For that you need array transfer from Py script.
There is a need to pass an array from a Py script to an mql program.
The answer has been given in full and clear.
The answer was full and clear.
The answer has been read, but the reason for the restriction is not clear.
How can arrays controlled in open Py script harm mql program?
What kind of zoo are we talking about if we're going to use crutches again, same sockets, dll, etc.
This creates an artificial barrier to create professional solutions for mt5.
Good people, tell me how to make pending orders here and if you can, an example
There are no ready-made functions, but you can see how simple orders are made in __init__.py, pending ones are made similarly:
fields passed to order_send:
they are similar: https://www.mql5.com/ru/docs/trading/ordersend
Hello.
May be the question has already been asked, but search (google, forum) didn't yield a positive result. I think I may have been able to use MetaTrader5 on a jupyter notebook installed on my Ubuntu PC. After some troubles with my PC, I changed it and installed a new HDD. After this procedure I lost connection with the package and when I try to install the package with the pip install MetaTrader5 command I get the following message:
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
Kindly advise:
1. Is it possible to install the package on a PC with Ubuntu?
2. If yes, what can I do to correct the error I receive during installation?
Hello.
May be the question has already been asked, but search (google, forum) didn't yield a positive result. I think I may have been able to use MetaTrader5 on a jupyter notebook installed on my Ubuntu PC. After some troubles with my PC, I changed it and installed a new HDD. After this procedure I lost connection with the package and when I try to install the package with the pip install MetaTrader5 command I get the following message:
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
Kindly advise:
1. Is it possible to install the package on a PC with Ubuntu?
2. If yes, what can I do to correct the error I receive during installation?
No, the library is only for the Windows version of Python, as it works in conjunction with the Windows version of the terminal.
We'll write a new version of the integration library and add explicit selection and authorization on the desired account there .
Will it be available later? Or?
There are no ready-made functions, but you can see how simple orders are done in __init__.py, pending ones are done similarly:
fields passed to order_send:
they are similar: https://www.mql5.com/ru/docs/trading/ordersend
Where does _init_.py come from ? Where can i see it?