EA Not Opening Trades on H4 Chart? Full Troubleshooting Guide

Quick Answer

An EA that sits silent on the H4 chart is almost always a configuration or environment problem, not a broken strategy — the H4 timeframe only closes six candles a day, so a rules-based system that waits for a clean setup can legitimately go 24–72 hours without a signal. Before assuming anything is wrong, confirm AutoTrading/Algo Trading is enabled at both the terminal and chart level, check the Experts and Journal tabs for rejection codes, verify the chart symbol matches what the EA expects, and rule out margin, broker-side trading restrictions, and VPS connectivity gaps. Work through these checks in order and you will identify the cause — usually within fifteen minutes — in the large majority of cases.

Few things are more unsettling than opening MetaTrader after a weekend, seeing an EA attached to a clean H4 gold chart, and realizing it has not opened a single position in days. Is the strategy dead? Is the platform broken? Did a broker change quietly break the connection? The good news is that "no trades" on a 4-hour timeframe is one of the most common and most diagnosable support questions in automated trading, and it follows a predictable troubleshooting path. This guide walks through that path in the order experienced traders actually use it, with the log messages, settings, and numeric examples you need to tell a real problem from normal, disciplined behavior.

Why H4 Gold EAs Look "Silent" More Often Than Other Timeframes

Before touching any settings, it helps to understand why the H4 timeframe specifically produces more "is it broken?" moments than M15 or M5 charts. A 4-hour chart forms only six candles per trading day and roughly 30 candles per week. If a strategy is selective by design — waiting for trend and momentum confirmation to align before it risks capital — the natural signal frequency on H4 gold is low. An EA that averages one trade per day, for example, might realistically produce zero signals on a quiet Tuesday and two on a volatile Thursday around a major data release. That variance is normal on any timeframe where gold trades in defined sessions rather than continuously reacting to noise.

Compare that to an M5 scalping EA, which might evaluate conditions every five minutes and therefore surface a configuration bug within the hour. On H4, the same bug can hide for a full trading day before you notice the absence of activity. That delay is exactly why a structured checklist matters more here than on faster timeframes — you cannot simply "wait five more minutes and see."

Step 1: Confirm the EA and Algo Trading Are Actually Active

This sounds obvious, but it is the single most common cause of a silent EA, and it is worth ruling out first because it takes under a minute. Two separate switches must both be "on" for any Expert Advisor to trade:

The terminal-wide AutoTrading toggle

In MT4 and MT5, there is a global AutoTrading button in the toolbar. If it is red or shows a stop icon, no EA on any chart can send orders, regardless of chart-level settings. A restart of the terminal, a Windows update on a VPS, or simply a misclick can silently flip this off. Check the MetaTrader 5 terminal documentation for exactly where this control sits in your build, since minor UI differences exist between versions.

The chart-level "Expert Advisors allowed" state

Each chart the EA is attached to also needs a green smiley-face icon (MT4) or an equivalent "active" indicator (MT5) in the top-right corner. A gray or frowning face means the EA loaded but is not permitted to trade on that specific chart — often because "Allow live trading" was left unchecked in the EA's Common tab when it was attached, or because the chart was reloaded after a terminal restart without re-enabling it.

Live trading permission inside the EA's own properties

Right-click the chart, open Expert Advisors properties, and confirm "Allow Algo Trading" (MT5) or "Allow live trading" (MT4) is checked, and that DLL imports are enabled if the EA requires them. Golden Viper EA and most modern EAs will refuse to place trades and typically log a clear message if this permission is missing — which is exactly why the next step, reading the log, matters so much. For background on what these permission fields actually control, MetaTrader's own automated trading overview is a useful primer, and our guide to understanding EA settings walks through every field in the Common and Inputs tabs in more detail.

Step 2: Check Symbol, Chart, and Timeframe Match What the EA Expects

An EA built to trade one instrument on one timeframe will not open trades — and should not — if it is attached to the wrong chart. This is a surprisingly frequent cause of "no trades" reports, particularly right after installing or reinstalling a system.

Two mismatches account for most cases:

  • Symbol naming. Brokers label gold differently — XAUUSD, XAUUSD.m, GOLD, XAUUSD_i, or a suffix tied to account type. If the EA's internal logic checks for an exact symbol string and your broker uses a variant, some EAs will simply do nothing rather than error out loudly. Confirm the exact symbol name shown in your Market Watch window matches what the EA was built for.
  • Timeframe. An EA designed for H4 confirmation logic reads H4 candle data specifically. Attaching it to an H1 or Daily chart by mistake means it is either evaluating the wrong data or, in stricter builds, refusing to run at all. Always verify the small timeframe label in the chart's top-left corner matches the EA's documented requirement before assuming something is broken.

If you run multiple EAs or multiple instances of the same EA across accounts, also check for magic number conflicts — two EAs sharing a magic number on the same symbol can interfere with each other's order management, occasionally suppressing new entries even though each individually looks correctly configured.

Step 3: Read the Experts and Journal Tabs for Error Codes

This is the step most traders skip, and it is the one that resolves the mystery fastest. The Experts tab (EA-specific messages) and the Journal tab (platform-wide messages) log almost everything relevant: initialization failures, rejected orders, permission blocks, and connectivity drops. Open Toolbox at the bottom of the terminal and scroll back to the point the EA was attached.

The table below lists the messages you are most likely to see when an EA is not opening trades on a 4-hour gold chart, what they typically mean, and the fix.

Log Message or CodeLikely CauseWhat to Check or Do
"AutoTrading disabled by client"Terminal-wide AutoTrading toggle is offClick the AutoTrading button in the toolbar until it shows green/active
"Trade context busy" (MT4)Another EA or manual order is mid-executionWait a few seconds; if persistent, check for conflicting EAs on other charts
Error 130 / "Invalid stops"Stop-loss or take-profit level too close to price for the broker's minimum distanceCheck the broker's minimum stop distance in Market Watch symbol specification
Error 134 / "Not enough money"Free margin insufficient for the calculated lot sizeReduce risk percentage per trade or add funds; see margin discussion below
"Market is closed"EA is running outside the broker's XAUUSD trading sessionConfirm broker's gold trading hours; weekends and rollover gaps are normal
No entry at all, no error loggedStrategy conditions have simply not been met yetSelective EAs can go a full session with no valid H4 setup — this is expected
"Function is not allowed for call" / DLL errorRequired imports or WebRequest permissions not enabledRe-check Expert Advisors properties for allowed imports/URLs

If the Journal shows no errors at all and the EA is simply quiet, that is actually good news — it usually means the system is working exactly as intended and waiting for its next qualifying setup, which for a selective, non-martingale system is the normal state most of the time. Our common EA problems and fixes guide covers a broader library of error codes beyond the ones specific to a quiet chart.

Step 4: Rule Out Account, Margin, and Broker-Side Blocks

Even a perfectly configured EA cannot open a trade if the account itself cannot support one. Work through these account-level checks:

Free margin versus required margin

Say your risk-based lot sizing calculates a position that requires $220 in margin at current leverage, but your account only has $150 in free margin because of an open drawdown on another instrument. The order will be rejected, typically logged as "not enough money." Review your current drawdown and free margin before assuming the strategy logic is at fault — understanding how drawdown erodes usable capital makes this relationship clearer.

Broker trading restrictions

Some brokers restrict specific account types from algorithmic trading, cap the number of open positions, or apply symbol-specific trading holidays around low-liquidity periods (year-end, certain public holidays). Check your broker's account dashboard or contact support to confirm nothing is restricted at the account level.

Stale quotes or a disconnected feed

If the terminal shows a connected icon but prices have not updated in the Market Watch window for several minutes, the EA may be technically "running" while receiving no fresh candle data to evaluate. A quick way to check: compare the last quote timestamp against the actual time. A gap of more than a few minutes during active market hours points to a feed issue, not a strategy issue.

Step 5: Confirm the Strategy Conditions Simply Haven't Triggered Yet

This step requires patience rather than technical troubleshooting, but it is genuinely the most common explanation once the mechanical checks above come back clean. A rules-based XAUUSD system built around trend and momentum confirmation is deliberately selective — it is not designed to be in the market constantly, and averaging roughly one qualifying setup per day, at most, means many individual sessions will produce nothing at all.

Consider a concrete example. Suppose over a 20-trading-day month the strategy takes 14 trades. That leaves 6 days — nearly a third of the month — with zero entries, purely because price action did not present a valid setup. If you check the chart only on one of those six quiet days, the EA can look "broken" when it is behaving exactly as designed. This is also why backtesting your specific configuration matters: running the EA through historical H4 gold data on your own broker's feed via MT4 or MT5 shows you the realistic gap between signals under your exact spread and execution conditions, so a quiet week does not come as a surprise.

If you want independent confirmation that a strategy is producing signals elsewhere, a live, third-party-verified track record such as one hosted on Myfxbook or an MQL5 signal lets you compare your own chart's silence against a public feed running the same style of system, which is often the fastest way to distinguish "quiet market" from "something is actually wrong on my end."

Step 6: Eliminate VPS, Connectivity, and Platform Update Issues

If you run MetaTrader on a VPS — which is standard practice for any EA meant to run 24/5 without depending on your home internet or a laptop staying open — the VPS itself can be the silent culprit.

Check the VPS is actually online and the terminal is running

A VPS reboot triggered by a hosting provider's maintenance window will close MetaTrader unless it is configured to auto-launch on startup. If nobody checked the VPS for several days, the terminal may simply not be running at all, which obviously means zero trades regardless of strategy quality. Our VPS comparison for forex EAs and VPS setup walkthrough both cover auto-start configuration in detail.

Confirm the platform build is current

Occasionally a broker-side server update requires a matching terminal update before order execution behaves normally. Check the MetaTrader 4 help documentation or your terminal's Help menu for the current build number and update if you're several versions behind.

Ping and latency

Extremely high latency between your VPS and the broker's server can, in rare cases, cause order requests to time out silently. Most reputable VPS providers publish ping times to major broker data centers — if yours is consistently above 100–150ms, that is worth investigating separately from the EA configuration itself.

Common Configuration Mistakes That Mimic a Broken EA

Beyond the step-by-step checks above, a handful of recurring input-level mistakes account for a large share of "not trading" reports. The table below is a quick self-audit.

MistakeSymptomCorrection
Risk percentage set to 0 or a placeholder valueEA runs, logs no errors, never calculates a valid lot sizeSet a deliberate risk percentage per trade under one of the defined risk modes
Trading hours filter left over from a different EA/templateEA only evaluates setups during a narrow window that excludes gold's active sessionReset time-filter inputs to defaults or remove them if not required
Attached to a demo chart while believing it's the live accountTrades appear to open "somewhere" but not on the account being monitoredConfirm the account number in the terminal title bar matches the one you're checking
Multiple chart instances of the same EA/symbolUnpredictable or suppressed entries due to conflicting magic numbersRun one instance per symbol/timeframe combination with a unique magic number
Outdated or corrupted set file after an updateInputs silently reset to defaults that don't match the intended configurationRe-apply your saved .set file and verify each input after any EA update

Building a Repeatable Troubleshooting Routine

Once you have worked through the checks above a couple of times, it helps to formalize them into a short routine you run any time an EA goes quiet for longer than expected. A practical structure:

  1. Glance at the AutoTrading icon and the chart smiley face — five seconds, rules out the most common cause instantly.
  2. Scroll the Experts and Journal tabs back to the last EA initialization message.
  3. Confirm symbol and timeframe match the EA's documented requirements.
  4. Check free margin against your configured risk percentage and current open drawdown.
  5. Compare against a public verified track record to see whether the underlying strategy is trading elsewhere on similar conditions.
  6. If everything checks out clean, treat the silence as a normal, selective trading period and revisit the chart at the next session open rather than repeatedly restarting the terminal.

Keeping a simple log of when you last saw a trade, what the Journal showed, and what session gold was in at the time makes pattern recognition much faster the next time something looks off. This is also where sound risk management discipline pays off indirectly: an account with sensible position sizing rarely runs into the margin-driven order rejections that get mistaken for a "broken" EA in the first place.

When "No Trades" Is a Red Flag, Not a Technical Glitch

Most of the time, a quiet H4 chart is nothing more than a quiet market or a small configuration fix. But it is worth knowing the difference between a legitimate troubleshooting scenario and warning signs tied to dishonest products, especially if you are evaluating a new EA rather than debugging one you already trust.

Be cautious of any provider who responds to a "why isn't it trading" question with vague reassurance instead of specific, checkable log analysis, or who cannot point you to a real, independently hosted track record. The CFTC's guidance on forex fraud and its advisory on automated trading system scams both flag unverifiable performance claims and evasive support as classic warning signs. The FTC's overview of investment scams makes a similar point: legitimate systems welcome scrutiny of their logs and their published results, while fraudulent ones deflect it. When you do check a track record, confirm it carries genuine, third-party verification — Myfxbook's own verification standards explain what separates a connected, audited account from a screenshot that can be edited freely. No honest EA provider will claim guaranteed results or promise the system "always" trades on schedule — trading involves genuine uncertainty, and any system that denies that is telling you something important about its credibility, not its performance.

Putting It All Together: A Diagnostic Decision Table

Use the table below as a fast reference the next time you're unsure whether to keep waiting or start digging deeper.

What You ObserveWait or Investigate?Recommended Next Action
No trades for under 24 hours, no Journal errors, AutoTrading activeWaitNormal for a selective H4 strategy; recheck at next session open
No trades for multiple days, Journal shows repeated rejection codesInvestigate nowWork through Steps 1–4 in this guide, starting with the specific error code
AutoTrading icon is red/offInvestigate nowRe-enable immediately; this alone accounts for a large share of cases
Free margin close to or below required margin for current risk settingInvestigate nowReduce risk percentage or add funds before next signal attempts to fire
VPS unreachable or terminal not runningInvestigate nowRestart VPS, confirm auto-launch is configured, reattach EA
Everything checks out clean but you're still unsureCompareCheck a verified public track record for the same style of strategy during the same period

If you're still setting up your account and want to reduce future troubleshooting sessions before they start, it's worth reviewing your overall setup end to end — from connecting your MT4 account to a verification service so you always have independent confirmation of activity, to double-checking broker execution quality against gold's typical spread. A clean initial setup on a properly configured platform prevents the majority of the "why isn't it trading" questions from ever coming up.

A brief risk note: Trading gold or any leveraged instrument carries genuine risk, and losses are possible even with a well-configured, disciplined system. Nothing in this guide guarantees future results, and past performance — verified or otherwise — does not predict what any strategy will do next. Only trade with capital you can genuinely afford to lose, and treat every troubleshooting session as an opportunity to also review your position sizing and overall risk exposure, not just your platform settings.

Frequently Asked Questions

Why hasn't my EA opened any trades in over 24 hours on the H4 chart?

Most commonly, the strategy's entry conditions simply haven't been met yet — a 4-hour chart only forms six candles a day, so a selective, rules-based system can realistically go a full session or more without a qualifying setup. Before assuming a fault, confirm AutoTrading is enabled, check the Experts/Journal tabs for errors, and verify the chart symbol and timeframe are correct.

How do I know if AutoTrading is actually enabled?

Look for the AutoTrading button in the platform toolbar — it should be green or highlighted as active, not red or grayed out. Separately, each chart needs its own "Expert Advisors allowed" indicator (typically a green smiley icon in MT4, or an equivalent status in MT5) showing active in the top-right corner of the chart itself.

What does "not enough money" mean in the Journal, and how do I fix it?

It means your account's free margin is below what's required to open the position size the EA calculated based on your risk setting. Reduce the risk percentage per trade, close or manage other open positions contributing to the margin usage, or add funds to the account.

Could the wrong symbol name be the reason my gold EA isn't trading?

Yes. Brokers label gold differently — XAUUSD, XAUUSD.m, GOLD, or with account-type suffixes. If the EA is attached to a chart whose symbol name doesn't exactly match what it expects, it may not evaluate or trade at all, sometimes without an obvious error message.

Is it normal for a gold EA to skip an entire trading day?

Yes, for a selective strategy. A system built to take roughly one qualifying setup per day, at most, will by definition have sessions where no valid entry occurs. This is expected behavior for a disciplined, non-martingale approach rather than a sign of malfunction.

My VPS was rebooted — could that explain the silence?

Absolutely. If the VPS restarted for maintenance and MetaTrader wasn't configured to auto-launch on startup, the terminal simply isn't running, which means the EA isn't evaluating anything at all. Always confirm the terminal is open and connected after any VPS-level restart.

How can I tell if the strategy is actually working versus my setup being broken?

Compare against a live, independently verified track record for a similar style of system, such as one hosted on Myfxbook or published as an MQL5 signal. If the public feed is trading normally during the same period your chart is quiet, the issue is almost certainly local to your setup rather than the strategy itself.

Does backtesting help diagnose a currently silent EA?

Indirectly, yes. Running your exact configuration through historical H4 gold data on your broker's feed shows you the realistic frequency of signals under real spread and execution conditions, so you know what a "normal" quiet period looks like versus something unusual for your setup specifically.

Can two EAs or two instances of the same EA interfere with each other's trading?

Yes, particularly if they share the same magic number on the same symbol. This can cause order management conflicts that suppress or distort new entries even though each instance individually appears correctly configured. Always assign unique magic numbers when running more than one EA or instance.

Should I restart the EA repeatedly if it isn't trading?

Not as a first response. Repeatedly detaching and reattaching the EA can reset internal state and mask the real cause. Work through the Journal logs and configuration checks first; only restart once you've identified and corrected the underlying issue.

Myfxbook Verified

Automate Your Tutorials Edge

+€1,485Net · 6-mo (verified)
56%Win Rate (51/91)
24/5Automated
Starting at $199 one-time
Get Lifetime Access →
✓ Instant download✓ Full feature access✓ MT4 & MT5 compatible
NB

Nathan Brooks

Nathan Brooks writes about MetaTrader 4/5, Expert Advisors, and automated XAUUSD gold trading for Golden Viper EA.

Myfxbook VerifiedLive since Jan 2026Public track record

Let Golden Viper EA trade gold for you

Automated XAUUSD trading for MT4 & MT5, verified live on Myfxbook. One-time $199, lifetime access.

Get Lifetime Access — $199