MT4 and MT5 Setup Guide for Automated Gold Trading
Getting MT4 or MT5 ready for automated gold trading comes down to four steps. Install the platform through your broker, download the Expert Advisor file and attach it to an XAUUSD chart, switch on Algo Trading (sometimes labeled Expert Advisors) in the toolbar, then confirm the EA is live by spotting the green smiley icon (for Golden Viper EA, also no license or setup alert in the Experts tab). Most traders finish in 10-15 minutes on either platform, while Golden Viper EA itself is MT5-only. Line up the platform, broker account, and VPS pieces first, and everything after that is mostly clicking through a short series of dialog boxes correctly.
In This Guide
If you've never installed an Expert Advisor before, the sheer number of steps can feel intimidating: platform selection, broker linkage, file placement, permission toggles, and verification all need to line up in the right order. This guide walks through the complete automated trading setup for both MetaTrader 4 and MetaTrader 5, covering the exact settings, the failure points that trip people up most often, and a full walkthrough of a real installation, so you can go from a blank platform to a running EA on a live or demo account without guessing.
MT4 vs MT5: Which Platform Should You Set Up First?
Most traders ask this question before they've even opened an installer. The honest answer is that it depends on what your broker offers and what you already know your way around. MetaTrader 4 is older and lighter, and it remains the default platform at many retail brokers thanks to its simplicity and the enormous library of legacy indicators and EAs built for it over the years. MetaTrader 5 runs on newer architecture, with a built-in economic calendar, more order types, a faster strategy tester, and better handling of multiple instruments in a single terminal. For gold trading specifically, both platforms execute XAUUSD orders identically at the broker level. The difference lives entirely in the terminal software, not in the quality of your fills.
Golden Viper EA is an MT5-only product: one purchase gives you a single compiled file for MetaTrader 5 and there is no MT4 build. If you also keep an MT4 terminal for other EAs, plenty of traders run both terminals side by side, one for live trading and one for testing configuration changes, which also turns out to be a clean way to keep a demo account and a funded account separated.
| Factor | MetaTrader 4 (MT4) | MetaTrader 5 (MT5) |
|---|---|---|
| Release era | 2005, still widely supported | 2010, actively developed |
| Order execution for XAUUSD | Market and pending orders | Market, pending, and additional order-filling modes |
| Strategy tester speed | Single-threaded, slower on long backtests | Multi-threaded, noticeably faster on H4 gold data |
| Built-in economic calendar | Not included natively | Included in the terminal |
| EA file extension | .ex4 | .ex5 |
| Golden Viper EA license | Not available (Golden Viper is MT5-only) | Lifetime key $299 one-time, 1 year $199 or 1 month $49 (.ex5 file, hedging account) |
What You Need Before You Install Anything
Before you touch a single installer, get these four pieces in place first. Skipping any one of them is the single biggest reason first-time EA setups fail or behave unexpectedly.
1. A Broker Account That Supports EAs
Not every broker allows automated trading, and some restrict it to certain account types only. Confirm yours explicitly permits Expert Advisors before opening a live account, and check that XAUUSD trades as a symbol with reasonable spreads. Spread differences alone can quietly change your effective cost per trade.
2. The Correct Platform Installer From Your Broker
Always download MT4 or MT5 directly from your broker's client portal rather than from a generic search result. Broker-branded installers come pre-configured to connect to that broker's servers, saving you from entering server addresses by hand. If you'd rather explore the vanilla version first, MetaQuotes documents the installation process on the MetaTrader 4 platform help pages and the MetaTrader 5 terminal help pages.
3. A VPS if You Want 24/5 Uptime
An Expert Advisor only trades while its terminal is running and connected to your broker. If your home internet drops or your computer goes to sleep, the EA stops watching the market until you're back online. A virtual private server keeps the terminal running around the clock, independent of your own machine. We cover this in more detail in setting up a VPS for forex trading.
4. Your EA License Files
Golden Viper EA ships as one compiled .ex5 file for MT5; the license key and a download link are emailed right after payment. Have the file downloaded and ready before you start, along with your broker login credentials, so you're not hunting for files halfway through setup. Golden Viper EA needs a hedging account and refuses to start on a netting account.
Step-by-Step: Installing MT4
Once MT4 is installed from your broker's link and you've logged in with your account number, server, and password, installing an EA follows a fixed sequence:
- Open MT4, then go to File and Open Data Folder. This opens the folder holding everything specific to your installation, kept separate from the program files.
- Navigate to MQL4, then Experts. Copy your EA's .ex4 file into this folder (Golden Viper EA has no MT4 build, so this step applies to other MT4 EAs).
- Close and reopen MT4 completely (a simple refresh of the Navigator panel is not always enough to register a new file).
- In the Navigator panel on the left, expand Expert Advisors. Your EA should now appear in the list.
- Open a chart for the symbol and timeframe your EA's vendor specifies (Golden Viper EA is MT5-only and works on any timeframe, because the direction is chosen once, when a basket starts).
- Drag the EA from the Navigator panel onto the chart. A settings window opens automatically.
- In the settings window, go to the Common tab and check "Allow live trading." Adjust your EA's lot and risk inputs on the Inputs tab, covered in detail below.
- Click OK. If Algo Trading is enabled in the toolbar (see the section below), a green smiley face appears in the top-right corner of the chart, confirming the EA is active.
Step-by-Step: Installing MT5
The MT5 process mirrors MT4 closely, apart from a few naming differences worth knowing so a mismatched menu label doesn't throw you off:
- Open MT5 and go to File, then Open Data Folder, exactly as in MT4.
- Navigate to MQL5, then Experts (note: MQL5, not MQL4). Copy the Golden Viper EA .ex5 file here.
- Restart MT5 so the new EA registers in the Navigator panel.
- Open an XAUUSD chart (the timeframe does not matter) and expand Expert Advisors in the Navigator panel to confirm the EA appears.
- Drag the EA onto the chart. In the resulting dialog, check "Allow Algo Trading" on the Common tab (MT5's label for what MT4 calls "Allow live trading").
- On the Inputs tab, paste your license key into the only input, "License key" (first add https://goldenviperea.com under Tools, Options, Expert Advisors, "Allow WebRequest for listed URL").
- Click OK. Confirm the Algo Trading button in the main toolbar is toggled on (it turns green), and check for the smiley icon on the chart.
The MQL5 reference for programmatic details behind the Expert Advisor permission model lives in the MQL5 documentation.
Enabling Algo Trading: The Step Everyone Forgets
The most common reason a correctly installed EA does nothing is that Algo Trading (called "AutoTrading" in older MT4 builds) is switched off at the platform level. This is a global toggle in the toolbar, separate from the per-chart "Allow live trading" checkbox in the EA's own settings. Both switches need to be on at the same time:
- Global toggle: the Algo Trading / AutoTrading button in the main toolbar, which affects every chart and every EA in the terminal at once.
- Per-EA toggle: the "Allow live trading" or "Allow Algo Trading" checkbox inside each EA's own input settings, which affects only that specific chart attachment.
If either one is off, the EA sits inert with a red or gray icon instead of the green smiley, and no trades execute even though everything looks installed correctly. This single detail accounts for a large share of "my EA isn't trading" support questions, and it's worth a second visual check every time you restart the terminal, since some brokers or Windows updates reset the toggle to off.
It's worth knowing, in plain terms, what happens once both toggles are switched on. The Expert Advisor runs as compiled code inside your MetaTrader terminal and acts on its rules through the terminal's connection to your broker, the same connection your manual trades use. Golden Viper EA is a gold grid, or averaging-down, basket system. When a basket starts, a built-in trend filter chooses buy or sell; that direction is checked only at basket start, and the chart timeframe does not matter. If price moves against the last entry by the next gap between levels (fixed and built in), it opens another level with a fixed lot step more than the one before (no doubling). The whole basket shares one take-profit, and there is no stop loss, so the basket stays open until it hits that take-profit or the Friday close, before the weekend. None of this requires you to understand the underlying code. It only requires the platform to stay running, connected, and correctly configured.
Risk Settings, Lot Sizing, and Magic Numbers
Once Golden Viper EA is attached and Algo Trading is confirmed on, there are no risk inputs to set: the start lot, the lot step and its other trading settings are fixed and built in. The EA opens level 1 at a small starting lot, adds one lot step per level (a fixed step, no multiplier), and has no cap on the number of levels. It has no equity stop and no news filter, so the account size you run it on is your main risk decision.
| Illustrative risk profile (EAs in general) | Typical Use Case | Relative Position Sizing |
|---|---|---|
| Conservative | Smaller accounts, first-time users, capital preservation focus | Lowest risk-per-trade multiplier |
| Normal | Standard use once you're comfortable with the EA's behavior | Moderate risk-per-trade multiplier |
| Aggressive | Larger accounts or traders deliberately targeting faster growth | Highest risk-per-trade multiplier |
Lot sizing here is a fixed ladder rather than a percentage of your balance: the lot size rises by a fixed step per level (no doubling), regardless of how large the account is. Golden Viper EA is designed for cent accounts and built around a $1,000 start balance (100,000 cents). On a standard USD account the same lot sizes carry far larger dollar risk, so it is not recommended there, and brokers' cent contract sizes differ, so check yours. Because the EA will not scale lots to your balance, matching the balance to the ladder is your job, which is the principle behind Investopedia's overview of risk management: size trades relative to account equity rather than ignoring the balance.
Before committing real capital to an EA, it helps to see how it behaves. For most EAs, running your own backtest on the strategy tester lets you see simulated drawdown before you ever place a live order; Golden Viper EA does not run in the MT5 Strategy Tester, so it cannot be backtested, and you judge it by its public live Myfxbook account instead. Our step-by-step guides for backtesting an EA on MT5 and backtesting an EA on MT5 cover exactly how to load historical XAUUSD data and run the test correctly, since a backtest with poor-quality tick data will give misleading results regardless of the strategy behind it.
Magic Numbers for Multiple EA Setups
If you plan to run more than one Expert Advisor in the same terminal, you'll need to understand magic numbers. A magic number is an identifying tag attached to every order an EA places, letting the platform (and the EA itself) distinguish its own trades from manual trades or trades placed by a different EA on the same account. Without correctly managed magic numbers, two EAs trading the same symbol can interfere with each other's position management logic. Our dedicated explainer on EA magic numbers walks through how to check and set them if you're running Golden Viper EA alongside another strategy; Golden Viper's own magic number is fixed, so give the other EA a different one, and run Golden Viper on one XAUUSD chart per account.
Verifying Your Results: Connecting to Myfxbook
Once your EA is live, connecting the account to a third-party verification service is one of the most useful things you can do, both for your own record-keeping and for building an honest, checkable track record. Myfxbook pulls trade history directly from your broker statement through a read-only investor password, so the resulting equity curve and statistics can't be edited or faked after the fact. It's the same verification standard behind Golden Viper EA's own published track record, and Myfxbook explains exactly how the verification process works, along with what it does and doesn't prove.
The setup itself takes about five minutes. Create a free Myfxbook account, add your broker account using the investor (read-only) password rather than your full trading password, and the platform starts syncing your trade history automatically. Our full walkthrough on connecting MT5 to Myfxbook covers where to find your investor password and how to troubleshoot a sync that stalls. Golden Viper EA's live account is verified on Myfxbook, which you can check without sharing any password. There is no signal subscription for the EA.
Setting Up on a $5,000 Account, Start to Finish
To make this concrete, here's what the process actually looks like end to end for a trader starting with $5,000.
You download MT5 from your broker's client portal and log in with your live account credentials, open the data folder, copy the Golden Viper EA .ex5 file into MQL5/Experts, and restart the terminal. Next, you open a new XAUUSD chart (any timeframe works), and drag the EA onto the chart from the Navigator panel. In the Common tab you check "Allow Algo Trading." On the Inputs tab you paste your license key into its only input, after adding https://goldenviperea.com to the WebRequest list under Tools, Options, Expert Advisors. You click OK, check the toolbar to confirm the Algo Trading button has turned green, and there it is: a small smiley icon in the corner of the chart.
You leave the terminal running on a VPS instead of your laptop, so the EA keeps working even while you're offline. Golden Viper is a grid system: a new basket opens right after the previous one closes, further levels open as price moves against the last entry, and everything closes at the Friday close, before the weekend. Over the following weeks you connect the account to Myfxbook using your investor password and check the Trade and Experts tabs periodically to confirm the EA is still running and hasn't hit a connection or license alert. That's the entire operational loop: install once, verify the toggles are on, then monitor rather than intervene.
Common Setup Mistakes and How to Fix Them
Most setup problems fall into a short list of repeat offenders. Before assuming something is broken, run through this checklist.
| Symptom | Likely Cause | Fix |
|---|---|---|
| No smiley icon on chart | Algo Trading toggle off in toolbar, or "Allow live trading" unchecked in EA settings | Enable both toggles; restart the terminal if the button doesn't respond |
| EA appears in Navigator but chart shows an error icon | Wrong file for the platform (.ex4 on MT5 or .ex5 on MT4), or file placed in wrong folder | Confirm .ex4 files are in MQL4/Experts and .ex5 files are in MQL5/Experts |
| No trades after several days | Wrong symbol, outside the trading window, Algo Trading switched off, or no valid license | Check the Experts and Journal tabs for a license or setup alert rather than assuming it's inactive |
| EA stops trading after closing laptop | Terminal only trades while connected and running | Move the terminal to a VPS for continuous uptime |
| Two EAs seem to conflict on the same symbol | Overlapping or default magic numbers | Assign distinct magic numbers per EA instance |
| Backtest results don't match live behavior | Low-quality or incomplete historical tick data | Use broker-supplied history and confirm data quality before trusting the test |
If you run into a symptom not covered by the checklist above, our broader troubleshooting reference on common EA problems and fixes covers additional platform-level and connectivity issues that occasionally show up on either MT4 or MT5.
Spotting a Bad Setup Guide or a Scam EA Seller
Because automated trading attracts scammers alongside legitimate products, it's worth knowing the red flags to watch for while shopping for an EA or a "setup service." The CFTC's forex fraud resources flag common warning signs: guaranteed returns, pressure to buy immediately, and unverifiable performance claims. The FTC's guide to investment scams adds another useful test: if a seller can't show you a verifiable, third-party-audited track record rather than a screenshot they control, treat the claim as unproven. A legitimate EA setup process never requires handing your full trading password to a third party, and it never guarantees a specific monthly return.
Monitoring After Setup: What to Check and How Often
Setup isn't a one-time event you forget about. A reasonable monitoring routine looks like this: check the Experts and Journal tabs in your terminal a few times a week for connection errors or unexpected messages, glance at your Myfxbook-linked account weekly to review equity curve trends, and check in on your VPS provider's dashboard occasionally to confirm uptime. Pay particular attention to drawdown, which Investopedia defines in its explainer on drawdown as the decline from a peak to a trough in account equity. Understanding your own drawdown tolerance before you start is far more useful than reacting to it emotionally after a losing stretch.
Golden Viper EA's trading settings are fixed, so its only input is the license key; if you want to understand the inputs other EAs expose, the settings reference in understanding EA settings documents common parameters, what they control, and reasonable ranges to consider. Combined with the setup steps in this guide, that reference should cover essentially any configuration question that comes up after your first live trade.
A Short, Honest Risk Disclosure
Trading gold, whether manually or through an Expert Advisor, carries real risk. Losses are possible, past performance shown on any verified track record doesn't guarantee future results, and no setup process or risk setting eliminates the chance of a losing streak. Only ever trade with capital you can truly afford to lose, and treat the platform toggles, risk settings, and monitoring steps in this guide as tools for managing risk deliberately, not as a substitute for understanding that the risk exists in the first place. If you want to look at the product itself before installing anything, the Golden Viper EA homepage has the current license terms and verified track record links.
Frequently Asked Questions
Do I need to buy separate licenses for MT4 and MT5?
No. Each Golden Viper EA key covers the MT5 build only, with free updates: the lifetime key is a one-time $299 payment, and the 1-month ($49) and 1-year ($199) keys can be paid once or set to autopay, which you can cancel. There is no separate MT4 license to buy because there is no MT4 build: Golden Viper EA runs on MetaTrader 5 with a hedging account.
Why doesn't the EA show a green smiley after I attach it to the chart?
This almost always means one of two toggles is off: the global Algo Trading button in the toolbar, or the "Allow live trading" / "Allow Algo Trading" checkbox inside the EA's own settings window. Both need to be enabled at the same time.
Can I run the EA on a demo account first?
Yes, and it's a sensible way to confirm your installation and settings are correct before committing real capital. The setup steps are identical for demo and live accounts; only the account credentials differ. The license key locks to the first account it runs on, so support (@viprasol_help on Telegram) moves it to your live account afterwards.
What timeframe should my XAUUSD chart be set to?
Any timeframe. For Golden Viper EA the chart timeframe does not matter, because the direction is chosen once, when a basket starts.
Does the EA need my computer running all the time?
The EA only trades while the terminal is open and connected. If you want continuous, 24/5 uptime without keeping your own computer on, a VPS keeps the terminal running independently of your local machine.
How do I know the EA is actually working if I don't see trades right away?
Check the Experts and Journal tabs in your terminal for logged activity, including any license or setup alert. A grid EA can wait for price to move against its last entry before it opens the next level, so quiet stretches are normal.
Is it safe to give a verification service like Myfxbook my account password?
Use your broker's read-only investor password for Myfxbook, never your full trading password. The investor password allows statement viewing only and cannot place trades or withdraw funds, which is the whole point of that separate credential.
Is there a signal or copy-trading option?
No. Golden Viper EA runs directly in your own MT5 terminal under your control and is sold as a license key (lifetime $299 one-time, or 1 year $199 or 1 month $49, paid once or on autopay you can cancel). There is no signal subscription or copy-trading service.
Can I run the EA alongside other Expert Advisors in the same terminal?
Yes, as long as each EA has a distinct magic number so the platform and each strategy can tell their own orders apart from each other's. Running multiple EAs with overlapping default magic numbers on the same symbol can cause conflicting order management.
What should I do if setup still isn't working after following these steps?
Work through the troubleshooting table in this guide first. Most issues trace back to the Algo Trading toggle, a misplaced file, or a platform/file mismatch. For less common connectivity or error-message issues, our common EA problems and fixes guide covers additional scenarios in more depth.
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