metatrader5

Install MetaTrader5 using pip 22.3.1 and python 3.11.0 error

Install MetaTrader5 using pip 22.3.1 and python 3.11.0 error Question: I am trying to install MetaTrader5 on windows using pip. python –version Python 3.11.0 pip –version pip 22.3.1 pip install MetaTrader5 ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for MetaTrader5 I have seen …

Total answers: 1

MT5/Metatrader 5 connect to different MT5 terminals using python

MT5/Metatrader 5 connect to different MT5 terminals using python Question: I’ve got multiple python programs that connect to Mt5 terminal using the following code. # Establish connection to the MetaTrader 5 terminal if not mt5.initialize("C:\Program Files\ICMarkets – MetaTrader 5 – 01\terminal64.exe"): print("initialize() failed, error code =", mt5.last_error()) quit() The python module for MT5 is the …

Total answers: 5

sending order to open a position via MetaTrader5 python module and nothing happens

sending order to open a position via MetaTrader5 python module and nothing happens Question: I followed Metatrader5 python documentation and this answer in stack overflow I try to open a sell position: import MetaTrader5 as mt5 ea_magic_number = 9986989 # if you want to give every bot a unique identifier def get_info(symbol): ”’https://www.mql5.com/en/docs/integration/python_metatrader5/mt5symbolinfo_py ”’ # …

Total answers: 3

Unable to install MetaTrader5

Unable to install MetaTrader5 Question: I could not install MetaTrader5 by: pip install MetaTrader5 I got the following error: ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for MetaTrader5 Knowing that I am on MAC laptop and I have Python 3.7.6 Thanks in advance …

Total answers: 2