Forum

How to Automatically Find and Connect to an MT5 Broker Server Using Only Its Name

Hello everyone, I'm working on a script that automatically launches the MetaTrader 5 client terminal and logs in to a trading account using a configuration file. The configuration file contains the account login, password, and broker server name. The issue: When I launch MT5 using this