EA Troubleshooting

 

Hi Guys.

Please help me understand why the attach EA does not execute any trade as it returns Error Code 0.

Thank you in advance.

Files:
 

Error code zero means no error.

Check your return codes, and report your errors (including market prices and your variables). Don't look at GLE/LE unless you have an error. Don't just silence the compiler (MT5 / MT4+strict), it is trying to help you.
          What are Function return values ? How do I use them ? - MQL4 programming forum (2012)
          Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles