How to enable "Algo Trading" option automatically?

 

My MT5 has multiple accounts and I would like to control them simultaneously with my Python/MetaTrade5 program.  In order to do so,  "Algo Trading" option must be enabled.  However, it is automatically disabled whenever account is switched in my Python program.  How to enable it automatically?

Thanks.

 

I know this is old, but for anyone looking for the answer, you can go to Tools -> options and on the dialog, go to the Expert Advisors Tab. 

Tick allow ''Algorithm Trading' and untick the four options below it.


Hope this helps.