Update EA Version: Step-by-Step Guide (2026)
To update an EA safely: 1) Wait for open trades to close, 2) Screenshot your current settings and save a .set file, 3) Remove the old EA from your chart, 4) Close MT4/MT5, 5) Rename the old .ex4/.ex5 file as a backup and place the new file in the Experts folder, 6) Restart the platform and reattach the EA with your saved settings. The entire process takes 5-10 minutes and prevents lost settings and orphaned trades.
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. I've seen traders lose an entire configuration because they replaced a file without saving their parameters first. I've also watched orphaned trades sit open for days because a new EA version didn'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
- 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.
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
GoldenViper_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.,
GoldenViperEA.ex4) - Rename it to something like
GoldenViperEA_v2.1_backup.ex4 - 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 | Position-based (one net position per symbol unless hedging is enabled by the broker) | 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 covers both MT4 and MT5, and updates for each platform are released and delivered separately, so make sure you download the file that matches the terminal you actually use. 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.
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 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
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 customers receive update notifications through our Telegram channel and email, with download links and detailed changelogs explaining every change in the new version.
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. Golden Viper EA uses account-based licensing, so updates work automatically on your authorized accounts without any re-activation step.
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. Every Golden Viper EA license includes free updates for the life of the license, delivered through our Telegram channel and email. You will never be asked to pay again for a new version after your original $199 one-time purchase.
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