<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Smart Algotrade]]></title><description><![CDATA[Free guides on Forex algo trading, MetaTrader 4 Expert Advisors, MQL4 and backtesting by Smart Algotrade - developers of automated Forex robots for MT4 since 20]]></description><link>https://smartalgotrade.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6af9c6ca358c9fda981892da/2559f8d6-4fd5-43b6-a1fc-d4267eb1cfb1.png</url><title>Smart Algotrade</title><link>https://smartalgotrade.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 13:58:57 GMT</lastBuildDate><atom:link href="https://smartalgotrade.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[MT4 Expert Advisor Not Trading? 10 Fixes (Error 4109, 0 and More)]]></title><description><![CDATA[MT4 Expert Advisor attached but not opening trades? 10 common causes and fixes: AutoTrading, Allow live trading, error 4109, error 0 and more.]]></description><link>https://smartalgotrade.hashnode.dev/mt4-expert-advisor-not-trading-10-fixes-error-4109-0-and-more</link><guid isPermaLink="true">https://smartalgotrade.hashnode.dev/mt4-expert-advisor-not-trading-10-fixes-error-4109-0-and-more</guid><category><![CDATA[trading, ]]></category><category><![CDATA[Forex]]></category><category><![CDATA[algorithmic trading]]></category><category><![CDATA[metatrader4]]></category><dc:creator><![CDATA[Smart Algotrade]]></dc:creator><pubDate>Sun, 15 Nov 2026 14:56:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af9c6ca358c9fda981892da/d504eb23-d6b1-4ad8-a464-a2f79e7be7ac.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If your Expert Advisor (EA) 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.</p>
<h2>The short answer</h2>
<p>Check these five things in order. Together they solve the large majority of cases:</p>
<ol>
<li>The <strong>AutoTrading</strong> button in the toolbar is switched on.</li>
<li>The chart shows a <strong>smiley face</strong>, not a sad one, next to the EA name.</li>
<li><strong>Allow live trading</strong> is ticked in the EA's settings.</li>
<li>The EA is attached to the right <strong>symbol and timeframe</strong>.</li>
<li>The <strong>Experts</strong> and <strong>Journal</strong> tabs show no errors.</li>
</ol>
<p>If all five look right and it still does nothing, keep reading.</p>
<h2>1. Check the smiley face first</h2>
<p>When you attach an EA to a chart, MT4 shows its name in the corner of the chart with a small face next to it:</p>
<ul>
<li><strong>Smiley face:</strong> the EA is running and can trade.</li>
<li><strong>Sad face:</strong> the EA is running but cannot trade.</li>
<li><strong>No name at all:</strong> the EA is not attached, or it failed to load.</li>
</ul>
<p>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 - see this step-by-step guide on <a href="https://www.smartalgotrade.com/install-expert-advisor-into-metatrader-4/">how to install an Expert Advisor into MetaTrader 4</a>.</p>
<h2>2. The AutoTrading button is off</h2>
<p>This is the most common reason. The <strong>AutoTrading</strong> button is a master switch for every EA in the terminal. When it is off, it shows red and every chart shows a sad face.</p>
<p>Click it once to switch it on - it should turn green. MT4 can switch it off again by itself when you change account or load a different profile. If it keeps turning off, open <strong>Tools → Options → Expert Advisors</strong> and untick the options that disable automated trading on those changes.</p>
<h2>3. "Allow live trading" is not ticked</h2>
<p>AutoTrading is the global switch; each EA also has its own permission. Right-click the chart, choose <strong>Expert Advisors → Properties</strong>, open the <strong>Common</strong> tab and tick <strong>Allow live trading</strong>.</p>
<p>If this box is empty, the EA runs but cannot place orders, and MT4 reports <strong>error 4109</strong> in the Experts tab. While you are there, check the <strong>Long &amp; Short</strong> setting - if it allows one direction only, the EA ignores every signal in the other.</p>
<p>To make this the default, tick <strong>Allow automated trading</strong> in <strong>Tools → Options → Expert Advisors</strong>.</p>
<h2>4. Wrong chart, symbol or timeframe</h2>
<p>Most EAs are built for specific pairs and a specific timeframe. On the wrong chart, the EA may wait forever because its conditions never occur. Running more than one EA? Give each its own chart - here is how to <a href="https://www.smartalgotrade.com/algo-trading-blog/run-multiple-expert-advisors-one-mt4-account/">run multiple Expert Advisors on one MT4 account</a>.</p>
<p>Watch out for <strong>symbol suffixes</strong>. Many brokers name pairs <code>EURUSD.m</code>, <code>EURUSDpro</code> or <code>EURUSD-ECN</code>. An EA that expects plain <code>EURUSD</code> may not recognise the symbol and never trade.</p>
<h2>5. Market closed or no new tick</h2>
<p>An EA's <code>OnTick()</code> runs only when a new price tick arrives. Attach it at the weekend or in a quiet holiday session and it will sit still until the market moves. That is normal, not a fault.</p>
<p>Also check the connection indicator in the bottom-right corner - it should show traffic, not <em>No connection</em> or <em>Invalid account</em>.</p>
<h2>6. Read the Experts and Journal tabs</h2>
<p>Open the Terminal window with <strong>Ctrl+T</strong>. <strong>Experts</strong> shows messages from the EA; <strong>Journal</strong> shows messages from the platform and the broker. The codes you are most likely to see (meanings from the MQL4 documentation):</p>
<table>
<thead>
<tr>
<th>Error</th>
<th>Meaning</th>
<th>What to check</th>
</tr>
</thead>
<tbody><tr>
<td>0</td>
<td>Broker blocks automated trading</td>
<td>Ask broker support to enable EA trading</td>
</tr>
<tr>
<td>4109</td>
<td>Trade is not allowed</td>
<td>Allow live trading and AutoTrading</td>
</tr>
<tr>
<td>133</td>
<td>Trade is disabled</td>
<td>Account type or investor password</td>
</tr>
<tr>
<td>134</td>
<td>Not enough money</td>
<td>Free margin and lot size</td>
</tr>
<tr>
<td>131</td>
<td>Invalid trade volume</td>
<td>Lot below the minimum or wrong step</td>
</tr>
<tr>
<td>130</td>
<td>Invalid stops</td>
<td>SL or TP too close to price</td>
</tr>
<tr>
<td>132</td>
<td>Market is closed</td>
<td>Trading hours for that symbol</td>
</tr>
<tr>
<td>146</td>
<td>Trade context is busy</td>
<td>Too many EAs trading at once</td>
</tr>
</tbody></table>
<p>If the tabs are silent, the EA is probably running normally and waiting for a signal.</p>
<h2>7. Error 0: the broker blocked EA trading</h2>
<p>The order fails with <strong>error 0</strong> even though AutoTrading is green and the chart shows a smiley face. The problem is not in MT4 - the broker has blocked automated trading on your account.</p>
<p>Nothing in the terminal will fix it. Contact your broker's support, give them your account number, mention error 0, and ask them to enable automated (EA) trading.</p>
<h2>8. Not enough margin or wrong lot size</h2>
<p>If free margin is too low, the broker rejects the order with <strong>error 134</strong> - common on small accounts after a few losses.</p>
<p>If the EA calculates a lot size below the minimum (usually 0.01) or off the broker's lot step, the order fails with <strong>error 131</strong>. A free <a href="https://github.com/smartalgotrade-sudo/mt4-lot-size-calculator">MT4 lot size calculator script</a> helps you check the right size, and this guide explains <a href="https://www.smartalgotrade.com/algo-trading-blog/how-much-money-do-you-need-to-start-algo-trading/">how much money you need to start algo trading</a>.</p>
<h2>9. Investor password or account type</h2>
<p>MT4 accounts have two passwords. The <strong>master</strong> password allows trading; the <strong>investor</strong> password is read-only. Logged in with the investor password, every order fails with <strong>error 133</strong>. Log in again with the master password, and confirm with your broker that your account type allows automated trading.</p>
<h2>10. Your computer went to sleep</h2>
<p>An EA only works while MT4 is open and connected. If the computer sleeps, shuts down or loses internet, the EA stops. That is why traders who run EAs full-time use a low-cost <strong>VPS</strong> that stays online 24/7.</p>
<h2>Can an EA run on the MT4 mobile app?</h2>
<p>No. The MT4 apps for Android and iPhone do not run Expert Advisors. You can watch the trades, but the EA must run on the desktop terminal or a VPS.</p>
<h2>When the EA is working but just not trading</h2>
<p>Sometimes nothing is wrong: smiley face, AutoTrading green, clean tabs. The EA is simply waiting for its conditions. Some strategies trade several times a day; others wait days for a setup.</p>
<p>Check how often the EA normally trades by looking at its backtest - here is <a href="https://www.smartalgotrade.com/algo-trading-blog/how-to-read-an-mt4-backtest-report/">how to read an MT4 backtest report</a>. If it hardly trades even in its own backtest, or the results look too good to be true, read <a href="https://www.smartalgotrade.com/algo-trading-blog/why-most-expert-advisors-fail/">why most Expert Advisors fail</a> and <a href="https://www.smartalgotrade.com/algo-trading-blog/how-to-spot-a-scam-expert-advisor/">how to spot a scam Expert Advisor</a>.</p>
<h2>Final thoughts</h2>
<p>An EA that is not trading 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.</p>
<hr />
<p><em>Originally published on the <a href="https://www.smartalgotrade.com/algo-trading-blog/mt4-expert-advisor-not-trading/">Smart Algotrade Algo Trading Blog</a>. Smart Algotrade develops automated Forex trading robots for MetaTrader 4.</em></p>
<p><em>Risk warning: Forex and CFD trading involves significant risk of loss.</em></p>
]]></content:encoded></item></channel></rss>