MT5 Download and Setup: Broker vs MetaQuotes, Server and First Login

Quick Answer

To download and set up MT5, get the installer from your broker's website if you can: it comes with the broker's servers already listed, while the generic installer from metatrader5.com makes you search for the broker during the first login. Install it, open File → Login to Trade Account, and enter your login, password and the exact server name from your broker's account email. Then check the terminal's title bar: it should say Hedge if your EA needs a hedging account. MT5 is free on Windows, Mac, iOS and Android.

MetaTrader 5 is the platform we recommend for anyone starting automated gold trading in 2026. It offers better backtesting accuracy, more timeframes, and faster execution than MT4. Released by MetaQuotes as the successor to MT4, MT5 has become the default choice for brokers rolling out new account types, and many Expert Advisors published today ship in both MT4 and MT5 builds, and Golden Viper is built for MT5 only. This guide walks through the MT5 download and setup process from scratch: system requirements, installation, first login, interface configuration, account types, and adding your first EA. It also covers the setup mistakes that trip up new users most often, and how gold (XAUUSD) behaves slightly differently from a standard forex pair once you are ready to trade it. Follow it through and you will end up with a fully configured MT5, ready for live or demo trading.

First Login: Pick the Right Server and Check Hedging

Most failed first logins come from the server, not the password. Every trading account lives on one specific server, and brokers often run several (a demo server and one or more numbered live servers). These six checks get you onto the right one and confirm the account type before you add an EA.

  1. Find the server name in the email your broker sent when the account was opened, next to the login number. Copy it exactly, including any number at the end.
  2. Log in: open File → Login to Trade Account, enter the login and the master (trading) password, and choose that server from the list.
  3. If the server is not listed (common with the generic metatrader5.com installer), open File → Open an Account, type the broker's name, click "Find your broker", then choose the option to connect to an existing trading account.
  4. Confirm the connection: the bottom-right corner of the terminal shows a ping value instead of "No connection", and your balance appears in the Toolbox (Ctrl+T).
  5. Check the account type: the terminal's title bar shows "Hedge" or "Netting". A demo opened from inside MT5 is hedging only if "Use hedge in trading" was ticked when it was created.
  6. Check the gold symbol: right-click Market Watch, open Symbols, and note your broker's exact gold name and its Specification.

Broker build or MetaQuotes build makes no difference to the platform itself once you are logged in; it only changes how easily the server list is found. If you plan to run Golden Viper EA, the account must be a hedging MT5 account, and the title-bar check in step 5 is the quickest way to confirm it before you install anything.

Step 1: Check System Requirements

Before downloading, verify your computer meets the minimum specifications:

RequirementMinimumRecommended (for EAs)
Operating SystemWindows 7 / macOS 10.12Windows 10/11 64-bit
RAM1 GB4 GB+
Disk Space500 MB2 GB+ (for history data)
Screen Resolution1024 x 7681920 x 1080
InternetAny broadbandStable, low-latency

If you plan to run EAs 24/7, a VPS (Virtual Private Server) is worth considering over your personal computer. It keeps the EA running with uninterrupted uptime and lower latency to broker servers.

One detail people overlook: MT5 comes in both a 32-bit and a 64-bit build. The installer automatically detects your operating system and installs the matching version, but if you are running an older 32-bit Windows machine, some EAs that rely on external DLLs may run slower or behave inconsistently. A 64-bit system with 4 GB of RAM or more is the safer baseline for anyone planning to run an EA continuously rather than just charting manually.

Why MT5 Instead of MT4?

MT4 is still widely supported and plenty of brokers and EA developers continue to maintain it, but MT5 has a few structural advantages worth knowing before you install anything. It supports more built-in timeframes (21 versus MT4's 9), a faster multi-threaded Strategy Tester for backtesting, an integrated economic calendar, and a Depth of Market (DOM) window on ECN-style accounts. If you are deciding between the two platforms for the first time, our MT4 vs MT5 for XAUUSD comparison breaks the differences down specifically for gold traders.

FeatureMT4MT5
Built-in Timeframes921
Strategy TesterSingle-threadedMulti-threaded, faster backtests
Order Types4 pending order types6 pending order types
Depth of MarketNot availableAvailable on ECN accounts
Economic CalendarNot built inBuilt in
EA File Format.ex4.ex5
Account AccountingHedging onlyNetting or hedging (broker-dependent)

Neither platform is objectively "better" for every trader. MT4 remains simpler and lighter for people who only run one or two charts, while MT5's added timeframes and faster tester matter more once you start backtesting or running multiple EAs side by side. Golden Viper EA itself is MT5-only, so if you want to run it, MT5 is the platform to set up; for other EAs the choice mostly comes down to which platform your broker supports best and which interface you find more comfortable.

Step 2: Download MT5

Option A: From Your Broker (Recommended)

  1. Log in to your broker's website
  2. Navigate to "Platforms" or "Downloads"
  3. Select "MetaTrader 5"
  4. Click download. The installer is typically 3-5 MB

Downloading from your broker pre-configures the server list, which makes login easier. If you do not have a broker account yet, our best brokers for gold EA trading guide can help you choose one.

Option B: From MetaQuotes

  1. Visit metatrader5.com
  2. Click "Download for Free"
  3. Choose your operating system (Windows, Mac, Linux via Wine)
  4. Save the installer file

Mac users: The native Mac version runs through a compatibility layer. For a smoother experience, we recommend either a Windows VPS or running Windows in a virtual machine like Parallels.

Verify the Broker First

Before you download anything, confirm the broker itself is legitimate and regulated in a jurisdiction you recognize (FCA, ASIC, CySEC, or a similar body). MT5 is free and identical no matter which broker's copy you use, so the download itself carries no risk, but logging live funds into an account with an unregulated or offshore broker does. If you have not chosen a broker yet, our best brokers for gold EA trading guide compares spreads, execution models, and EA-friendliness across several reputable options. The CFTC also publishes background on how retail forex and CFD accounts are regulated in the US, which is worth a skim if this is your first live account.

Mobile Download

MT5 is also available for iOS and Android through the App Store and Google Play. Search "MetaTrader 5" (not just "MetaTrader," which can surface MT4 results too), install, and log in with the same account number and password you use on desktop. The mobile app mirrors your open positions and pending orders in real time, which is useful for checking on an EA while you are away from your computer, though most people still run the actual EA on a desktop terminal or VPS rather than the phone app itself.

Step 3: Install MT5

Windows Installation

  1. Locate the downloaded file (typically mt5setup.exe)
  2. Right-click and select "Run as Administrator"
  3. Accept the license agreement
  4. Choose the installation folder (the default location is fine for most users)
  5. Click "Next" through the installation wizard
  6. Wait 1-2 minutes for installation to complete
  7. Click "Finish," and MT5 launches automatically

Mac Installation

  1. Open the downloaded .dmg file
  2. Drag the MT5 icon to your Applications folder
  3. First launch: Right-click the app and select "Open" to bypass Gatekeeper
  4. Confirm you want to open the application

If the Installer Gets Blocked

Some antivirus software and corporate firewalls flag trading platform installers because they download and execute additional files during setup, which superficially resembles malware behavior. This is a false positive, but it is common enough that it is worth knowing about in advance. If Windows Defender or a third-party antivirus quarantines the installer, add a temporary exception for the download folder, or download directly from your broker's site rather than a third-party mirror, since official installers are digitally signed.

Running Multiple Brokers on One PC

If you plan to test Golden Viper EA on more than one broker (useful for comparing spreads or execution quality; each MT5 account needs its own license key), install each broker's MT5 build into its own folder rather than reusing one installation, since a single installer is normally tied to one broker's server list. Right-click the installer and choose a custom install path, or look for a "portable mode" option in newer builds; each installation then runs as an independent instance with its own Navigator, saved templates, and Experts folder.

Step 4: First Login

  1. When MT5 opens, a server selection window appears
  2. Type your broker's name in the search box (e.g., "Pepperstone," "IC Markets")
  3. Select the appropriate server: choose "Demo" for practice or "Live" for real trading
  4. Enter your credentials:
    • Login: Your account number (provided by your broker)
    • Password: Your trading password (not your broker portal password)
  5. Click "Login"
  6. Verify connection: your balance should appear in the Terminal window at the bottom

Login trouble? If you cannot find your broker's server, you may have downloaded the MetaQuotes version instead of your broker's version. Try downloading directly from your broker's website instead, and double-check you are using the trading password, not the investor (read-only) password.

Demo First, Live Second

Every MT5 login gives you a choice between a demo server and a live server. A demo account trades with simulated funds against live market prices, which makes it the right place to get comfortable with the interface, watch how an EA behaves in real conditions, and confirm your broker's execution before any real money is involved. Our guide on why it pays to run an EA on demo first covers what to look for during that trial period before switching the same settings to a live account.

Master Password vs. Investor Password

MT5 accounts come with two separate passwords. The master (trading) password lets the account place, modify, and close trades, which is what you enter when setting up an EA. The investor password is read-only: it lets someone view the account's open positions, history, and balance without being able to trade. If you ever want to share account access with a trusted third party, such as a signal or copy-trading provider, hand over the investor password only and keep the trading password private.

Try Golden Viper EA free for 3 days A gold grid EA for MT5 cent accounts, with a live account you can check on Myfxbook. Start with a free trial key, then choose 1 month for $49, 1 year for $199 or lifetime for $299.
Start Free 3-Day Trial →

Step 5: Configure the Interface

With MT5 installed and logged in, it is worth spending a couple of minutes setting up your workspace:

Open a Gold Chart

  1. In the Market Watch panel (left side), find XAUUSD or your broker's gold symbol
  2. Right-click the symbol and select "Chart Window"
  3. A new price chart opens in the center

Recommended Settings

  • Chart type: Candlesticks (press Alt+2 or use the toolbar)
  • Timeframe: any timeframe for Golden Viper EA (the direction is chosen once, when a basket starts), or H1 for general analysis
  • Colors: Right-click chart, select Properties, customize to your preference
  • Auto-scroll: Enable so the chart follows the latest price

Key Windows

  • Market Watch (Ctrl+M): Live prices for all instruments
  • Navigator (Ctrl+N): Access to accounts, indicators, and Expert Advisors
  • Toolbox (Ctrl+T): Trade history, account information, alerts, journal
  • Depth of Market (Alt+B): Live bid/ask order book, available on ECN-style accounts

Once a chart is set up the way you like it, right-click it, choose "Template," then "Save Template" so you do not have to redo the layout every time you open a new symbol. This matters more than it sounds: if you close and reopen XAUUSD after a platform restart, a saved template restores your timeframe, colors, and any indicators in a couple of clicks instead of rebuilding it from scratch.

Step 6: Enable Auto-Trading and Add Your EA

Expert Advisors will not trade until auto-trading is switched on:

  1. Click the "Algo Trading" button in the toolbar; it should turn green
  2. Go to Tools, then Options, then Expert Advisors tab
  3. Check "Allow automated trading"
  4. Check "Allow DLL imports" if your EA requires it
  5. Click OK

Adding an EA

  1. Copy your EA's .ex5 file to the MQL5/Experts folder (File, Open Data Folder, MQL5, Experts)
  2. Restart MT5 or right-click in Navigator and select "Refresh"
  3. Find your EA in the Navigator under "Expert Advisors"
  4. Drag and drop it onto your XAUUSD chart
  5. Configure the EA's inputs in the popup window (Golden Viper EA has only one input, the license key)
  6. Check "Allow Algo Trading" in the Common tab
  7. Click OK, and the EA starts running

For more detail on this step, see our complete EA installation guide for MT5. If you are new to gold trading, it is also worth reading up on proper lot sizing and how XAUUSD trading works before going live. The MQL5 documentation is the authoritative reference if you ever want to understand exactly what an input parameter or terminal setting controls.

A Note on Magic Numbers

Every EA that opens trades in MT5 tags its orders with a "magic number," an internal ID the platform uses to tell one EA's trades apart from another's (or from your own manual trades) on the same account. You do not need to touch this setting for a single EA running on its own chart, but if you ever plan to run more than one EA, or the same EA on more than one chart, magic numbers become important so each instance only manages its own positions. See our guide to EA magic numbers and our separate piece on running multiple EAs on one account if that applies to you.

Account and Execution Types

Not every MT5 account behaves identically once an order is sent. Two settings determine how your positions are tracked and filled, and it is worth knowing both before you start trading gold in size.

Netting vs. Hedging

A netting account combines all positions on the same symbol into a single net position; if you buy 0.1 lots of XAUUSD and later buy another 0.1 lots, MT5 shows one 0.2-lot position rather than two separate trades. A hedging account keeps each position separate, so you could hold a buy and a sell on XAUUSD at the same time. MT4 only supports hedging. MT5 supports both, but which one your account uses is set by the broker at the account level, not something you can toggle yourself after opening the account. If an EA's logic depends on holding multiple independent positions, confirm your account type with your broker before going live.

Market vs. Instant Execution

Most modern MT5 accounts use market execution, where your order is sent to the broker's liquidity provider and filled at whatever price is available, with the confirmed fill price shown after the fact. Older-style instant execution accounts quote you a price first and either fill at that exact price or reject the order (a "requote") if the market has moved. Market execution is standard on ECN and Raw Spread account types and is what most EAs, Golden Viper included, are built to work with.

In short: check with your broker whether your account is netting or hedging, confirm it uses market execution, and if you see an order filling policy option (Fill or Kill vs. Immediate or Cancel) in the EA's settings, the broker-recommended default is almost always the safer choice unless you have a specific reason to change it.

Setting Up MT5 for Gold (XAUUSD) Trading

Gold has a few quirks worth knowing before you point an EA at it. Unlike a currency pair, XAUUSD (spot gold priced in US dollars) is not traded on a central exchange with fixed hours; pricing comes from the OTC market that brokers source from their liquidity providers, which is why gold spreads can widen sharply around the New York close and reopen. The Comex gold futures contract traded on the CME Group exchange is a related but separate instrument from the spot XAUUSD your broker quotes, and background on how the broader gold market functions is available from industry bodies like the World Gold Council.

In MT5, your broker's gold symbol may not be exactly "XAUUSD." Some brokers append a suffix (XAUUSDm, XAUUSD.a, GOLD) depending on the account type or server. If you cannot find it in Market Watch, right-click the panel and select "Show All," then search. Our guide on finding XAUUSD on MT5 and our broader piece on symbol suffixes across brokers walk through the naming conventions in detail. Golden Viper EA runs on one XAUUSD chart per account, so attach it to your broker's gold chart.

Troubleshooting Common Setup Issues

Most first-time MT5 problems fall into a small handful of categories. The table below covers the ones support forums and broker help desks see most often.

IssueLikely CauseFix
"No connection" in bottom-right cornerFirewall blocking MT5, or wrong server selectedCheck internet connection, confirm server name matches broker exactly
Cannot find broker's serverDownloaded generic MetaQuotes build instead of broker's buildRe-download installer from broker's own website
"Invalid account" on loginWrong account number, password, or serverRe-check credentials in the email from your broker; confirm demo vs. live server
EA attached but not trading (red X / gray face)Auto-trading off or Algo Trading unchecked for that EAEnable AutoTrading in toolbar and "Allow Algo Trading" in EA properties
Installer flagged by antivirusFalse positive on unsigned or third-party mirror downloadDownload directly from broker or metatrader5.com
Charts show no history / blank chartInsufficient historical data downloaded for that symbolRight-click chart, select "Bars" or use History Center to load more data

If the EA is attached, Algo Trading is on and it still never opens a position, work through the full checklist for an MT5 EA not taking trades.

MT5 Mobile and Web Trading

Beyond the desktop terminal, MetaQuotes offers two lighter ways to check on your account. The mobile apps (iOS and Android) mirror your positions, let you place manual trades, and show basic charting, though they are not where you would run an EA itself. MetaTrader WebTrader runs directly in a browser from your broker's site with no download required, useful for a quick balance check from a computer that is not your own. Neither replaces the desktop terminal for EA trading, since an Expert Advisor needs the actual terminal (or a VPS running it) open and connected to keep executing.

Frequently Asked Questions About MT5 Download and Setup

Is MetaTrader 5 free to download?

Yes, MT5 is completely free to download and use. You can get it from your broker's website or the official MetaQuotes website at metatrader5.com. There are no hidden fees, premium versions, or subscription charges for the platform itself; the only costs come from your broker's spreads and commissions on trades.

What are the system requirements for MT5?

MT5 requires Windows 7 or later (64-bit recommended) with 1 GB RAM minimum and 500 MB free disk space. If you plan to run EAs, aim higher: 4 GB RAM and an SSD for faster data loading. Mac users need macOS 10.12 or later, and a stable internet connection is essential for live trading.

Can I run Expert Advisors on MT5?

Yes, MT5 fully supports Expert Advisors with its MQL5 programming language. However, MT4 EAs (.ex4 files) are not compatible with MT5, so you need .ex5 files instead. Golden Viper EA is built for MT5: every license key includes the .ex5 file, whether it is the $299 one-time lifetime key or a 1-month ($49) or 1-year ($199) key, paid once or set to autopay, which you can cancel.

Should I download MT5 from my broker or MetaQuotes?

Download from your broker's website whenever possible. The broker's version comes pre-configured with their server addresses, which makes login smoother. The MetaQuotes version works fine too, but expect to search manually for your broker's server during that first login.

How long does it take to set up MT5?

The entire process from download to first chart takes about 5 to 10 minutes: downloading (1-2 minutes), installation (1-2 minutes), and logging in (1-2 minutes). Add another 2 to 3 minutes if you are also adding an EA. All told, you can be trading within 15 minutes of starting. See our step-by-step Golden Viper EA installation walkthrough if you want the exact sequence for this specific EA.

What is the difference between a demo and a live account in MT5?

A demo account trades with simulated money on real, live market prices, which makes it the right place to learn the interface, watch an EA's behavior, and confirm your broker's execution quality before any real capital is on the line. A live account trades actual funds through your broker. Both use the identical MT5 interface and login process; the only difference is which server you connect to and which credentials you use. We recommend testing on demo first, covered in our guide to running an EA on demo before going live.

Why does my EA show a red X or a gray smiley face instead of a green one?

A red X or gray smiley means the EA is attached to the chart but is not actively allowed to trade. The most common causes are the AutoTrading button in the toolbar being switched off, "Allow Algo Trading" not being checked in that specific EA's Common tab, the account being logged in with the read-only investor password, or the market simply being closed. Work through Tools, then Options, then the Expert Advisors tab, and confirm each setting is enabled.

Can I run MT5 on a VPS instead of my own computer?

Yes, and for an EA that needs to trade around the clock, a VPS is generally the more reliable choice over a home PC. You install MT5 on the VPS the same way you would locally, log in with your broker credentials, attach your EA, and the platform keeps running on the VPS's uptime rather than your own internet connection or laptop battery. Our best VPS for forex EA guide compares providers and specs suited to running MT5 continuously.

Is it safe to enter my broker login details into MT5?

Entering your account number and trading password into MT5 is standard practice; it is how the platform is designed to work and how MetaQuotes and every regulated broker expect you to log in. The precautions that matter are downloading the installer only from your broker's official site or metatrader5.com, confirming the broker itself is properly regulated, and never sharing your trading password (as opposed to the read-only investor password) with anyone claiming to manage or "guarantee" trades on your account.

Do I need to keep MT5 updated once it is installed?

MT5 updates itself automatically in most cases, downloading and applying new builds when you restart the terminal. What you should check periodically is whether your EA itself has a newer version available, since developers occasionally release updates for broker compatibility, bug fixes, or new features. Our guide on updating your EA version explains how to check and apply EA updates without disrupting an open position.

Which MT5 server should I choose when logging in?

Use the exact server named in your broker's account email, for example its demo server or a numbered live server. Each account lives on one server, so the right login on the wrong server is refused. If the broker is not listed, open File > Open an Account, type the broker's name and click "Find your broker".

Is my new MT5 account hedging or netting?

Look at the terminal's title bar after you log in: it shows Hedge or Netting. The mode is set when the account is opened and cannot be switched later, so if an EA needs hedging and the title bar says Netting, ask the broker for a new hedging account.

Myfxbook Verified

Automate Your XAUUSD Trading

MT5Hedging cent account
XAUUSDGold only
GridBasket take-profit
Lifetime license $299 one-time
Get Lifetime Access — $299 →
✓ License key by email✓ One MT5 account per key✓ MT5 only✓ Full setup help
GV

Golden Viper EA

Written by Golden Viper EA, the maker of the Golden Viper EA gold Expert Advisor for MetaTrader 5. We sell the EA, so weigh our product mentions with that in mind; its live account is public on Myfxbook.

Myfxbook VerifiedLive account verified on MyfxbookPublic track record

Let Golden Viper EA trade gold for you

Automated XAUUSD grid trading for MT5 cent accounts, verified live on Myfxbook. One-time $299, lifetime access.

Get Lifetime Access ($299)

Start Free 3-Day Trial → · Full setup help