How to Fix MT4 AutoTrading Not Working in 5 Steps

Step 1: Enable Global and Individual Trading Permissions

Knowing how to enable auto trading in MT4 is the essential starting point for any troubleshooting effort. Before examining logs, adjusting settings, or rebuilding an Expert Advisor from scratch, you need to confirm that MetaTrader 4 own permission system is not silently blocking execution. Two layers of controls must both be active simultaneously — a global switch that governs the entire platform, and individual permissions set per EA. Missing either one is enough to prevent any trade from firing.

According to MetaTrader 4 Help, if the AutoTrading button is red, all EAs across all charts are globally disabled regardless of individual settings. This is the single most common reason traders find their automated trading setup failing without any obvious error message.

Follow these steps to clear both permission layers:

  1. Click the AutoTrading button in the top toolbar and confirm it turns green. A red button means the MT4 AutoTrading button is effectively disabled platform-wide — no EA can place orders regardless of any other setting.
  2. Right-click the chart running your Expert Advisor and select Expert Advisors, then Properties from the context menu.
  3. Open the Common tab inside the Properties dialog and check both the Allow live trading and Allow DLL imports boxes. Missing either checkbox blocks execution at the individual EA level.
  4. Click OK to apply the changes and watch the top-right corner of the chart for an immediate status update.

Smiley face = active. Sad face = blocked. The small icon in the top-right corner of the chart is the fastest visual indicator of EA status. A smiley face confirms permissions are correctly configured and the EA is armed to trade. A sad face means at least one permission layer remains blocked, and you should repeat the steps above before proceeding further.

Once both the global button and individual EA permissions are confirmed green, the chart icon should display a smiley face. If it does not, the issue likely sits one level deeper — in your account credentials or broker-side restrictions — which the next step covers in detail.

Step 2: Audit Connection and Account Credentials

With global and per-chart permissions confirmed, the next layer to examine is your connection status and login credentials — two silent culprits behind many cases of an MT4 EA not working despite correct permission settings.

This step walks you through verifying that MT4 is connected to your broker’s server, that you are logged in with the correct password type, and that your account is authorized for automated order execution.

  1. Check the connection indicator in the bottom-right corner of MT4. A green icon with a signal bar count confirms an active server connection. If you see “No connection” or “Invalid account,” your EA cannot transmit orders regardless of any other setting.
  2. Confirm your login password type. Investor passwords allow you to view charts but strictly prohibit any order execution, including those from EAs — according to the EA-Coder Troubleshooting Guide. Log out and re-enter your Master Password to restore full trading access.
  3. Verify your account type with your broker. Some brokers restrict automated trading to specific account types. An ECN account may permit EAs while a Standard account on the same broker does not. Contact your broker’s support team to confirm your account’s automation permissions.
  4. Place a single manual trade if your EA appears blocked after a broker policy update. Brokers occasionally require acceptance of updated Terms and Conditions, and a manual order triggers the necessary agreement prompt within the platform.
  5. Re-login to force a session refresh if the connection indicator shows green but orders still fail. Navigate to File → Login to Trade Account and re-enter your credentials to establish a clean session.

Once your connection is stable and your Master Password is active, your account credentials are no longer a barrier. If the EA remains silent after this audit, the problem typically lives inside the platform’s own error log — which the next step covers in detail.

Step 3: Diagnose Error Codes in the Experts Tab

With permissions verified and your connection confirmed stable, the next place to look when MT4 auto trading is not executing is the Terminal's built-in log system. MT4 records every EA action and rejection in plain language — you just need to know where to look.

Open the Terminal window with Ctrl+T, then click the Experts tab to see real-time EA activity. The Journal tab records broader platform events, including login confirmations and connection drops. Read both together; the Experts tab shows what the EA attempted, while the Journal reveals why the platform may have blocked it.

Once the logs are visible, match any error codes against the table below:

Error Code Meaning Fix
Error 130 Invalid stops — SL/TP too close to price Widen stop-loss or take-profit beyond the broker's minimum distance
Error 131 Invalid trade volume — lot size rejected Adjust lot size to meet broker's minimum or step requirements
Error 4109 Trade is not allowed by broker or platform Re-enable "Allow live trading" in EA properties; confirm account permissions
Not enough money Insufficient margin — not a software bug Reduce position sizing or deposit additional funds

Error 4109 is particularly deceptive because it often appears after the unchecking of the Allow live trading checkbox — a setting covered in Step 1 — or when a broker restricts the account type from automated execution. And a "Not enough money" message points entirely to margin, not broken EA logic; reviewing your EA parameters for position sizing rules is often the fastest resolution.

Once errors are cleared at the software level, one variable remains that logs cannot fix: hardware reliability. Even a perfectly configured EA fails if your local machine sleeps, restarts, or loses its internet connection — which is exactly what the next step addresses.

How to Ensure 100% Uptime with a Forex VPS

Even after resolving permissions, credentials, and error codes, one overlooked variable can still silently kill your Expert Advisor: your local hardware. PC sleep mode, Windows updates, and ISP connection flickers are among the most common reasons a fully configured EA stops executing trades — often at the worst possible moment. Solid MetaTrader 4 EA troubleshooting ends when you remove the local machine from the equation entirely.

A Forex VPS (Virtual Private Server) is a remote server that runs MT4 continuously, 24 hours a day, 7 days a week. According to New York City Servers, a VPS provides ultra-low latency and ensures the EA remains active even when your local computer is powered off. Professional trading automation demands this level of reliability. Here is how to transition your setup:

  1. Identify your broker’s server location — check your broker’s documentation for their primary server region, typically London or New York.
  2. Select a VPS provider with a data center geographically close to that server location to minimize execution latency.
  3. Install MT4 on the VPS using the same broker login credentials you use locally.
  4. Transfer your EA files to the VPS by copying them into the correct MQL4/Experts folder on the remote machine.
  5. Configure all chart settings and EA inputs on the VPS instance exactly as they are on your local terminal.
  6. Disable the local MT4 instance to avoid duplicate order conflicts, then confirm the VPS terminal is executing correctly via the Experts Tab.

Removing local hardware as a variable is what separates a fragile retail setup from a professional one — and it pairs naturally with well-documented EA logic that can run reliably without manual oversight. With infrastructure solved, the final step is ensuring your entire MT4 setup reflects a professional standard from the ground up.

The Bottom Line: Professionalizing Your MT4 Setup

When an Expert Advisor not working issue stops your strategy cold, the fix almost always traces back to a small number of root causes. Follow this resolution sequence to confirm every layer is in order before assuming a deeper technical problem exists.

  1. Verify the green AutoTrading button and smiley face simultaneously. Both must be active — the button enables platform-wide trading automation, and the smiley face on the chart confirms the EA itself has execution permission.
  2. Open the Experts Tab immediately after any failed trade signal. The [Experts Tab is the only place MT4 logs why a trade was rejected](https://www.ea-coder.com/troubleshooting-mt4-expert-advisors/), surfacing error codes and rejection reasons that the chart never displays.
  3. Confirm you logged in with a Master Password, not an Investor Password. Investor-mode accounts are read-only by design — no EA will ever place an order through them, regardless of other settings.
  4. Run your EA on a stable VPS to eliminate local hardware, internet outages, or sleep-mode interruptions from the equation entirely.
  5. Upgrade your trading interface. A custom trading dashboard built through [MQL UI Studio](https://mqluistudio.com) can expose strategy health, position sizing status, and risk management signals in real-time — turning invisible execution problems into visible, measurable data points.

As MQL UI Studio's mission states, the platform "transforms trading ideas into professional visual systems that help traders validate and automate workflows." That shift — from guessing why your EA is silent to reading live diagnostic information on a custom trading interface — is where systematic traders gain a lasting edge. Take the next step and explore what a purpose-built MetaTrader solution can do for your setup.