How to Update an EA to a New Version in MT5 Safely, Step by Step
To update an EA in MT5 safely: 1) wait until the EA has no open trades or basket (for an EA that closes everything before the weekend, such as Golden Viper EA, the weekend is the natural window), 2) note or save its inputs, 3) open File > Open Data Folder > MQL5 > Experts, remove the EA from the chart and close MT5 with File > Exit, 4) rename the old .ex5 as a backup and copy the new .ex5 into the same folder, 5) restart MT5, attach the new version to the same chart and confirm in the Experts tab that it loaded without errors. It takes about 5-10 minutes; on MT4 the steps are the same with .ex4 files in MQL4 > Experts.
EA updates are a normal part of automated trading. Developers release new versions to fix bugs, improve execution logic, adapt to changing market conditions, and add new features. The process itself is straightforward, but skipping steps, especially backing up settings or updating while trades are still open, can cause real problems. Traders can lose an entire configuration by replacing a file without saving their parameters first, and orphaned trades can sit open for days when a new EA version doesn't recognize the old version's positions. This guide walks through each step so you can update any EA safely, whether that's Golden Viper EA or something else entirely.
In This Guide
- Why EA Version Updates Matter
- Step 1: Check for Open Trades
- Step 2: Save Your Current Settings
- Step 3: Remove the Old EA and Back Up the File
- Step 4: Install the New Version
- MT4 vs MT5: What's Different When You Update
- Step 5: Reattach and Verify
- Updating Golden Viper EA
- Choosing the Best Time to Update
- Updating an EA Running on a VPS
- Troubleshooting Common Update Issues
- FAQ
Why EA Version Updates Matter
An Expert Advisor is automated trading software that executes a defined set of rules on your behalf, without you needing to watch every candle. Developers push new versions for reasons that have nothing to do with secrecy around a strategy: fixing bugs found after release, adapting to how a specific broker reports spreads or slippage, restoring compatibility after a MetaTrader platform build change, and refining order and risk management based on how the EA actually behaved on live accounts. You don't need to understand an EA's internal logic to benefit from an update, only its version history and what changed. For the basics, see what an expert advisor is.
Version numbers are a useful signal for how cautious to be. A jump from, say, 2.0 to 2.1 usually means a targeted fix: a corrected error message, a patched edge case, no structural change to how the EA opens or manages trades. A jump from 2.x to 3.0 more often means a larger revision, which can include new input parameters, different default risk settings, or adjusted trade management that noticeably changes behavior. Read the changelog every time, even for a "minor" version bump, because small fixes can still touch a setting you depend on.
This is really just an application of good software hygiene to a trading tool. The same discipline that applies to algorithmic trading in general, testing changes before trusting them with real capital, applies at the update stage too. The MQL5 documentation on Expert Advisors is a useful reference if you want to understand what an .ex4/.ex5 file actually contains and why it needs to be replaced as a whole rather than patched in place.
Step 1: Check for Open Trades
Before touching any files, open your MT4 or MT5 terminal and check the Trade tab at the bottom of the screen. Look for any open positions or pending orders that belong to the EA you are about to update.
If There Are No Open Trades
Proceed directly to Step 2. This is the ideal scenario for updating.
If There Are Open Trades
You have three options, ranked from safest to riskiest:
- Wait for trades to close naturally. This is the safest approach. Let the EA manage its existing positions to completion before updating. Depending on the strategy, this could take hours or days.
- Close trades manually, then update. If you cannot wait, close all open positions associated with the EA. Be aware this may lock in a loss on positions the EA intended to hold.
- Set manual stop losses and take profits on each open trade, then update. This is a middle ground. You protect the positions with manual exit levels, remove the EA, and update. The trades will close at your specified levels even without the EA running.
Never update while trades are open without protection. If you remove an EA that has open trades without stop losses, those positions will remain open with no management. A sudden market move could wipe out your account. Always ensure every open trade has a stop loss before removing the EA.
To identify which trades belong to the EA, check the magic number in the trade comment or order details. Each EA typically uses a unique magic number to tag its trades. If you are running multiple EAs on one account, that number is how you tell which trades belong to which EA.
Step 2: Save Your Current Settings
This is the step most traders skip, and the one they regret skipping. New EA versions frequently rename parameters, add new ones, or change default values, so if you don't save your current configuration you'll be reconstructing it from memory later. Getting even one parameter wrong can change how the EA trades entirely.
Method 1: Save a Preset File (.set)
- Open the EA's settings window by clicking the EA name on your chart (or right-click, then Expert Advisors, then Properties)
- In the Inputs tab, click the Save button at the bottom
- Choose a descriptive filename like
MyEA_v2.1_settings.set - Save it somewhere outside the MT4 data folder (your Desktop or Documents folder) so it does not get overwritten
Method 2: Screenshot the Settings
- Open the EA's settings window
- Take a screenshot of every tab (Common, Inputs, and any custom tabs)
- If the Inputs list is long, scroll down and take multiple screenshots to capture all parameters
- Save the screenshots alongside your .set file as a visual backup
Best practice: Do both. Save the .set file for easy reloading, and take screenshots as a human-readable reference. The .set file may not load correctly if the new version has renamed parameters, but your screenshots will let you manually enter the correct values.
Record Your Magic Number
Write down the magic number your EA is using. If the new version defaults to a different one, set it back to the original, especially if you run multiple EAs on the account or want the new version to recognize existing trade history. Check your MT4 template if you saved the EA configuration as part of a chart template.
Step 3: Remove the Old EA and Back Up the File
Now that your settings are saved and no unprotected trades are open, you can safely remove the old version.
Remove the EA from the Chart
- Right-click anywhere on the chart where the EA is attached
- Select Expert Advisors, then Remove
- Confirm the removal when prompted
- The smiley face (or frowning face) in the top-right corner of the chart should disappear
Close MT4/MT5 Completely
Go to File, then Exit. Don't just click the X button; use the menu so the platform shuts down cleanly. Wait a few seconds for it to fully close, then confirm it is no longer running in Task Manager (Ctrl+Shift+Esc on Windows).
Back Up the Old EA File
- Navigate to your MT4 data folder. The easiest way is: in MT4, go to File, then Open Data Folder before closing the platform. This opens the correct directory.
- Go to MQL4, then Experts (or MQL5/Experts for MT5)
- Find your EA file (e.g.,
Golden Viper EA.ex5) - Rename it to something like
GoldenViper_backup.ex5 - Optionally, copy it to a backup folder outside the MT4 directory
Why keep the old file? If the new version has a bug, behaves differently than expected, or runs into broker compatibility issues, you can roll back immediately by reversing this process. Never delete old EA files. Storage is cheap; recovery time isn't.
Step 4: Install the New Version
With the platform closed and the old file backed up, you can now install the new EA version.
Place the New File
- Download the new EA file from your provider (email link, Telegram, or member area)
- Copy the new
.ex4or.ex5file into the same MQL4/Experts (or MQL5/Experts) folder - If the new file has the same name as the old one, it will sit alongside your renamed backup, which is correct
- Do not place the file in a subfolder unless the developer specifically instructs you to
Check for Additional Files
Some EA updates include more than just the main .ex4/.ex5 file. Check the update notes for:
- Library files (.dll): place these in the MQL4/Libraries folder
- Include files (.mqh): they belong in MQL4/Include
- Preset files (.set): drop these into MQL4/Presets
- Custom indicator files (.ex4): these need to be in MQL4/Indicators
If the developer provides a changelog or release notes, read them before proceeding. They will tell you what changed, what new parameters were added, and whether any settings need adjustment. Developers like MetaQuotes also release platform updates that may affect EA compatibility, so keep your MT4/MT5 platform updated as well.
Restart MT4/MT5
- Launch MT4 or MT5
- Open the Navigator panel (Ctrl+N if it is not visible)
- Expand the Expert Advisors section
- You should see the new EA listed. If it does not appear, right-click on Expert Advisors and select Refresh
MT4 vs MT5: What's Different When You Update
If your EA is available for both platforms and you are considering switching from MT4 to MT5 (or the reverse) as part of an update, it helps to know upfront what does and does not carry over. The two platforms are not interchangeable at the file level, even when the underlying trading logic is the same.
| Aspect | MetaTrader 4 (MT4) | MetaTrader 5 (MT5) |
|---|---|---|
| EA file extension | .ex4 |
.ex5 |
| Program folder | MQL4/Experts |
MQL5/Experts |
| Preset file compatibility | .set files are not interchangeable between platforms | .set files are not interchangeable between platforms |
| Order execution model | Several open orders on one symbol (MT5's hedging mode works in a similar way) | Order-based with optional hedging or netting account modes |
| Typical update source | Same delivery channel as MT5 (email, Telegram, or member area) | Same delivery channel as MT4 (email, Telegram, or member area) |
Golden Viper EA is MT5-only, so its updates arrive as a new .ex5 file (updates are included with the lifetime license and the download link always serves the current version; customers get the new file and Rulebook), and there is no .ex4 to download. Installing an .ex5 file into an MT4 Experts folder (or vice versa) will simply not load, MetaTrader silently ignores files with the wrong extension for that build.
Step 5: Reattach and Verify
This is the final step, and where careful attention to your saved settings pays off.
Attach the New EA to Your Chart
- Open the chart you want to trade on (same pair, same timeframe as before)
- Drag the new EA from the Navigator panel onto the chart
- In the Common tab, check "Allow live trading" and "Allow DLL imports" (if the EA requires it)
- Go to the Inputs tab
- Click Load and select your saved .set file from Step 2
- If the .set file does not load all parameters (because the new version renamed some), refer to your screenshots and enter them manually
- Verify your magic number matches the one you recorded
- Click OK
Confirm the EA Is Running
After attaching, check these indicators:
- Smiley face on chart: A smiley face in the top-right corner means the EA is loaded and AutoTrading is enabled. A frowning face means AutoTrading is disabled; click the AutoTrading button in the toolbar to turn it back on.
- Experts tab: Click the "Experts" tab at the bottom of the terminal. You should see an initialization message from the new EA version, often including the version number.
- Journal tab: Check the "Journal" tab for any error messages. Common errors include file-not-found (missing library), license validation failures, or parameter errors.
Run a Quick Functionality Test
If you have a demo account, test the new version there first. Attach it to a demo chart with the same settings and observe it for a few hours. Verify that it:
- Initializes without errors
- Places trades according to its strategy
- Sets proper stop losses and take profits
- Uses the correct lot sizes
- Logs activity in the Experts and Journal tabs
Once you are confident the new version is working correctly on demo, repeat the attachment process on your live account.
Pro tip: After updating, monitor the EA closely for the first 24-48 hours. Even well-tested updates can behave differently on a live account due to spread variations, slippage, and broker-specific conditions. Track the results against Myfxbook to ensure performance matches expectations.
Updating Golden Viper EA: The Short Version
Golden Viper EA has no inputs to save except the license key, so its update is shorter than the general process above:
- Get the current file. Use the download link from your license email; it always serves the current version, and updates are included with the lifetime license.
- Pick a moment with no basket open. The EA closes everything at the Friday close and restarts on Monday, so the weekend is the simplest window. If you update mid-week while a basket is open, a removed EA no longer manages it: the positions keep their take-profit at the broker but have no stop loss.
- Swap the file. In MT5, File > Open Data Folder > MQL5 > Experts: rename the old .ex5 as a backup, copy in the new one, then restart MT5.
- Reattach with the same key. Attach it to the same XAUUSD chart on the same hedging account and paste the same key into its only input, "License key". The key stays locked to the first MT5 account it ran on, so there is nothing to re-activate.
- Check the Experts tab. Golden Viper EA writes nothing of its own there except license and setup alerts, so an empty log after loading is normal; a license alert means the key, the account or the WebRequest entry for https://goldenviperea.com (Tools > Options > Expert Advisors) needs checking.
If you moved to a new MT5 account at the same time, the key will not work there until support moves it: contact @viprasol_help on Telegram.
Choosing the Best Time to Update
Timing an update well removes most of the risk before you even start. The market being closed is the single biggest safety factor, since there is no live price feed to interrupt and no chance of a trade being triggered mid-update. Gold (XAUUSD) tracks the COMEX gold futures trading calendar closely, so weekends are the natural update window for most traders.
If you can't wait for the weekend, the next best option is a quiet stretch of the trading day, away from scheduled high-impact releases. Central bank rate decisions, US CPI, and Non-Farm Payrolls all move gold sharply within minutes of release, and those are exactly the moments you don't want your EA offline or half-configured. Check an economic calendar before you start and avoid the 30 minutes before and after any red-flagged event.
| Your Situation | Recommended Approach | Estimated Time |
|---|---|---|
| No open trades, market closed (weekend) | Update immediately using the full process above | 5-10 minutes |
| No open trades, market open on a weekday | Update during a low-volatility session, away from major news | 5-10 minutes |
| Open trades expected to close within hours | Wait for trades to close naturally, then update | Hours (passive wait) + 10 minutes |
| Open trades likely to stay open for days | Set manual stop loss/take profit on each trade, then update | 15-20 minutes |
| EA running on a VPS you access remotely | Schedule a maintenance window and follow the VPS process below | 10-15 minutes |
Updating an EA Running on a VPS
If you're running the EA on a VPS, the process is identical, but you're performing every step over a Remote Desktop connection instead of on your own machine. A few things are worth doing differently:
- Connect and copy the file directly onto the VPS. Download the new EA file to the VPS itself (or transfer it via RDP file sharing) rather than trying to map a network drive back to your local computer.
- Keep the RDP session open until you've verified the EA is running. Disconnecting before you confirm the smiley face and a clean initialization message in the Experts tab means you won't know if something went wrong until you reconnect, possibly hours later.
- Check the VPS's own clock and timezone. Many VPS providers default to a different timezone than your broker's server time, which matters if you're timing the update around a specific news window.
- Note your VPS provider's maintenance windows. Some providers run their own scheduled restarts; avoid updating right before one, or your freshly attached EA may get interrupted by a reboot before you can confirm it's stable.
Troubleshooting Common Update Issues
Even with a clean process, things can still go sideways during an EA update. Here are the most common problems and how to fix them:
| Problem | Cause | Solution |
|---|---|---|
| EA not appearing in Navigator | File placed in wrong folder or platform not refreshed | Right-click Expert Advisors in Navigator, select Refresh. Verify the file is in MQL4/Experts (not a subfolder). |
| License or authentication error | New version requires re-activation or different account | Contact the EA developer for a new license key or account authorization. |
| .set file won't load all parameters | New version renamed or removed parameters | Load what you can from the .set file, then manually enter remaining values from your screenshots. |
| Frowning face instead of smiley face | AutoTrading is disabled globally | Click the AutoTrading button in the toolbar (should turn green). Also check Tools, then Options, then Expert Advisors. |
| EA trades differently than before | New version has changed logic or default parameters | Read the changelog. Compare your current settings against the previous version. Test on demo first. |
| DLL error messages in Journal | New version requires a DLL that was not included | Check if the update package includes .dll files for the MQL4/Libraries folder. Enable "Allow DLL imports" in EA properties. |
If an updated EA loads cleanly but never opens a trade, work through why an MT5 EA is not taking trades. If you are updating Golden Viper EA and run into any issue not covered above, reach out to our Telegram support and we will walk you through the resolution. For general MT4/MT5 platform issues during updates, the MetaQuotes help documentation is a reliable resource.
Only download updates from your official source. Get every new EA version from the developer's verified email, member area, or official Telegram channel, never from a third-party forum, torrent, or "free download" of a paid EA. Pirated or cracked EA files are a common vector for malware and account theft, a pattern the FTC's guidance on investment scams covers in more general terms. If a source other than your original vendor offers you an EA update, treat it as a red flag.
It's also worth optimizing your EA settings after an update, since new versions may introduce parameters worth tuning. If you're running the EA on a VPS, remember you'll need to connect via Remote Desktop to perform the update on the server rather than your local machine.
Frequently Asked Questions About Updating EAs
Where do I get the latest version of Golden Viper EA?
From the download link in your license email: it always serves the current version, so downloading it again gets you the newest .ex5. Replace the old file when no basket is open, restart MT5 and paste the same license key.
Is it safe to replace an EA file while MT5 is running?
It is safer not to. Remove the EA from the chart, close MT5 with File > Exit, swap the .ex5 in MQL5 > Experts and restart, so the platform loads the new file cleanly. Then check the Experts tab for the EA's initialization or error messages before you leave it running.
Can I update an EA while it has open trades?
It's best to wait until all trades are closed before updating. If the EA has open positions, the new version may not recognize them, which can leave orphaned trades sitting without stop losses. If you must update urgently, manually set stop losses and take profits on every open trade first, then remove the EA and continue with the update process.
Will I lose my EA settings when updating?
Settings are not automatically transferred between versions. Always save a .set preset file and take screenshots of your current settings before removing the old EA. New versions may add, rename, or remove parameters, so you may need to adjust some settings manually after loading your preset file into the new version.
How do I know if a new EA version is available?
Most EA developers notify customers via email, Telegram, or their website when updates are released. Golden Viper EA updates are included with the lifetime license, and the download link from your license email always serves the current version, so downloading again gets you the latest file; for questions, ask through our Telegram support or by email.
Can I roll back to a previous EA version?
Yes, as long as you kept a backup of the old .ex4 or .ex5 file, which you always should. Just reverse the update process: remove the new version from your chart, close the platform, swap in your backup file, restart, and reattach. That's why Step 3 tells you to rename the old file instead of deleting it.
Do I need to re-activate my license after updating?
It depends on the EA's licensing system. Some EAs use account-based licensing that persists across versions, while others use file-based or key-based systems that require re-entry. For Golden Viper EA you replace the .ex5 file with the new one and paste the same key into its only input, License key; the key stays locked to the same MT5 account. If anything about your licence is unclear after an update, ask support via Telegram or email before going live.
What's the best time of day or week to update an EA?
Weekends, when the market is closed, are the safest window for an XAUUSD EA update since there is no live price feed and no risk of an update interrupting an open trade. If you must update on a weekday, avoid the minutes around high-impact news releases like NFP or a central bank rate decision, and pick a quieter stretch of the session instead.
Do I need to update the EA differently on a VPS than on my local computer?
The steps are the same, but you're performing them through a Remote Desktop connection. Download or copy the new file directly onto the VPS rather than mapping a local drive, keep the RDP session open until you've confirmed the smiley face and a clean initialization message in the Experts tab, and check the VPS's timezone if you're timing the update around a news window.
What if the new EA version stops trading after I update it?
Start with the Experts and Journal tabs for error messages, then confirm AutoTrading is enabled and that your magic number and lot sizing loaded correctly from your saved settings. If everything checks out but no trades are appearing, current market conditions may simply not meet the EA's entry criteria yet; compare your settings against the changelog before assuming something is broken.
Is there a cost to update Golden Viper EA to a new version?
No. The lifetime license includes updates: the download link always serves the current version, so there is nothing more to pay after the $299 one-time purchase. A 1-year ($199) or 1-month ($49) key runs for its time; when it ends, you add time or buy the lifetime license.
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