Error 10017 means trading is disabled on the server (broker) side.

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
Hello everyone,
I have started programming bot for traiding.
I use Python IDLE for opening MQL5.
Broker: TMS BROKERS.
When i try to open a trade i recieve 10017 error: retcode=10017, comment='Trade disabled'.
Algo Traiding is ON in MQL5.
Tools -> Options -> Strategies -> Allow Algo Traiding - this is also checked.
I am using this code to open trade:
Is anyone know how to fix this problem?
Thank you.