Discussion of article "MetaTrader 5 and Python integration: receiving and sending data" - page 8
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
Now we come to the task itself. This is not a technical task, but a very brief statement of its essence.
We need to periodically (for example, once an hour, once a day, once a week) take various data from several (no more than 10) sites and perform complex intermediate calculations. The result of these calculations will be three MT5 terminal control signals: a signal to open a buy order, a signal to open a sell order or a signal to close an order.
Is this possible? I need to know this in order to be able to competently create a technical task for freelancing.
Regards, Vladimir.
This can all be done through a python programme and from there you can also manage trading in mt5, yes.
Great!!! That's just what I need.
Thank you very much again!
Regards, Vladimir.
Great!!! That's just what I need.
Thank you so much again!
Regards, Vladimir.
This can all be done through a python programme and from there manage trading in mt5, yes. In fact, you can parse sites from mql5 EA and trade immediately, without python. But it is easier to parse in python, because it is a high-level language.
One clarification: the Python code will first parse sites, then this data will be transferred to a ready-made programme that I have in my possession, which performs complex intermediate calculations with the output of 3 types of signals, and only then these signals should get into the MT5 terminal to make trades.
Regards, Vladimir.
One clarification: the Python program code will first parse sites, then this data will be transferred to a ready-made programme that I have in my possession, which performs complex intermediate calculations with the output of 3 types of signals, and only then these signals should get to the MT5 terminal for making trades.
Regards, Vladimir.
Well, then it is necessary to establish interaction with the 3rd programme via files or the same sockets, depending on what functionality it has. Or transfer all calculations to python.
It is possible to access this programme directly from mql5 EA. You just need to know how to exchange data with it.
Well, then it is necessary to establish interaction with the 3rd programme via files or sockets, depending on what functionality it has. Or transfer all calculations to python.
It is possible to access this programme directly from mql5 EA. You just need to know how to exchange data with it.
I don't quite understand about transferring calculations... In other words - to create an analogue of the calculation algorithm of the existing program only now in the Python programming language?
Regards, Vladimir.
I didn't quite understand about transferring calculations.... In other words - to create an analogue of the calculation algorithm of an existing program only now in the Python programming language?
Regards, Vladimir.
Yeah, if the algorithm is known.
I'm breaking through a door that's been open for a long time! I'm old. :)
Thank you and God bless you! Are you by any chance not from Moscow? I would treat you to a jar of honey!
Regards, Vladimir.
I'm breaking through a door that's been open for a long time! It's the age thing. :)
Thank you and God bless you! Are you by any chance from Moscow? I'd buy you a jar of honey!
Regards, Vladimir.
^)))) from other latitudes
Hello, Maxim!
I am a bit advanced in my knowledge of Python, but I can't find detailed information about joint access to csv file from Python and a third-party programme, for example, the same Expert Advisor written in MQL5. Simply put, the Python code periodically writes information to the csv file, and the MQL5 Expert Advisor reads the information from it and executes the commands I need. Is such joint access from both sides even possible?
Regards, Vladimir.