Download MetaTrader 5

please fix these eas warnings. problem

To add comments, please log in or register
No PC at hand? Communicate with friends using your mobile phone!
marlin1331
65
marlin1331 2016.11.03 13:53 

hi, these are  eas which has warnings problems in compilations, hope someone can help to fix those warnings  make them work correctly.

each one has 6 warnings.

 

please someone fix .

 

really thanks. 

Fernando Carreiro
2349
Fernando Carreiro 2016.11.03 14:40  
marlin1331:

hi, these are  eas which has warnings problems in compilations, hope someone can help to fix those warnings  make them work correctly.

each one has 6 warnings.

please someone fix .

really thanks. 

The file "bag-it_v_1.2.mq4" is uncompiled/decompiled code - that is code that has been "stolen". We do not tolerate such practices on this forum and you could be banned for posting uncompiled/decompiled code.

As for the other file, the warnings are typical of someone you does not even know the basics of MQL coding, in which the return values of the OrderSend() function should be checked to see if it returns a valid ticket or not and the resulting error codes checked for the reason of failure.

You should dedicate some research and effort into learning MQL by reading the documentation and looking at code examples that are available in many articles and code base entries.

Also, there is now a dedicate section for all things related to MQL4 and MetaTrader 4. You should use that section in the future.

To add comments, please log in or register