I am working on a python code that uses mt5 package and I am facing issues in connecting to a platform.
In particular, this same issue occurs occasionally without me changing the code / mt5 settings, I cannot individuate any particular reason to this intermitting behaviour.
Network is stable.
My code is of the kind:
mt5.initialize()
mt5.login(login=login, password=password, server=server)
I also tried variations of the same lines, e.g.:
mt5.initialize("C:\\Program Files\\MetaTrader 5\\terminal64.exe")
mt5.login(login=login, password=password, server=server)
Errors are of the kind (-10005, 'IPC timeout') or (-10004, 'No IPC connection').
OS: tried both on windows 10 and windows 11.
Do you have any stable solution to this?
Additional question, I have a global installation of mt5 but I would be interested in trading (via python api) on two different mt5 accounts at the same time.
My guess is that I can use two different windows users, each of which runs the code on a different mt5 account. Is this a proper solution or event two different users would initialize the same terminal?
Thank you in advance
Similar orders
Hello, I am looking for an experienced and professional developer to create a trade copier that transfers trades from MetaTrader 5 (MT5) to NinjaTrader 8 (NT8). I am looking for a developer with a strong track record in creating MT5 to NT8 trade copiers and who can deliver a robust and reliable solution. Thank you, and I look forward to your proposals
Hi there ,I am seeking for some who can I integrate MT4+MT5 into Matlab!We need our indicator window of MT4+MT5 viewable in Matlab so we can execute more research on Matlab Best regards Richie
I wan to oder a product for copytrade online like that : - master on mt4 - slaver (copier) by python that mean MT4 open an oder, python will open the same on client account => python will click the mouse then results will show manual (not expert) value : autolot (ratio with receiver balance) - fixed lot - Smart ratio (ratio with master account) trade on many pairs get source for manage license hide everything that
I NEED TO HAVE MY INDICATOR CONVERTED TO PINESCRIPT. IF YOU CHARGE PER LINES PLEASE ADVISE ALSO I NEED THIS DONE QUICKLY. IF YOU ARE ABLE FINISH WITHIN A DAY OR 2 PLEASE APPLY. THE INDICATOR IS BASED OFF ZIG ZAG AND RSI
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree