Skip to content
← All posts

Gold EAs

EA Not Taking Trades? Checks to Run in MT4 and MT5

EABuild Team · · 9 min read

EA Not Taking Trades? Checks to Run in MT4 and MT5 – EABuild

This guide covers what to do when you see an EA not taking trades in MetaTrader 4 or MetaTrader 5: the chart looks normal, the EA is attached, and still no orders appear. Most cases come down to a handful of causes, and you can check them in a fixed order in a few minutes.

The checks below apply to both platforms. Where the two differ, such as the name of the AutoTrading button, the text says so. Work from the simple switches towards the settings, and finish with the logs, which usually name the reason outright.

First, decide whether something is actually wrong

An expert advisor (EA, a program that places trades automatically) only trades when its own rules are met. A scalping EA on M1 may open several orders in an hour, or none for a whole session, depending on its logic and the market. Silence is not always a fault.

Ask three questions before you start changing settings:

  • Has the EA ever traded on this chart, or is this the first run? A first run that stays silent points to setup. A sudden stop points to something that changed, such as the broker connection or the account.
  • Is the market open for this symbol? Gold, currency pairs and indices have different sessions, and weekends and holidays close most of them.
  • Does the strategy include time, spread or news filters? Many EAs wait on purpose when conditions fail their filters.

If the answers do not explain the silence, move to the checklist.

Step-by-step checks

Do these in order. Each step takes under a minute, and the earlier ones catch the most common mistakes.

Switches and permissions

  1. Turn on the global button. In MT4 it is the AutoTrading button on the toolbar; in MT5 it is called Algo Trading. It must be green. When it is red, no EA on any chart can send orders.
  2. Check the chart indicator. In MT4, a smiley face in the top-right corner of the chart means the EA is running and allowed to trade; a frowning face means it is not. In MT5, an icon beside the EA name in the same corner shows whether it is active.
  3. Open the EA properties. Press F7 on the chart, or right-click and choose Expert Advisors, then Properties. On the Common tab, make sure live trading is allowed (MT4 labels it Allow live trading; MT5 labels it Allow Algo Trading).
  4. Check the terminal options. Under Tools, Options, Expert Advisors, confirm that automated trading is allowed. If you ever see the EA switch itself off after you change account or profile, look at the options that disable automated trading in those cases.
  5. Confirm you are not logged in with the investor password. It gives read-only access. Charts and prices load normally, but every order is refused. Log in again with the master (trading) password.

Chart, symbol and timeframe

  1. Match the symbol. An EA built for XAUUSD may not recognise a broker symbol called XAUUSD.m or GOLD. Look in the EA inputs for a suffix or symbol-name field, and read the product listing for the symbols it names.
  2. Match the timeframe. An EA designed for M1 and M5 behaves differently, or not at all, on H1. Use the timeframe the listing states.
  3. Check the symbol is visible. Open Market Watch (Ctrl+M) and confirm the symbol is listed and shows moving prices. A symbol with a stale price will not generate signals.
  4. Look at the connection status. The bottom-right corner shows the connection and the data speed. No connection means no ticks and no orders.

Inputs, filters and lot size

  1. Read the inputs. Look for a maximum spread, trading hours, a news filter, a day-of-week filter or a limit on open orders. Any of them can block an entry without any visible message on the chart.
  2. Check the lot size. The lot must be at least your broker's minimum, a multiple of the lot step and within the maximum. A fixed lot below the minimum is refused.
  3. Check the margin. If the account has too little free margin for the lot size, the order is rejected. A lot that is too large for the balance is a common cause on small accounts.
  4. Check the DLL setting. Only EAs that call a DLL need Allow DLL imports. If the product needs one and the option is off, it may stop at start-up. Check the listing before you change this option.
  5. Check the account type. Some strategies open buy and sell positions on the same symbol at once. MT5 netting accounts merge positions per symbol, so confirm that your account type suits the strategy.

Spread, filters and market hours in more detail

Spread is the gap between the buy and sell price. A scalping EA works on small price moves, so it often includes a maximum-spread input. When your broker's spread is wider than that value, the EA waits. This happens most at rollover, around news releases and in thin markets, and gold is known for wide moves in those windows.

Time filters work the same way. An EA may trade only inside a set window, and that window may follow the broker's server time rather than your local time. Compare the server time in Market Watch with the hours in the inputs. A window set for one time zone can fall entirely outside the session you expect.

News filters pause trading around economic releases. If your EA has one, a busy week can mean many pauses. These filters are working as designed, so treat them as something to understand rather than switch off without thought.

Read the Experts and Journal tabs

When the checklist does not solve it, the logs will. Open the Terminal window with Ctrl+T, then look at two tabs:

  • Experts shows messages from the EA itself: that it loaded, which inputs it read, and the reasons it gives for skipping or failing an order.
  • Journal shows messages from the platform: connection changes, account logins and refused trade requests.

Right-click either tab and choose Open to see the day's log file. Search it for words such as error, invalid, disabled, not allowed or not enough money.

What common messages usually mean

Message or symptomLikely causeWhat to check
Trade is not allowed, or error 4109 in MT4Live trading is switched offAutoTrading button, EA properties, terminal options
Invalid volume (error 131 in MT4)Lot below the minimum, wrong step or above the maximumSymbol specification, lot input
Not enough money (error 134 in MT4)Free margin is too low for the lotBalance, leverage, lot input
Market is closed (error 132 in MT4)Outside the session for that symbolTrading hours of the symbol
Trade is disabled (error 133 in MT4)Trading disabled for the symbol or accountAccount type, investor password, broker conditions
No messages at all, smiley face shownEA is running but its conditions are not metSpread, time and news filters, timeframe
EA missing from the chartNot loaded, or removed when the profile changedNavigator, chart profile, restart

MT5 reports the same problems in plain text, for example invalid volume, not enough money or market closed, rather than numbered errors. The meaning is the same.

Examples from three MT4 scalping EAs

All three products below are MetaTrader 4 expert advisors, so the checks use MT4 wording. Each fact comes from the product's own listing. Use the listing as your reference for symbols and timeframes.

Volume Scalper EA for MT4

Volume Scalper EA for MT4 is an MT4 expert advisor that uses scalping and breakout logic. The listing names XAUUSD, GBPUSD and EURUSD on the M1 and M5 timeframes, and the package has one EA file and 4 set files. A set file is a saved list of input settings that you load in MetaTrader.

With four set files, a mismatch between the loaded file and the chart symbol is a likely cause of silence. Confirm the set file fits the symbol and timeframe on the chart. The guide to loading a set file in MT4 and MT5 covers the steps. The package needs no DLL, so that option is not the cause here.

Eclipse Trading EA for MT4

Eclipse Trading EA for MT4 is a scalping and price action EA for XAUUSD and GBPJPY on M1 and M5. The package holds a single compiled EA file, with no set files and no DLL.

Because there are no set files, everything comes from the inputs in the properties window. If it stays silent, check that the chart is one of the two listed symbols on M1 or M5, that the broker's symbol name matches, and that live trading is allowed on the Common tab. Then read the inputs one at a time on a demo account.

Scalping Robot for MT4

Scalping Robot for MT4 is listed with scalping, martingale and news trading as its strategy, on M1 for XAUUSD, EURUSD, GBPUSD and USDJPY. It needs MT4 build 1476 or later and comes with 5 set files. Martingale means the lot size grows after a losing trade, so drawdown can rise quickly.

Check your build under Help, About. Because the strategy includes news trading, spreads can widen and slippage is common around releases, so a spread or time condition may be what holds an entry back. Lot size matters here too: after a loss the next lot is larger, so a small account can hit a margin limit sooner than you expect.

Run it on a demo account before you trade live

Fix one thing at a time and wait for a few ticks before you decide it worked. If you change five settings at once, you will not know which one mattered. A demo account lets you test the checklist without live money at stake, and the Strategy Tester can show whether an EA places orders on historical data at all.

If you have not yet installed the file, follow the steps in how to install an EA in MT4 or how to install an EA in MT5 first, because a file in the wrong folder never appears in the Navigator. For the wider picture of what to check on gold strategies, see the gold EA guide.

A short recap

  • Global button green, smiley face showing, live trading allowed in the EA properties.
  • Master password, not the investor password.
  • Right symbol name, right timeframe, symbol visible in Market Watch.
  • Inputs read for spread, time and news filters.
  • Lot size inside the broker's limits and the margin available.
  • Experts and Journal tabs read for the exact message.

Every product on the site, including the three above, is included in 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, MT4 Installation, MT5 Installation

← All posts

Get every EA with membership

313 products · from $16.59/month

See plans

More in Gold EAs