Hello. Is it possible to read an MQL5 binary file that stores an array, into a python program? I know I can use sockets, but it's useless when either is not reachable. I'd like to save an array to a file, then send it to my python server when it is reachable/convenient. Not posting any codes yet. But I will if anyone knows a workaround.
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- Single array calculation during optimisation
- MetaTrader 5 Python User Group - how to use Python in Metatrader
Anonymous3 Geek:
Hello. Is it possible to read an MQL5 binary file that stores an array, into a python program? I know I can use sockets, but it's useless when either is not reachable. I'd like to save an array to a file, then send it to my python server when it is reachable/convenient. Not posting any codes yet. But I will if anyone knows a workaround.
Hello. Is it possible to read an MQL5 binary file that stores an array, into a python program? I know I can use sockets, but it's useless when either is not reachable. I'd like to save an array to a file, then send it to my python server when it is reachable/convenient. Not posting any codes yet. But I will if anyone knows a workaround.
Your best bet is to serialize the array and save it as JSON.
nicholish en:
That'd work. Thanks
Your best bet is to serialize the array and save it as JSON.

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