Download MetaTrader 5

error 4109, whats the problem ?

To add comments, please log in or register
Mehrdad Shiri
4509
Mehrdad Shiri 2016.03.07 04:07 

hi. i run my ea successfully on several broker platform (mt4 , 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 ?
Alain Verleyen
Moderator
31138
Alain Verleyen 2016.03.07 10:22  

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
  • docs.mql4.com
Runtime Errors - Codes of Errors and Warnings - Standard Constants, Enumerations and Structures - MQL4 Reference
Mehrdad Shiri
4509
Mehrdad Shiri 2016.03.07 12:09  
Alain Verleyen:

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

thank you.
To add comments, please log in or register