No idea what I have done but now able to place an order / trade ... and interrogate via Python
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
I am baffled but suspect there is an easy solution.
I have been trying to understand how to use Python (and AI) in conjunction with my MT5 EA. I use the Visual Studio CODE application.
I have made some initial progress - i.e. can Initialize, login , retrieve account data etc. I have been accessing a MetaQuotes account
However I have the unexpected consequence that ALL my active MT5 accounts 'halted' because there had been changes (Error message last night ----- 2025.07.21 23:48:44.208 Experts automated trading is disabled because the account has been changed).
ChatGPT suggested that I install a 'portable' version of the appropriate account. I have done this for my MetaQuotes account (I have other accounts with different brokers running EAs)
This seems fine at first glance (haven't tried running EAs etc) and thought I'd place an order manually and see 'if I could' retrieve details via Python.
I was unable to place an order BUY & SELL just greyed out - and no error message - just appear to be LOCKED out
Any help appreciated
[PS. I initially tried to include TensorFlow - because the MT5 wizard created a simple script which included a statement '....# import tensorflow as tf....' The script failed to run. Turns out (after quite a while searching) that the current version of Python 3.13 does not run with TensorFlow - it needs 3.10 - I think. The older version appears to not be readily available &/or supported. Seems pointless to go down the TensorFlow route]