Download & Set Up MT4: Beginner Guide (2026)

Quick Answer

To download and set up MT4: 1) Choose a broker that supports XAUUSD trading, 2) Download MT4 from your broker's website (it is free), 3) Install the platform, 4) Log in with your broker account credentials, 5) Open an XAUUSD chart and set it to H1 timeframe. Total setup time: approximately 15 minutes.

MetaTrader 4 is still the most widely used trading platform in the world, even in 2026, and it's the foundation for running Expert Advisors that automate your trading. The installation itself is rarely where people run into trouble. The real work is picking the right broker, selecting the correct server, and configuring the platform for EA trading before you attach any automated system. This guide walks through every step, from broker selection to your first chart, for traders who plan to run EAs on MetaTrader 4.

What Is MetaTrader 4?

MetaTrader 4 (MT4) is a free trading platform built by MetaQuotes Software. It has been the industry standard since 2005, and millions of traders around the world rely on it for:

  • Forex and gold trading: XAUUSD, EURUSD, and hundreds of other instruments
  • Automated trading: run Expert Advisors (EAs) that trade 24/5 without manual intervention
  • Technical analysis: charts, indicators, and drawing tools
  • Backtesting: test strategies against historical data

Why MT4 Is Still the Top Choice in 2026

FeatureMT4 Advantage
EA compatibilityLargest library of Expert Advisors available
Broker supportOffered by virtually every forex broker
Stability20+ years of development, extremely reliable
ResourcesMassive community, tutorials, and forums
LightweightRuns on older hardware, low resource usage
CostCompletely free to download and use

MT4 or MT5? Making the Right Choice Before You Download

This guide focuses on MT4 because it remains the default choice for most gold EA traders, but it's worth understanding what you'd gain or give up by choosing MetaTrader 5 instead. Both platforms are free, both are built by MetaQuotes, and both run Expert Advisors, so the decision usually comes down to compatibility rather than cost.

The practical answer for most beginners: check what your chosen broker offers and what your EA supports first, then pick the platform. Golden Viper EA covers both MT4 and MT5, so platform choice doesn't limit which automated system you can run, but plenty of older or niche EAs are MT4-only.

MT4 vs MT5 at a Glance

FactorMT4MT5
Release year20052010
Order types4 pending order types6 pending order types
Built-in timeframes921
Programming languageMQL4MQL5 (more object-oriented, often faster)
Hedging (opposite positions, same symbol)Supported by defaultBroker/account-type dependent
Strategy testerSingle-threaded, single-symbolMulti-threaded, multi-symbol, more realistic
EA and indicator libraryLarger, more legacy EAsSmaller, growing
Broker availabilityNearly universalCommon, but not every broker offers it

If you're unsure which one fits your setup, our dedicated MT4 vs MT5 for XAUUSD comparison goes deeper into how these differences actually affect gold trading. And if you already run MT4 and are weighing a switch later, see our guide on migrating from MT4 to MT5 without disrupting a live EA setup.

Step 1: Choose a Broker First

You'll download MT4 from your broker's website, not directly from MetaQuotes. The broker's version comes pre-configured to connect to their trading servers, which is why choosing the right broker matters so much, especially for EA trading and gold.

What to Look For in a Broker

  • XAUUSD available: Not all brokers offer gold trading on all account types
  • EA trading allowed: some brokers restrict automated trading, so check before opening an account
  • Low gold spread: Under 25 points on ECN accounts is ideal
  • Fast execution: Under 100ms for reliable EA performance
  • Regulation: Choose a broker regulated by FCA, ASIC, CySEC, or equivalent

For detailed broker comparisons and recommendations, see our best brokers for gold EA trading guide.

ECN vs Market Maker Execution

Brokers fill your orders in one of two ways, and it matters more for EA trading than most beginners realize. Market maker (dealing desk) brokers take the other side of your trade internally, which usually means fixed spreads but can also mean requotes during volatile gold moves. ECN/STP brokers route your orders to external liquidity providers, giving you variable spreads that are often tighter but can widen sharply around news events. For a full breakdown of how each execution model affects order fills, see our ECN vs STP brokers guide. For EA trading specifically, ECN/STP accounts are generally preferred, since fast, honest execution matters more to an automated system than it does to a manual trader who can simply wait out a requote.

Start with demo. Every broker offers free demo accounts funded with virtual money. Set up MT4 with a demo account first and learn the platform risk-free before you put in real funds.

Step 2: Download MT4

Once you have chosen your broker:

  1. Go to your broker's website
  2. Navigate to "Platforms," "Downloads," or "Trading Tools"
  3. Select MetaTrader 4 (not MT5 unless you specifically want it)
  4. Choose the Windows download (or Mac if available)
  5. Click Download; the file is typically 1-3 MB
  6. Save to an easily accessible location like your Desktop

Download from your broker only. Do not download MT4 from random third-party sites. These can carry modified versions bundled with malware or data-stealing code. Your broker's official download is the only safe source.

Step 3: Install MT4

  1. Locate the downloaded file (usually in your Downloads folder)
  2. Double-click the installer file (e.g., "brokermt4setup.exe")
  3. Click "Run" if Windows asks for permission
  4. Accept the license agreement
  5. Choose the installation folder (default is fine for most users)
  6. Click "Next" and then "Finish"

MT4 launches automatically once installation finishes. The whole process takes less than 2 minutes.

For Mac Users

  • Some brokers offer native Mac versions of MT4, so check with your broker first
  • Alternatively, use Wine or PlayOnMac for free Windows emulation
  • MT4 Web Trader works in any browser as a fallback (no download needed)
  • For running EAs, you'll need the desktop version (Windows, or Mac via Wine); web trader does not support EAs

Common Installation Problems

Most MT4 installs go smoothly, but a handful of issues come up often enough to mention:

  • "This app can't run on your PC": usually a 32-bit vs 64-bit mismatch or a blocked installer; try running the installer as Administrator
  • Antivirus flags the installer: MT4 installers occasionally trigger false positives because of how they connect to trading servers; confirm you downloaded from the broker's official domain, then whitelist the file if needed
  • Installation freezes on "Connecting": usually a firewall or corporate network blocking the connection; try a different network or check your firewall's outbound rules
  • Terminal opens but shows no prices: the platform hasn't connected to the trade server yet; check the signal-strength icon in the bottom-right corner, and confirm your login and server are correct

If you run into a persistent issue after installation, our MT4 common errors guide covers the most frequent error messages and fixes in more depth.

Step 4: Log In to Your Account

Demo Account (Recommended First Step)

  1. When MT4 opens, select "Open a demo account"
  2. Choose your broker's demo server from the list
  3. Fill in the registration form (name and email)
  4. Select account type and leverage (1:100 or higher recommended)
  5. Choose virtual balance (e.g., $10,000)
  6. Click "Next" to create the account
  7. Save your login credentials. You'll need them to log back in

Live Account

  1. Select "Login to existing account"
  2. Enter your login number (from your broker's email)
  3. Enter your password
  4. Select the correct server (live servers are different from demo servers)
  5. Click "Login"

Server selection matters. Live and demo accounts sit on different servers, and picking the wrong one throws an "Invalid account" error. Your broker's welcome email tells you exactly which server to use.

Protect Your Account From the Start

Once you're logged in, a few habits protect you long before any EA is involved. Use a unique password for your trading account rather than reusing one from email or social media. Never share your MT4 investor password or master password with anyone claiming to offer "signal verification" or "account management," a common tactic in advance-fee trading scams. The FTC and the CFTC's Learn and Protect resources both maintain updated guidance on recognizing forex and trading-related fraud, and it's worth a skim before you deposit real funds anywhere. If a vendor promises guaranteed profits or a "can't lose" system, treat that as a red flag rather than a selling point; no legitimate EA, Golden Viper EA included, can guarantee returns, because gold markets carry real risk in both directions.

MT4 set up? Add automated gold trading.Golden Viper EA installs in under 5 minutes. real, publicly verified trades.
Get Access →

Step 5: Understand the MT4 Interface

There are four main areas of the MT4 interface worth knowing before you go further.

1. Market Watch (Left Panel)

Shows all available trading symbols with live bid/ask prices. Right-click to show or hide symbols. If XAUUSD isn't showing up, right-click and select "Show All."

2. Navigator (Left Panel, Below Market Watch)

Contains your accounts, indicators, scripts, and Expert Advisors. This is where your EAs show up after installation. Press Ctrl+N if it's not visible.

3. Chart Window (Center)

The main area for price charts. You can open several charts at once and arrange them however you like. Right-click for chart properties and customization options.

4. Terminal Panel (Bottom)

Shows open trades, account history, alerts, and EA messages. The Experts tab matters most for EA users: it's where all EA-related messages and errors show up.

Key Toolbar Buttons

  • AutoTrading: Enables/disables Expert Advisors (must be green for EAs to trade)
  • New Order: Opens a manual trade window
  • Timeframes: Switch between M1, M5, M15, M30, H1, H4, D1, W1, MN
  • Zoom: Adjust chart scale

Understanding Symbol Suffixes

Gold rarely appears as a plain "XAUUSD" across every broker. You'll commonly see suffixes like XAUUSDm (mini/micro lot server), XAUUSD.i (an ECN or instant-execution suffix), or XAUUSD.raw depending on the account type and server. These suffixes aren't cosmetic: an EA configured for "XAUUSD" won't automatically recognize "XAUUSDm" as the same instrument, so you may need to adjust the symbol name in the EA's settings after installation. Our guide to MT4 symbols and suffixes covers how to identify and configure the correct symbol name for your broker.

Step 6: Open Your First Gold Chart

  1. In the Market Watch panel, find XAUUSD (may also be listed as GOLD, XAUUSDm, or XAUUSD.xxx depending on your broker)
  2. If not visible, right-click in Market Watch and select Show All
  3. Right-click on XAUUSD and select Chart Window
  4. A new chart opens showing gold prices
  5. Click H1 in the toolbar to set the 1-hour timeframe (recommended for most EAs)

Customize Your Chart

  1. Right-click on the chart and select Properties (or press F8)
  2. In the Colors tab, choose a color scheme you find comfortable
  3. In the Common tab, select "Candlesticks" as chart type
  4. Click OK

Save Your Template

After configuring your chart appearance, save it as a template so you can apply it to new charts instantly:

  1. Right-click on your configured chart
  2. Select Template → Save Template
  3. Name it (e.g., "Gold Trading")
  4. To apply later: Template → Load Template

Choosing a Timeframe That Matches Your Trading Style

H1 is a reasonable default for most EAs and beginners, but the right timeframe depends on how you intend to trade gold. The table below is a general reference, not a recommendation tied to any single strategy.

Trading StyleTypical TimeframeApprox. Holding PeriodNotes
ScalpingM1-M5Seconds to minutesNeeds low spreads and fast execution; most sensitive to broker quality
Day tradingM15-H1Minutes to hoursPositions usually closed same day
Swing tradingH4-D1Days to weeksLess sensitive to short-term noise and spread
Position tradingD1-W1Weeks to monthsFocused on longer macro trends

Many gold EAs are built around a specific timeframe because the underlying strategy logic depends on how much short-term price noise it's designed to filter out. Always check an EA's documentation for its intended timeframe rather than assuming H1 works universally.

Step 7: Prepare for EA Trading

Before you install any EA, configure MT4 so automated trading actually works:

  1. Go to Tools → Options → Expert Advisors
  2. Check "Allow automated trading"
  3. Check "Allow DLL imports" (required by some EAs)
  4. Click OK
  5. Click the AutoTrading button in the toolbar; it should turn green

Your MT4 is ready for EA installation now. See our guides on installing EAs on MT4, or on installing Golden Viper EA specifically.

Check Your Margin and Leverage Settings

Before connecting an EA, glance at your account's leverage, visible in Market Watch or under Tools → Options → Account. Leverage determines how much margin a given position size requires, and gold's volatility means undersized margin buffers get tested quickly during fast moves. See our margin and leverage explained guide and Investopedia's leverage primer if the concept is new to you. As a general rule, more conservative leverage combined with sensible position sizing matters more for long-term survival than squeezing extra size out of every trade.

VPS recommendation: If you want uninterrupted EA trading 24/5, run MT4 on a Virtual Private Server (VPS) instead. That way your EA keeps trading even when your computer is off. Most VPS providers offer plans built specifically for MetaTrader. See our guides on running an MT4 robot on a VPS and choosing a VPS for forex EAs for setup walkthroughs and spec recommendations.

Gold Market Hours and Why They Affect Your MT4 Setup

XAUUSD trades nearly 24 hours a day during the trading week because gold is quoted against the dollar across overlapping global sessions, but liquidity and spread behavior aren't constant throughout that window. Trading volume and price movement typically pick up during the London and New York session overlap, while the earlier Asian session tends to be quieter with tighter, more stable ranges. This matters for your MT4 setup because your broker's server time, shown in the bottom-right of the terminal, is not necessarily your local time, and confusing the two can throw off any time-based settings in an EA, such as trading-hour filters.

Gold pricing is also shaped by the broader commodities and futures market, not just spot forex flows. The CME Group's gold futures market and daily reference pricing published by the World Gold Council both feed into the broader price discovery that your broker's XAUUSD quote reflects. Keeping an eye on spot gold coverage from sources like Kitco or the commodities desk at Reuters can help you understand why gold is moving on a given day, even if your EA is trading it automatically. For a deeper look at session timing specifically, see our guide on the best times to trade gold.

None of this changes how you set up MT4, but it explains why the same H1 chart can look completely different in character depending on what time of day you're looking at it, and why checking your server time against your local time zone is worth doing once during setup rather than assuming the two match.

MT4 on Mobile (iOS and Android)

MT4 also comes as a mobile app, useful for keeping an eye on your trades while you're away from your desk:

  1. Download "MetaTrader 4" from the App Store (iOS) or Google Play (Android)
  2. Open the app and tap Settings → New Account
  3. Search for your broker by name
  4. Enter your login credentials

Mobile limitation: The mobile MT4 app cannot run Expert Advisors; EAs only execute on the desktop version. You can still use mobile to monitor trades, check positions, and get push notifications from your desktop EA. See our MT4 notifications guide for setup.

Frequently Asked Questions About MT4 Download and Setup

Is MT4 free to download?

Yes, MetaTrader 4 is completely free, and you download it straight from your broker's website. There are no platform fees; the only costs are trading spreads and commissions when you actually execute trades.

Can I use MT4 on Mac?

Yes, and there are a few ways to do it: some brokers offer native Mac versions, you can use Wine or PlayOnMac for free Windows emulation, run Windows through Parallels or VMware, or use MT4 Web Trader in any browser. If you want to run EAs, though, you'll need the desktop version.

What is the difference between MT4 demo and live accounts?

A demo account trades with virtual money so there's no financial risk, while a live account uses real deposited funds. The platform itself works the same either way. It's worth starting with demo to learn the platform and test EAs before going live.

Why can I not find XAUUSD in MT4 Market Watch?

Right-click in Market Watch and select Show All. Your broker might name gold differently, such as GOLD, XAUUSDm, XAUUSD.i, or similar. Some account types don't include gold at all, so it's worth checking with your broker.

Should I download MT4 or MT5 for EA trading?

MT4 is still the more popular choice for EA trading, thanks to its larger EA library and broader broker support. MT5 offers better backtesting but a smaller EA ecosystem. Most gold EAs, including Golden Viper EA, support both platforms, so the decision often comes down to your EA and your broker's availability.

Do I need to reinstall MT4 for every new broker?

Not necessarily. Many brokers let you log into their servers using a generic MT4 installation, though some provide a branded installer with pre-configured server settings baked in. If your broker's server doesn't appear in the login window's server list, you may need their specific installer, or you can add the server manually under Tools → Options → Server if you know the address.

What is the minimum deposit needed to start trading gold on MT4?

MT4 itself has no deposit requirement since it's free software; the minimum is set entirely by whichever broker you choose. Minimums range from $0 on some cent or micro accounts up to $100-$500 or more on standard accounts. Check your broker's account types page before funding, since minimums often differ between demo-to-live upgrades and account tiers.

Can I run more than one MT4 terminal on the same computer?

Yes. This is useful if you trade with more than one broker or want to keep a demo terminal separate from a live one. Install each broker's version into its own folder, which the default installer usually handles automatically, so the terminals don't overwrite each other's settings.

How do I know if my broker's MT4 server is down versus my own connection?

Check the status indicator in the bottom-right corner of the terminal: bars with a number mean a live connection, while a red X or "no connection" message signals a problem. Try reloading the platform or switching to a backup server your broker lists in the login window. If other websites load normally but MT4 won't connect, the issue is most likely on the broker's server side rather than your internet connection.

Myfxbook Verified

MT4 Ready? Start Automated Trading

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

Daniel Cole

Daniel Cole writes about MetaTrader 4/5, Expert Advisors and trading automation for Golden Viper EA.

Myfxbook VerifiedVerified live 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