Enable one click trading from config files

 

Hi,


i am creating a preconfigured version of a MT5 to easily install on multiple vps with experts and templates already configured. So far i have been able to have Automated Trading enabled, the check for algo trading in the expert enabled, and also the login account configured.

I am launching the terminal with terminal64.exe /portable /config:<path_to_config_file>


The problem i am facing is that when the expert tries to open a trade, i receive the message "trading is disabled". after manually going into the platform and accepting the terms and conditions of oneclick trading, it starts to work.


So is there a way to enable oneclick trading from the config files?