Troubleshooting EAs, Indicators and Scripts on Metatrader (MT4/MT5)


This document aims to help you diagnose problems with Expert Advisors, Indicators or Scripts for Metatrader4 and Metatrader5. I’ve been running my software business since 2012 and during this time I have received tens of thousands of support tickets with troubleshooting issues, most of which were were solved in one of the steps outlined below.

Troubleshooting Checklist

  1. Autotrading” option should be turned on in the top toolbar.
  2. Allow live trading” option should be selected in the “EA Properties” window.
  3. Long & Short” positions should be enabled for normal Expert Advisor operation.
  4. For some EA’s the “Allow import of external experts” option should be selected in the “EA Properties” window.
  5. Allow autotrading by default in the “Tools -> Options -> Expert Advisors” window.
  6. Check the “Experts” tab for error messages at the bottom of the terminal window. Find here the list of error codes. Not all errors that happen in the log are responsibility of the developer. For example, the EA might have failed to trade because your broker is off quotes, meaning not accepting trades. Maybe your broker does not allow hedging and the EA is trying to hedge. Maybe a trade failed to be placed because excessive slippage prevented to trade from being filled. The log will inform about why the EA is not behaving as expected.
  7. For issues during backtesting, check the “Journal” tab for error messages at the bottom of the terminal window.
  8. Check if Metatrader Terminal is connected to the broker server and connection/disconnection logs.
  9. If the platform seems stuck, have you tried restarting Metatrader? An important update might be pending that prevents Metatrader from executing normally.
  10. Do you really need to contact support? You probably do if you find execution errors in the log, such as zero divide or array out of range.

Feel free to post your questions or log errors below, and I’ll try to help.

 7,212 total views,  4 views today

How useful was this post?

Average rating 4.3 / 5. Vote count: 11

No votes so far!

Thanks for rating!

Would you like to share this post?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Published by

Arthur Lopez

Private investor and speculator, software engineer and founder of PZ Trading Solutions.

4 thoughts on “Troubleshooting EAs, Indicators and Scripts on Metatrader (MT4/MT5)”

  1. I tried to download the free softwares it’s not working I opened the link in a new tab keeps saying webpage not available

Leave a Reply

Your email address will not be published. Required fields are marked *