Fix an Expert Advisor Errors that does not work Properly

How to Fix an EA that does not work

It happens often that the expert advisor suddenly stops working due to some technical or human errors or even did not set properly installed, In this article, we will discuss how you can overcome the situation when your EA stops working in most cases by applying these simple steps your problem can be solved.

Importing DLL and Web Requests

Sometimes EAs do not work because it is calling external Systems API that is directly related to Web requests or system functions DLL, your EA might require you to allow it to use DLLs, you can take a look at it in the "Options" tab by confirming that "Allows DLL import".

Some EAs use and news filter website when trading so they can scrap the data from other website sources, in this case, we need to enable the web requests options and need to input the URL website of the news source.

Licensing Protection

EA Might requires you to put a password or license key file in a specific folder because it is protected by the developer so that no one can use it without permission their permission, these types of EA are called premium EAs. They included licensing protection with them.

Solution

The only solution is to contact the developer and buy the full version of EA.

Stability of Internet Connection

Check to assume your Internet Connection might have no issues. The most straightforward method for doing this is to open your Internet Browser and visit a couple of sites on the Internet. The most common problem is when no internet, the terminal cannot interact properly with the Datacenter so some of the functions of EA start to stop working.

Additionally, you need to close all outsider applications that could utilize the high transmission capacity of your Internet connection. I have at the top of the priority list Torrent programming and other comparable downloader application.

Autotrading Disabled

When you install the new MT4 Terminal the auto trading option by default is disabled you need to enable it, to run EA properly When you are prepared to use Autotrading you can enable this choice in the top toolbar of your MT4. Search for a button that uses "Autotrading".

Metatrader Version Compatibility

Metatrader comes up with two versions one is Metatrader 4 and another one is Metatrader 5, both have their extensions .ex4 and .ex5 respectively. Sometimes due to the confusion, many people put the MT4 files in the MT5 folder and vice versa. This makes EA don’t run on runtime and even not show in the Experts tabs in the folder.

Invalid Stop and Take Profit

Invalid stop loss is one of the reasons for EA to stop taking trades because the stop loss or take profit is too related to the current Bid or ask price, however, some brokers restrict not going below 5 or 10 pips depending on their conditions. The recommended stop loss or take profit is 15 pips depending on instrument tick size and market value.

Magic Number Conflict

EA generally use Magic Number to identify the trades taken by those EA, Magic Number input parameter is public and the user can change it, sometimes two different Experts running on different timeframes can make conflict if they both have some magic number they can interfere and modify the trades or even can close it if they both shares same magic number. To remove this ambiguity one needs to have unique magic numbers and does not share the same.

Coding Errors

The one reason that EA might stop working is due to some technical errors in the coding mechanism, in the stop sometimes the EA gives an output in the journal tab, the reason for not initializing the EA, sometimes the problem comes from memory buffers, sometimes the buttons in GUI or auto trading functionalities are not working. 

The only solution is to contact the developer of an EA and report the bug to fix.

Not Enough Money for trading

You might probably get an error that you don’t have enough money for trading, but there can be two cases either you don’t have enough capital for trading or your risk management is not properly set (In this scenario your Risk input and Lot size can be high), so before loading the EA kindly check the input parameters.

Real Account Restrictions

Before you test or run any EA on the directly real account, make sure you’re aware of the trading rules and EA working requirements, the best way to ensure zero risk is a demo account, many brokers provide a demo account to test your strategy how much accurate it works during volatility.

An EA is based on human-made strategy rules which backtest over and over but still, there might be some cases it can fail, so before getting the risk of your real money, run it on Demo.

In some cases, EA developer restricts that you cannot use an EA on a real account but can check on the demo account, to run on a real account you need to purchase the license from them.

Strategies Problem

Not every strategy works for same, In case your EA is working in a proper manner for several days, but after that it starts to make some bad trades, the problem might be in the strategy not every strategy works longer and if the EA eventually trying to take martingale positions please make sure that you have enough money to take care of positions.

Expert GUI consumes More Processing Power

If you put single expert advisor on multiple charts with GUI features, there is 90% chance that the terminal would consume more processing power and some of the features of your Expert advisor might stop or even the terminal hang itself. 

In order to avoid this situation, try to disable some irrelevant GUI from the expert advisor input parameters.

PC Reliability

The PC reliability is very important for using autotrading features, if you don’t have enough high end PC than you can use VPS services from different companies, they provide high end virtual PC environments with high Speed Internet Connectivity and the best thing is you can run 24/7 your terminal without even a single problem, the price starting from as low as $15.


Comments