How to Troubleshooting Expert Advisors, Indicators and Scripts on Metatrader (Mt4/Mt5)

14 December 2019, 12:43

This document aims to help you diagnose problems with Expert Advisors, Indicators or Scripts for Metatrader4 and Metatrader5. 

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. 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.

  5. For issues during backtesting, check the “Journal” tab for error messages at the bottom of the terminal window.

  6. Check if Metatrader Terminal is connected to the broker server and connection/disconnection logs.

  7. If the platform seems stuck, have you tried restarting Metatrader? An important update might be pending that prevents Metatrader from executing normally.

  8. 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. Thank you.

Share it with friends: