Download MetaTrader 5
To add comments, please log in or register
Develop trading robots to order. Make profit with Freelance service!
Mehrdad Shiri
4335
Mehrdad Shiri 2016.03.07 03:06 

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 ?

Carl Schreiber
5966
Carl Schreiber 2016.03.07 07:35  

It seems that maybe '@' is not accepted as part of a symbol name?

Ask the broker what to do if they provide EURUSD@ and mt4.

Ovo Cz
2957
Ovo Cz 2016.03.07 09:47  

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? 

Mehrdad Shiri
4335
Mehrdad Shiri 2016.03.07 11:09  
Ovo:

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? 


Moderator
22686
Alain Verleyen 2016.03.07 10:22 FA

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

=====================

https://www.mql5.com/en/forum/75259#comment_2316254

====================

with thanks to him.


Ovo Cz
2957
Ovo Cz 2016.03.07 14:15  
timisthebest2:

Moderator
22686
Alain Verleyen2016.03.07 10:22FA

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
  • docs.mql4.com
Runtime Errors - Codes of Errors and Warnings - Standard Constants, Enumerations and Structures - MQL4 Reference

=====================

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.
Mehrdad Shiri
4335
Mehrdad Shiri 2016.03.08 05:28  
Ovo:
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.

/
To add comments, please log in or register