Error 10017 - Auto Trading not enabled

 

Hi all, 

I've been using my EA for almost a year, but started to see the error message 10017 while using MT5. 

I double checked a couple of things and noticed: Autotrading is enabled, EA shows green in the top right of the window, I'm using a hedge account (should be fine), I'm able to manually create and submit a new order in the same stock, but not with the EA. 

I uninstalled MT5 and installed again, didn't work... removed the EA and included again, didn't work... 

Spoke with both the broker and the EA developer... Broker says my account is all set and ready to work with EA. EA developer can't find any bug on their end as well... 

Thoughts??? Have you experienced similar error before?

 
33martarello:

Hi all, 

I've been using my EA for almost a year, but started to see the error message 10017 while using MT5. 

I double checked a couple of things and noticed: Autotrading is enabled, EA shows green in the top right of the window, I'm using a hedge account (should be fine), I'm able to manually create and submit a new order in the same stock, but not with the EA. 

I uninstalled MT5 and installed again, didn't work... removed the EA and included again, didn't work... 

Spoke with both the broker and the EA developer... Broker says my account is all set and ready to work with EA. EA developer can't find any bug on their end as well... 

Thoughts??? Have you experienced similar error before?

Do not duplicate posts.

I have deleted your other posts.

 

10017 = Trade is disabled
according to documentation here.

It may be disabled by the broker.

 

Do you Autotrade?

Forum on trading, automated trading systems and testing trading strategies

Modified Metatrader

Sergey Golubev, 2016.08.03 08:46

I mean - if all MT5 EAs does not work in your MT5 so you can check the following: autotrading for the EA, in common tab of the EA properties.

Allow Auto Trading — this option allows or prohibits trading using Expert Advisors and scripts. If it is disabled, scripts and Expert Advisors can work, but are not able to trade. This limitation can be useful for testing the analytical capabilities of an Expert Advisor in the real-time mode (not to be confused with testing on history data).

The option enables/disables automated trading for the entire platform. If you disable it, no Expert Advisor will be allowed to trade, even if you enable automated trading individually in the Expert Advisor settings. If you enable it, the Expert Advisors will be allowed to trade, unless automated trading is individually disabled in the Expert Advisor parameters

If everything is fine with the setting but EAs does not work (any EA - how many did you try?) so ask your broker (it may be the broker's limitation).

Forum on trading, automated trading systems and testing trading strategies

Modified Metatrader

Sergey Golubev, 2016.08.03 09:38

Where to check autotrading:


and


If you attached EA to the chart and you see "smiling face" so it is fine with autotading (in most of the cases):


If EA's face is not smiling and not happy so you can check everything once again:


It was for MT4 but MT5 is same with this case.



Reason: