please fix these eas warnings. problem

 

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. 

 
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.

Reason: