Check if you have trading enabled in the Common tab of the EA input dialog. If yes, your broker might have disabled trading.
BTW, where did you get your funny error descriptions?
22686
You are mixing mql4 and mql5 errors definition, here is the mql4 ones :
4109 |
ERR_TRADE_NOT_ALLOWED |
Trade is not allowed. Enable checkbox "Allow live trading" in the Expert Advisor properties |
131 |
ERR_INVALID_TRADE_VOLUME |
Invalid trade volume |
![Runtime Errors - Codes of Errors and Warnings - Standard Constants, Enumerations and Structures - MQL4 Reference Runtime Errors - Codes of Errors and Warnings - Standard Constants, Enumerations and Structures - MQL4 Reference](https://c.mql5.com/36/8/runtime-errors-codes-of-errors.png)
- docs.mql4.com
=====================
https://www.mql5.com/en/forum/75259#comment_2316254
====================
with thanks to him.
22686
You are mixing mql4 and mql5 errors definition, here is the mql4 ones :
4109 | ERR_TRADE_NOT_ALLOWED | Trade is not allowed. Enable checkbox "Allow live trading" in the Expert Advisor properties |
131 | ERR_INVALID_TRADE_VOLUME | Invalid trade volume |
- docs.mql4.com
=====================
https://www.mql5.com/en/forum/75259#comment_2316254
====================
with thanks to him.
So you duplicated your query in the mql5 forum? If I knew I would not bother.
excuse me, i forget to thanks to your help. excuse.
i ask my problem there to have the fast help.
and please help the others .
thank you again.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi. i run my ea successfully on several broker platform (4 or 5 digit ) , but when i run it on windsor platform i have this error.
for windsor the symbol is named as " EURUSD@" as below picture , and the error code is:
and the error code refer to :
==================================
and if change to allow only short or only long allowable for sending order . the error 131 will appear ,
can you please help ?