Hosted Server "Trading is disabled"

 

I have several EAs running on a number of MQL5 hosted servers, however one EA I put live recently did not open a trade when I expected it to.  Looking at the journal from the server I see the error message "... order buy ... failed [Trade is disabled]".

The "Alow live trading" checkbox is checked on the "EA Properties >> Common" tab, but in any case according to your documentation https://www.mql5.com/en/articles/994 it does not need to be...

Regardless of whether autotrading is allowed or forbidden in your client terminal or in the properties of a launched Expert Advisor, any trading robot is allowed to trade after being moved to the virtual terminal.

Can you please suggest what might be wrong.

 
Wayside48:

I have several EAs running on a number of MQL5 hosted servers, however one EA I put live recently did not open a trade when I expected it to.  Looking at the journal from the server I see the error message "... order buy ... failed [Trade is disabled]".

The "Alow live trading" checkbox is checked on the "EA Properties >> Common" tab, but in any case according to your documentation https://www.mql5.com/en/articles/994 it does not need to be...

Regardless of whether autotrading is allowed or forbidden in your client terminal or in the properties of a launched Expert Advisor, any trading robot is allowed to trade after being moved to the virtual terminal.

Can you please suggest what might be wrong.

Check whether your trading account's trading is enabled, contact your broker about this.

Reason: