Skip to content
← All posts

Gold EAs

How to Enable Algo Trading in MT5 When Your EA Will Not Start

EABuild Team · · 9 min read

How to Enable Algo Trading in MT5 When Your EA Will Not Start – EABuild

This guide shows you how to enable Algo Trading in MT5 so that an expert advisor (EA, a program that places trades automatically) can start working on your chart. MetaTrader 5 has three separate permissions, and an EA runs only when all of them agree. A switch being off is a common reason an EA does not start.

You will find where each switch is, how to read the icon in the chart corner, and what to try when everything looks right but nothing happens. The steps are short, and you can do them in a few minutes on a demo account.

What you need before you start

Check these basics first, because a switch cannot help an EA that is not loaded.

  • MetaTrader 5 is installed and logged in. The connection indicator in the bottom-right corner of the terminal should show a data speed, not "No connection".
  • The EA file is in the right place. A compiled EA ends in .ex5 and lives in the Experts folder. If it does not appear in the Navigator panel under Expert Advisors, follow the guide to installing an EA in MT5 first.
  • You use the trading password. The investor password gives read-only access, so charts load but no order can be sent.
  • The chart matches the EA. Open the chart of the symbol and timeframe the EA is designed for, as stated on its product page.

You can open the platform help from the MetaTrader 5 help pages if a menu looks different on your build.

The three Algo Trading permissions

MetaTrader 5 uses the name Algo Trading for what MetaTrader 4 calls AutoTrading. The permission works in layers, and each layer can block the next one.

  1. The global button. One button on the toolbar turns automated trading on or off for the whole terminal. When it is off, no EA can send an order, whatever its own settings say.
  2. The terminal options. Under Tools, Options, Expert Advisors, you decide whether automated trading is allowed at all, and whether it is switched off after you change the account, the profile or the symbol.
  3. The permission of each EA. Every EA has its own Common tab with an Allow Algo Trading check box. It applies to that one chart only.

Think of the global button as a main switch, the options as house rules, and the Common tab as a switch on one lamp. All three must be on before the lamp lights.

Step-by-step: enable Algo Trading in MetaTrader 5

Follow the steps in this order. Each one is a few clicks.

Step 1: turn on the global Algo Trading button

  1. Look at the top toolbar and find the button labelled Algo Trading. Its icon is a play symbol next to a small chart.
  2. Click it once. When it is on, the icon shows a green play triangle. When it is off, it shows a red stop square.
  3. Hover over the button to read its tooltip, which tells you the current state.

You can also press Ctrl+E on the keyboard to toggle the same switch. If you cannot see the toolbar button, right-click the toolbar, choose Customize, and add it back.

Step 2: check the Expert Advisors options

  1. Open Tools, then Options, then the Expert Advisors tab.
  2. Tick Allow Algorithmic Trading.
  3. Look at the options that disable it when you change the account, the profile or the charts. If one of them is ticked, the button turns red after that action and you must switch it on again.
  4. Tick Allow DLL imports only when the product you run needs a DLL. Leave it off otherwise, because a DLL is outside code that can do more than trade.
  5. Click OK.

The fact sheet of each product on this site states whether it uses a DLL. The three EAs described later all list no DLL.

Step 3: attach the EA and allow trading in its properties

  1. Open the Navigator with Ctrl+N and find the EA under Expert Advisors.
  2. Drag it onto the chart, or double-click it. The properties window opens.
  3. On the Common tab, tick Allow Algo Trading. This check box is what lets this one EA send orders.
  4. Switch to the Inputs tab and review the settings. If the product comes with set files (saved lists of input settings), load the one that suits your symbol. The guide to loading a set file in MT4 and MT5 explains how.
  5. Click OK.

Step 4: read the status icon

Look at the top-right corner of the chart. Next to the EA name you will see a small icon. In most builds it reads as follows.

  • A coloured EA icon means the EA is loaded and allowed to trade.
  • A grey or crossed icon means the EA is loaded but trading is blocked. Go back to Step 1 and Step 3.
  • No icon and no name means the EA is not on the chart at all. Attach it again.

The exact drawing changes between builds, so use the tooltip when you hover over it. It states whether Algo Trading is allowed for that EA.

If the button is green and the EA still does nothing

A green button proves the permission, not the trade. The EA can be allowed and still wait for its own conditions. Work through these common causes.

The button turns red again by itself

This usually follows a change of account, a profile switch or a restart, combined with the options in Step 2. Open Tools, Options, Expert Advisors and review the check boxes that switch Algo Trading off in those cases. Untick them if you want the permission to stay on.

The Experts tab shows a message

Open the Toolbox with Ctrl+T and read the Experts tab. It lists when the EA loaded and often states the reason it did not trade. The Journal tab shows platform messages such as connection changes and refused orders. Messages like "automated trading is disabled" point back to the three permissions.

The EA is allowed but the market conditions are not met

Many EAs hold back on purpose. They may wait for a low spread, a time window or a certain price pattern. An EA can stay idle for a long time when its conditions are not met, which is not a switch problem.

The symbol or timeframe is wrong

An EA built for one symbol may not recognise your broker's name for it, for example a suffix added to the symbol. Check the Inputs tab for a symbol or suffix field, and compare the chart with the product facts.

Account and lot limits

Orders can be refused when the lot is below your broker's minimum, not a multiple of the lot step, or too large for the free margin. Hedging EAs also need an account type that allows opposite positions on one symbol. The full list is in the guide on what to do when an EA is not taking trades.

Examples: applying the steps to three MT5 EAs

The facts below come from each product's listing. They show how the same permission steps apply to different EAs, and why you should read the symbol and timeframe before you attach anything.

Mad Turtle EA for MT5

Mad Turtle EA for MT5 is an expert advisor for MetaTrader 5 that the listing describes as scalping with a grid and martingale, for XAUUSD on H1 and M15. The package holds one compiled EA file and 7 set files, and it uses no DLL.

Because it has 7 set files, do Step 3 carefully and load the file that matches your chart. A grid strategy opens extra orders at set price steps, and martingale means the lot size grows after a loss, so drawdown (the drop from an account's peak balance) can rise quickly. Test it on a demo account first and check the settings before you trade live.

Elite Scalper Bot for MT5

Elite Scalper Bot for MT5 is listed for XAUUSD on the M5 timeframe, with scalping, trend following and news trading as its strategy. The package has the EA file, one helper file and 3 set files, and it uses no DLL.

The listing names news trading, so spreads can widen and slippage is common around economic releases. If the EA seems idle although every permission is on, wait for a normal session and read the Experts tab.

FX Sniper Bot for MT5

FX Sniper Bot for MT5 combines scalping with a grid approach and is listed for XAUUSD, EURUSD, EURCHF and GBPUSD on M15 and M30. The download is a single compiled EA file with no set files and no DLL.

With no set files, all settings come from the Inputs tab, so open it in Step 3 and read each value. Attach it to one of the listed symbols and use M15 or M30. Grid exposure can grow while price moves against the first order, so keep the lot size modest while you learn how it behaves.

A quick checklist before you leave the platform

  • The Algo Trading toolbar button is green.
  • Tools, Options, Expert Advisors allows algorithmic trading, and no option switches it off after a change.
  • The Common tab of the EA has Allow Algo Trading ticked.
  • The status icon in the chart corner shows the EA is active.
  • The symbol, timeframe and set file match the product facts.
  • You are logged in with the trading password, and the connection is live.
  • The Experts tab shows no error message.

If you change more than one thing at a time, you will not know which change fixed it. Change one item, wait for a few price ticks, then check the icon again. A demo account lets you practise all of this without live money at stake.

Where to go next

Once the EA is running, a stable connection matters if you want it to keep working while your computer is off. The guide on running an EA on a VPS covers that step. If you are choosing an XAUUSD EA, the gold EA guide explains what to look at. If you want to try several EAs, every product on the site is part of the membership, which gives you access to every product in the catalogue.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Tags: Troubleshooting, Expert Advisors, MT5 Installation

← All posts

Get every EA with membership

313 products · from $16.59/month

See plans

More in Gold EAs