MT4 Expert Advisor Not Trading? How to Fix It

If your expert advisor is not trading, the good news is that the cause is almost never the EA itself. In most cases it is a single setting in MetaTrader 4, and you can find it in a couple of minutes. This guide walks through every common reason, starting with the fastest checks.

The Short Answer: Why Your Expert Advisor Is Not Trading

Check these five things in order. Together they solve the large majority of cases.

  1. The AutoTrading button in the toolbar is switched on.
  2. The chart shows a smiley face, not a sad one, next to the EA name.
  3. Allow live trading is ticked in the EA’s settings.
  4. The EA is attached to the right symbol and timeframe.
  5. The Experts and Journal tabs show no errors.

If all five look right and it still does nothing, keep reading. The later sections cover margin, account type, error codes and the one situation where nothing is actually wrong.

Check the Smiley Face First

When you attach an expert advisor to a chart, MT4 shows its name in the corner of that chart with a small face next to it. That face is the quickest diagnostic you have.

  • Smiley face: the EA is running and can trade.
  • Sad face: the EA is running but cannot trade.
  • No name at all: you have not attached the EA, or it failed to load.

A sad face almost always points to one of the next two sections. No name at all usually means the file is in the wrong folder, which our guide on how to install an expert advisor into MetaTrader 4 covers step by step.

The AutoTrading Button Is Off

This is the most common reason an expert advisor is not trading. The AutoTrading button in the main toolbar is a master switch for every EA in the terminal. When it is off, the button shows red and every chart shows a sad face.

MT4 AutoTrading button - when it is off, the expert advisor is not trading

Click it once to switch it on. It should turn green. However, MT4 can switch it off again by itself. By default it does this when you change account or load a different profile. So if it keeps turning off, open Tools → Options → Expert Advisors and untick the options that disable automated trading on those changes.

You Have Not Ticked “Allow Live Trading”

AutoTrading is the global switch. Each EA also has its own permission. Right-click the chart, choose Expert Advisors → Properties, and open the Common tab. Make sure Allow live trading is ticked.

If this box is empty, the EA runs but cannot place orders. In fact, MT4 reports exactly that in the Experts tab as error 4109. While you are there, also check the Long & Short setting. If it allows one direction only, the EA will ignore every signal in the other.

To make this the default for every EA you attach, tick Allow automated trading in Tools → Options → Expert Advisors.

The EA Is on the Wrong Chart, Symbol or Timeframe

Developers build most expert advisors for specific pairs and a specific timeframe. Attach one to the wrong chart and it may simply wait forever, because its conditions never occur there.

Watch out for symbol suffixes in particular. Many brokers name their pairs EURUSD.m, EURUSDpro or EURUSD-ECN. An EA that expects plain EURUSD may not recognise the symbol and never trade. Check the EA’s instructions for the exact chart and timeframe it expects.

Trading Hours Are Over or No New Tick Has Arrived

An expert advisor only runs when a new price tick arrives. So if you attach it at the weekend, or during a quiet holiday session, it will sit still until the market moves again. That is normal, not a fault.

Similarly, check that the terminal is actually connected. The connection indicator in the bottom-right corner should show traffic, not No connection or Invalid account.

Reading the Experts and Journal Tabs

When something goes wrong, MT4 usually says so. Open the Terminal window with Ctrl+T and look at two tabs. Experts shows messages from the EA itself. Journal shows messages from the platform and the broker. Here are the codes you are most likely to see, with their meaning from the official MQL4 documentation:

MT4 Terminal window with the Experts tab, where expert advisor errors appear
ErrorMeaningWhat to check
0Broker blocks automated tradingAsk broker support to enable automated trading
4109Trade is not allowedAllow live trading and AutoTrading
133Trade is disabledAccount type or investor password
134Not enough moneyFree margin and lot size
131Invalid trade volumeLot size below the minimum or wrong step
130Invalid stopsStop loss or take profit too close to price
132Market is closedTrading hours for that symbol
146Trade context is busyToo many EAs trading at once

If you see none of these and the tabs are silent, the EA is probably running normally and simply waiting for a signal.

Error 0: Expert Advisor Not Trading Because the Broker Blocked It

This is the error we see most often from our own customers. The Experts or Journal tab shows the order failing with error 0, even though AutoTrading is green and the chart shows a smiley face. In this case the problem is not in MT4 at all. The broker has blocked automated trading on your account from their side.

Nothing you change in the terminal will fix it. Instead, contact your broker’s support team and ask them to enable automated trading (sometimes called EA trading) on your trading account. Give them your account number, and mention that you see error 0 when the expert advisor tries to open a trade. Once they open it, the EA usually starts trading on the next signal without any other change.

Not Enough Margin or the Wrong Lot Size

An expert advisor can only open a trade the account can afford. If free margin is too low, the broker rejects the order with error 134. This is common on small accounts, especially after a few losing trades have reduced the balance.

Lot size causes the other half of these problems. The minimum is usually 0.01, but some accounts use a different minimum or step. If the EA calculates a lot size below the minimum, the order fails with error 131. Our guide on how much money you need to start algo trading explains how to size an account so this does not happen.

Your Account Type or Password Is Blocking Trades

This one catches many people out. MT4 accounts have two passwords. The master password allows trading. The investor password is read-only: you can see the account, but nothing can trade on it. If you logged in with the investor password, every order fails with error 133.

Therefore, if error 133 appears, log out and log in again with the master password your broker sent you. Also confirm with your broker that your account type permits automated trading.

Your Computer Went to Sleep

An expert advisor only works while MT4 is open and connected. If your computer sleeps, shuts down or loses internet, the EA stops. Nothing on the broker’s side keeps it running.

That is why most traders who run EAs full-time use a low-cost VPS, a remote computer that stays online around the clock. We explain why “passive” still needs this kind of setup in algo trading passive income for beginners.

Can an Expert Advisor Run on the MT4 Mobile App?

No. The MetaTrader 4 apps for Android and iPhone do not run expert advisors at all. You can watch trades an EA has opened, but the EA itself must run on the desktop terminal or a VPS. If you installed an EA and only use the phone app, that alone explains why nothing is happening.

When the Expert Advisor Is Working but Just Not Trading

Sometimes nothing is wrong. You have a smiley face, AutoTrading is green, and the tabs are clean. The EA is simply waiting for its conditions. Some strategies trade several times a day. Others wait days for the right setup.

Before you change anything, check the EA’s own description for how often it normally trades. Then compare with its history. Our walkthrough of how to read an MT4 backtest report shows how to see the trade count and frequency in a test, so you know what “normal” looks like.

Final Thoughts on Fixing an Expert Advisor That Is Not Trading

An expert advisor that is not trading is frustrating, but it is rarely broken. Work through the checks in order: AutoTrading, the smiley face, Allow live trading, the chart, then the Experts and Journal tabs. Most problems end in the first two minutes.

If you are running our Free FX Robot and still stuck after all of this, our support desk can look at it with you. Send a screenshot of the chart and the Experts tab, and we can usually spot the cause straight away.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

wpChatIcon
    wpChatIcon
    Scroll to Top