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

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
Hello!
First, I am taking action for R, and one of the questions that interested me immediately after the launch was whether all the features that metatrader for Python offers from R were accessible.
Check the documentation first to see if metatrader has implemented such integration today. Not very happy with the result, due to my low R level, I tried to strain my brain a bit
And I found a solution. R has libraries for Python integration. Metatrader5 has integration with Python. This could work ...
it worked !!! Metatrader5 opened for me! But that's not all ... It was terribly disappointing when I found out that most of the features didn't work for some reason ...
When trying to copy offers this happened to me:
> rate = mt5 $ copy_rates_from_pos ("GBPUSD", mt5 $ TIMEFRAME_D1, 0, 10)
Error in py_call_impl (called, points $ args, points $ keyword): SystemError: <internal function copy_rates_from_pos> returned result with many errors
I open the forum.
-¡Hola!
En primer lugar, tomo medidas para R, y una de las preguntas que me interestó justo después del lanzamiento fue acceder a todas las funciones que Metatrader para Python ofrece desde R.
Primero revise la documentación para ver si metatrader ha implementado tal integración hoy. No muy contento con el resultado, debido a mi bajo nivel de R, traté de tensar un poco mi cerebro
Y encontré una solución. R tiene bibliotecas para integrar Python. Metatrader5 tiene integración con Python. Podría funcionar ...
funcionó !!! ¡Metatrader5 se ha abierto para mí! Pero eso no es todo ... Fue terriblemente decepcionante cuando descubrí que la mayoría de las funciones por alguna razón no funciona ...
Al intentar copiar oraciones, esto me sucedió a mí:
> rate = mt5 $ copy_rates_from_pos ("GBPUSD", mt5 $ TIMEFRAME_D1, 0, 10)
Error en py_call_impl (llamado, puntos $ args, puntos $ palabra clave): SystemError: <función incorporada copy_rates_from_pos> devolvió el resultado con muchos errores.
-Las traduciones son terribles xaxaxa.
How toinsert code:
Gentlemen developers, I've been meaning to ask you for a long time.
Is it possible to completely replace MQL5 with Python in Expert Advisors / scripts?
Well, for instance, an EA can be written entirely in Python with all available Python features.
And then, I compile it and get .ex5. Maybe I haven't read it through the documentation.
Gentlemen developers, I've been meaning to ask you for a long time.
Is it possible to completely replace MQL5 with Python in Expert Advisors / scripts?
Well, for instance, an EA can be written entirely in Python with all available Python features.
And then, I compile it and get .ex5. Maybe I haven't read it thoroughly in the documentation.
You can run python programs on charts as normal scripts. They can retrieve data and trade.
But not in the tester.
You can run Python programs on charts as normal scripts. They can retrieve data and trade.
But not in the tester.
Thank you, Renat, for your reply.
Are there any plans to make python and tester friendly?
Your tester as a whole is quite unique because of the modelling and simulation management capabilities.
Thank you, Renat, for your reply.
Are there any plans to make python and tester friendly?
Your tester as a whole is quite unique because of the modelling and simulation control capabilities.
No
No
The answer to the question is long overdue:
Do you plan to give access from Python to the mobile version of MT?
Python for Android is very fast at crunching data, and the capacity of the devices is growing.
Analysis and trading is quite possible, in my opinion...
It is not necessary, at first, that the functionality is completely identical to the library for the desktop.
Access to timeseries and current stack would be a breakthrough! )
The answer to the question is long overdue:
Do you plan to give access from Python to the mobile version of MT?
Python for Android is very fast at crunching the data, and the capacity of the devices is growing.
Analysis and trading is quite possible, in my opinion...
It is not necessary, at first, that the functionality is completely identical to the library for the desktop.
Access to timeseries and current stack would be a breakthrough! )
no.