Update EA Version: Step-by-Step Guide (2026)

Quick Answer

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 update process itself is straightforward, but skipping steps -- especially backing up settings or updating during open trades -- can create serious problems. I have seen traders lose entire configurations because they replaced a file without saving their parameters first, and I have seen orphaned trades sit open for days because the new EA version did not recognize the old version's positions. This guide walks you through each step so you can update any EA safely, whether it is Golden Viper EA or any other Expert Advisor.

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:

  1. 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.
  2. 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.
  3. 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, this is how you distinguish 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. If you do not save your current configuration, you will have to reconstruct it from memory -- and getting even one parameter wrong can change how the EA trades entirely.

Method 1: Save a Preset File (.set)

  1. Open the EA's settings window by clicking the EA name on your chart (or right-click, then Expert Advisors, then Properties)
  2. In the Inputs tab, click the Save button at the bottom
  3. Choose a descriptive filename like GoldenViper_v2.1_settings.set
  4. Save it somewhere outside the MT4 data folder (your Desktop or Documents folder) so it does not get overwritten

Method 2: Screenshot the Settings

  1. Open the EA's settings window
  2. Take a screenshot of every tab (Common, Inputs, and any custom tabs)
  3. If the Inputs list is long, scroll down and take multiple screenshots to capture all parameters
  4. 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 magic number, you need to set it back to the original -- especially if you have multiple EAs on the account or if you 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.

Golden Viper EA includes free updates for all subscribers. +135% monthly returns, Myfxbook verified. We send update instructions with every release.
Try Free →

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

  1. Right-click anywhere on the chart where the EA is attached
  2. Select Expert Advisors, then Remove
  3. Confirm the removal when prompted
  4. 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. Do not just click the X button -- use the menu to ensure a clean shutdown. Wait a few seconds for the platform to fully close. You can verify it is no longer running by checking Task Manager (Ctrl+Shift+Esc on Windows).

Back Up the Old EA File

  1. 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.
  2. Go to MQL4, then Experts (or MQL5/Experts for MT5)
  3. Find your EA file (e.g., GoldenViperEA.ex4)
  4. Rename it to something like GoldenViperEA_v2.1_backup.ex4
  5. 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 your broker has compatibility issues, you can roll back immediately by reversing this process. Never delete old EA files -- storage is cheap, and recovery time is not.

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

  1. Download the new EA file from your provider (email link, Telegram, or member area)
  2. Copy the new .ex4 or .ex5 file into the same MQL4/Experts (or MQL5/Experts) folder
  3. If the new file has the same name as the old one, it will sit alongside your renamed backup -- this is correct
  4. 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) -- these go in the MQL4/Libraries folder
  • Include files (.mqh) -- these go in the MQL4/Include folder
  • Preset files (.set) -- these go in the MQL4/Presets folder
  • Custom indicator files (.ex4) -- these go in the MQL4/Indicators folder

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

  1. Launch MT4 or MT5
  2. Open the Navigator panel (Ctrl+N if it is not visible)
  3. Expand the Expert Advisors section
  4. You should see the new EA listed. If it does not appear, right-click on Expert Advisors and select Refresh

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

  1. Open the chart you want to trade on (same pair, same timeframe as before)
  2. Drag the new EA from the Navigator panel onto the chart
  3. In the Common tab, check "Allow live trading" and "Allow DLL imports" (if the EA requires it)
  4. Go to the Inputs tab
  5. Click Load and select your saved .set file from Step 2
  6. If the .set file does not load all parameters (because the new version renamed some), refer to your screenshots and enter them manually
  7. Verify your magic number matches the one you recorded
  8. 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.
  • 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.

Troubleshooting Common Update Issues

Even with a clean process, issues can arise during an EA update. Here are the most common problems and their solutions:

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.

Understanding how to optimize your EA settings after an update is also important, since new versions may introduce parameters worth tuning. And if you are running the EA on a VPS, remember that you will 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 is strongly recommended to wait until all trades are closed before updating. If the EA has open positions, the new version may not recognize them, potentially leaving orphaned trades without stop losses. If you must update urgently, manually set stop losses and take profits on all open trades before proceeding, 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, if you kept a backup of the old .ex4 or .ex5 file (which you should always do). Simply reverse the update process: remove the new version from your chart, close the platform, replace the file with your backup, restart, and reattach. This is why Step 3 emphasizes renaming rather than deleting the old file.

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.

Myfxbook Verified

Automate Your XAUUSD Trading

+135% Monthly Returns
81% Win Rate
24/5 Automated
Starting at $99/month
Start 7-Day Free Trial →
✓ No credit card required ✓ Full feature access ✓ MT4 & MT5 compatible
GV

Golden Viper EA Team

We specialize in automated XAUUSD trading with verified live results. Every Golden Viper EA update includes detailed instructions and full support to ensure a smooth transition.

Myfxbook Verified Live Trading Since 2024 81% Win Rate