If you don't know how to run an EA on your computer or you've never ran an EA before. We suggest starting at the very beginning: Help - I'm new. Below you'll discover solutions to your EA's issue by selecting the scenario that best fits your situation:
The very first thing you should do is check if you see any errors. If you were running a backtest, Please open the 'Journal' tab on the Strategy Tester panel. If you are running on a Demo account, please both check the 'Journal' and the 'Experts' tab on the Toolbox panel. If the panels are not visible and you don't know how to open the panels, please go to 'View' and select 'Toolbox' (Demo/ Live) or 'Strategy Tester' (Backtesting). We highly recommend to first make the EA work by running a backtest, since it simplifies testing and solving the issue. Also, it's faster.
If you're seeing an error after scrolling through the tab(s), but you don't know what the error means. Please move to the part of this troubleshoot page which says 'I'm getting an error'.
If you're not seeing an error after scrolling through the tabs, then most likely the EA wasn't configured correctly. We highly recommend to create a simple example EA, by choosing one of our templates. When you've verified the EA works, only add 1 module or condition (Open Buy/ Open Sell) at a time. After each step of adding something new to your EA, test your EA again. When you stop getting orders, you know where you made a mistake. If you need any help configuring your EA, please Subscribe and Contact us. If you first want to make sure the problem is with the configuration, you can always Contact us first to verify for you.
Since you do get orders in a backtest, the configuration of the EA is probably fine, but something is blocking the EA from trading on a Demo and thus also on a Live account. First make sure you've waited long enough to be sure that the EA isn't trading and your conditions were met. If you're seeing an error you obviously don't need to wait.
Next thing you should do is check if you see any errors. Please both check the 'Journal' and the 'Experts' tab on the Toolbox panel. If the panels are not visible and you don't know how to open the panels, please go to 'View' and select 'Toolbox'.
If you're seeing an error after scrolling through the tabs, but you don't know what the error means. Please move to the part of this troubleshoot page which says 'I'm getting an error'.
If you're not seeing an error after scrolling through the tabs, but you are getting orders when backtesting, please make sure you're running on the same Symbol and Timeframe as you were when backtesting. It's possible that the order's conditions were met on the symbol when backtesting, but the characteristics of the symbol you're trading on Demo are different. We highly recommend backtesting your symbol first. If you're not getting orders when backtesting either, please go to the answer of 'I do get orders in Backtest, but I don't get orders on a Demo account' on this page.
If you need any additional help, please Contact us and describe the problem as detailed as possible.
It's crucial for you to observe the SL/TP lines on the chart, represented by horizontal green and red lines. If you cannot see these lines on the chart, please refer to the section titled "I'm not seeing Stop loss and Take profit on the chart".
However, it's correct that you won't find the stop loss (SL) or take profit (TP) displayed on the Trade tab of your Toolbox panel, as the EA is responsible for managing them. This decision is made to prevent the broker from accessing your trade information for alternative purposes. Additionally, brokers often lack support for trailing or frequent modification of orders, crucial for trailing strategies. Therefore, the only viable option is to trail the SL/TP internally within the EA's memory, ensuring precision down to 0.1 pip accuracy.
If you're not finding the stop loss (SL) or take profit (TP) displayed on the chart, please consider the following:
The most likely reason for the SL/ TP not to show where you want it is that you're trading a symbol with a different value per pip than you expect. An example would be that when you're trading EURUSD, then the EA automatically calculates a Pip equals a value of 0.00010. Most people would agree to that. So if I set the value of SL to 50 pips and my sell order's price is 1.22668, then my SL will be at 1.22668 + (50 * 0.00010) = 1.23168.
So how do you know what the value of a pip is? When you attach the EA to a chart and you look at the 'Expert' tab you'll see this line: Pip (forex)/ Point (indices): 0.00010. This will tell you what the value of a pip is: 0.00010. If this is not as you expect, please open the EA properties and set the following property: Manual pip point (0 = auto detection) to the value you expect 1 pip to be. Then you can retry testing this symbol. You could use the Strategy Tester for that and select the same symbol, as it will give the same result.
It's conceivable that if you're trading US 30, you'd prefer your pip/point value to be $1. Please adjust the mentioned setting to 1 accordingly. You have the option to save your EA setup to a file, although in most cases, MetaTrader will retain your settings automatically. You could also not adjust the setting, but instead adjust the number of pips you enter for your SL and TP.
As the message suggests, you have to look for an error on your panels. If you were running a backtest, Please open the 'Journal' tab on the Strategy Tester panel. If you are running on a Demo account, please both check the 'Journal' and the 'Experts' tab on the Toolbox panel. If the panels are not visible and you don't know how to open the panels, please go to 'View' and select 'Toolbox' or 'Strategy Tester'.
Now look for any other error except for the error you've already seen ("Open (all) order(s) failed. Please check EA [Number] and look at the Journal and Expert tab."). Once found, go to the error which matches that description on this page.
If the error you're seeing doesn't match any error on this page, please Contact us and tell us which error you're seeing.
Your EA can't find your indicator. Your indicator must be in MetaTrader's 'Indicators' folder and NOT in any sub-folder. So, 'Indicators\Examples', 'Indicators\Market' or similar will not work. To open the 'Indicators' folder from MetaTrader, go to 'File' and then 'Open Data Folder' (CTRL + Shift + D). Then, in the File Exploprer, click, 'MQL4' and 'Indicators'.
If that didn't solve this specific error, then please verify the 'ex4' file is in the 'Indicators' folder and not just the 'mq4' file. If the 'ex4' file is missing. Please open your 'mq4' file in MetaEditor and click the 'Compile' button.
Your EA can't find your indicator. Your indicator must be in MetaTrader's 'Indicators' folder and NOT in any sub-folder. So, 'Indicators\Examples', 'Indicators\Market' or similar will not work. To open the 'Indicators' folder from MetaTrader, go to 'File' and then 'Open Data Folder' (CTRL + Shift + D). Then, in the File Exploprer, click, 'MQL5' and 'Indicators'.
If that didn't solve this specific error, then please verify the 'ex5' file is in the 'Indicators' folder and not just the 'mq5' file. If the 'ex5' file is missing. Please open your 'mq5' file in MetaEditor and click the 'Compile' button.
Your EA can't find your indicator. Your indicator must be in MetaTrader's 'Indicators' folder and NOT in any sub-folder. So, 'Indicators\Examples', 'Indicators\Market' or similar will not work. To open the 'Indicators' folder from MetaTrader, go to 'File' and then 'Open Data Folder' (CTRL + Shift + D). Then, in the File Exploprer, click, 'MQL5' and 'Indicators'.
If that didn't solve this specific error, then please verify the 'ex5' file is in the 'Indicators' folder and not just the 'mq5' file. If the 'ex5' file is missing. Please open your 'mq5' file in MetaEditor and click the 'Compile' button.
Before orders are opened, the required margin is calculated based on the broker's symbol specification. Sometimes the broker's symbol specification is incorrect. Please ask your broker to correct the symbol specification's 'Margin Currency' for your symbol (f.e. XAUUSD) to 'USD' and not 'XAU', since XAU is not a currency.
To temporarily work around this issue, please open your EA's properties and set 'Margin validation' to 'false' and use the Fixed lot size Money manager.
Your Open Buy and Open Sell signals are met at the exact same time, but you haven't allowed your EA to hedge.
To solve this, either correct the signals, so that Open Buy and Open Sell aren't met at the same time, or if this was intentional, please enable Hedging in your Open order module to allow your EA to open a buy and sell order at the same time.
Follow all the Get EA ready to run steps.
If that doesn't help, there are a few more reasons why you could be getting this error:
When uploading your EA to the MT5 market place your EA will be tested to comply with the rules. This includes a test which checks if the EA doesn't allow orders to run into loss too much. What you will have to do is make sure your EA closes orders before the maximum loss is reached, or your EA will be stopped out. So you could add a stop loss module, in addition to any stop loss module you alreadyhave. Example: let's assume the maximum allowed stop loss is 5%, then for example set your stop loss to 4.5%. Please check with MT5 to see what the rules and limits are.