Skip to content
← All posts

Gold EAs

How to Load a Set File in MT4 and MT5 (and Save Your Own)

EABuild Team · · 10 min read

How to Load a Set File in MT4 and MT5 (and Save Your Own) – EABuild

A set file is a small saved list of input settings for an expert advisor, and knowing how to load a set file is one of the first skills you need after installing an EA. This guide shows the steps in MetaTrader 4 and MetaTrader 5, explains where set files are stored, how to save your own, and what usually goes wrong. The steps are generic and apply to any EA that supports set files.

What a set file is and why it matters

Every expert advisor has inputs: lot size, stop distances, trading hours, risk limits and so on. When you attach an EA to a chart, MetaTrader shows these inputs in a properties window with their default values. A set file stores a complete group of those values under one name, with the extension .set, so you can apply the whole group in one step instead of typing each value by hand.

Sellers often include several set files with a download. Each one is a starting configuration for a particular symbol, timeframe or style of use, not a recommendation of results. You can also save your own set files, which is useful for keeping a tested configuration, comparing two variations or moving your settings to another computer.

What a set file does not do

A set file changes input values only. It does not install the EA, switch on automated trading or attach anything to a chart. If the EA itself is not yet in your Experts folder, start with the installation guides for MT4 and MT5, then come back here.

What you need before you start

  • An expert advisor already installed and visible in the Navigator window (press Ctrl+N if the Navigator is hidden).
  • The set file on your computer. If it came in a zip archive, extract it first.
  • A chart of the symbol and timeframe the EA is designed for. The product listing or the set file name usually tells you which.
  • A demo account for the first test. Loading new settings on a live account before you have seen them work is a common and avoidable mistake.

Where set files are stored

MetaTrader keeps its files in a data folder. Open it from the terminal with File > Open Data Folder. Inside you will find a folder named MQL4 (in MT4) or MQL5 (in MT5), and in it a folder called Presets. When you use the Load or Save button, the file dialog normally opens in that Presets folder, so keeping your set files there saves you from browsing around. You are not forced to use it: the dialog can open a .set file from anywhere on your disk.

Loading the file in MT4

  1. Open a chart for the symbol the EA is designed for and set the timeframe.
  2. Drag the EA from the Navigator onto the chart. You can also double-click it. The properties window opens.
  3. Click the Common tab and tick Allow live trading if you want the EA to place trades. If the EA uses a DLL, you will need to allow DLL imports as well.
  4. Click the Inputs tab. You will see a table of input names and values.
  5. Click Load. A file dialog opens. Pick the .set file and click Open.
  6. Check that the values in the table have changed. Scroll through the whole list rather than only the top rows.
  7. Click OK. The EA starts with those values, and a smiley face appears in the top right corner of the chart when automated trading is on.

If the EA is already running on the chart, you can open its properties again without removing it. Press F7 while the chart is active, or right-click the chart and choose Expert Advisors > Properties. Go to the Inputs tab, click Load and confirm with OK. MT4 reinitialises the EA with the new values.

Loading the file in MT5

MT5 works in almost the same way, with a few differences in wording.

  1. Open the chart for the right symbol and timeframe.
  2. Drag the EA from the Navigator onto the chart, or double-click it. The properties window opens.
  3. On the Common tab, tick Allow Algo Trading. Make sure the Algo Trading button in the toolbar is switched on too.
  4. Open the Inputs tab.
  5. Click Load, choose the .set file and click Open.
  6. Look through the table to confirm that the values were replaced.
  7. Click OK.

To change the settings of an EA that is already running, press F7 on the chart, or right-click the chart and open Expert Advisors > Properties. The Inputs tab has the same Load and Save buttons. You will also see a Reset button, which returns every input to the default values built into the EA.

MT4 and MT5 files are not interchangeable

A set file lists inputs by name. An MT4 EA and its MT5 version may not use the same input names, and different versions of one EA can add or rename inputs. Use set files that come with the exact EA version and platform you run, and do not expect an MT4 set file to work correctly in MT5.

How to save your own set file

Saving works the same way in both platforms. Once you have changed the inputs the way you want them:

  1. Stay in the Inputs tab of the properties window.
  2. Click Save.
  3. Type a clear name. Include the EA, the symbol, the timeframe and a short note, for example EAname_XAUUSD_M15_test1.set.
  4. Confirm the folder and click Save.

Do this before you click OK if you want to keep the values, and always keep the supplied set file untouched. If a change goes wrong, you can load the supplied file again. A set file is plain text, so you can open it in Notepad to read it, but edit it by hand only when you understand the input names, because a typing error can leave an input at an unintended value.

Set files in the Strategy Tester

The tester has its own inputs table. In MT4, open the Strategy Tester, choose the EA and click Expert properties, then use the Inputs tab. In MT5, open the Inputs tab of the Strategy Tester, right-click the table and choose the load option. Loading a set file into the tester does not change a copy of the EA running on a live chart, so load the file in each place you use it.

A set file and the EA it was made for

Settings are tuned for a specific context, which is why set files are labelled by symbol and timeframe. Several things can make a correct file behave differently on your account.

Symbol and broker differences

Brokers name instruments differently. Gold may appear as XAUUSD, XAUUSDm or GOLD, depending on the broker. A set file made for XAUUSD still needs the EA to find the right symbol on your account, so check whether the EA has a symbol suffix input and fill it in if your broker adds letters. Brokers also differ in spreads, digits, contract size and trading hours, and values such as stop distances or maximum spread are measured in points, so the same number can mean a different distance on another broker.

Timeframe

If a set file is meant for M15, attach the EA to an M15 chart. Loading it on another timeframe changes how the EA reads price data and may change its behaviour.

Lot size and account size

A set file can contain a fixed lot size or a risk setting chosen for a certain account size. Check these inputs before trading. Product listings state a recommended minimum deposit, and a configuration designed for a larger deposit can carry far more exposure on a small one.

Checks after loading

  • Chart corner. A smiley face in MT4 or a running icon in MT5 shows that the EA is active. A frowning face or a crossed icon means automated trading is off or the EA was stopped.
  • Experts tab. Press Ctrl+T to open the Terminal window in MT4 or the Toolbox in MT5, and read the Experts tab. Initialisation messages and errors appear here.
  • Inputs. Reopen the properties with F7 and confirm the values still match the file.
  • Demo run. Let the EA run on a demo account and watch how it behaves before any live use. Test it on a demo account first, then check the settings again before you trade live.

Common problems

The Load button does nothing or the file will not open

Make sure the file ends in .set and is not still inside a zip archive. If your browser added a second extension, such as .set.txt, rename the file. Windows may hide extensions by default, so enable file extensions in File Explorer to check.

The values did not change

You may have clicked Cancel instead of OK, or loaded the file into the wrong window, such as the tester instead of the chart. Open the properties again with F7 and check.

The EA shows an error or does not trade

Read the Experts tab first. Frequent causes are automated trading switched off, a symbol name that does not match, a spread filter that blocks entries, or an EA attached to a symbol it was not designed for. A set file cannot fix any of these.

Settings returned to default after a restart

MetaTrader stores the inputs with the chart. If you close a chart without saving a template or profile, or remove the EA, the inputs go with it. Save a set file for every configuration you care about, and consider saving a chart template as well.

Set files in the products listed in this shop

Several expert advisors in the catalogue come with set files, and the number depends on the product. The counts below come from each listing.

  • Orion Gold Scalper EA for MT4 is designed for XAUUSD on M1 and M5, and its download includes four set files.
  • The Gold Reaper EA for MT4 trades XAUUSD on M15 using breakout, neural network / AI and grid logic, and comes with seven set files.
  • Straddle EA for MT5 is an MT5 expert advisor for XAUUSD on M15 that uses breakout, grid and news-trading logic. The download includes eight set files.
  • Perceptrader AI EA for MT5 works on NZDUSD, USDCAD, AUDNZD and AUDCAD on M5, and includes twelve set files and a PDF guide.

Grid logic opens extra orders at set price steps, so open exposure can grow while price moves against the first order. Three of these listings (Gold Reaper, Straddle and Perceptrader AI) state grid/martingale: yes. Martingale means the lot size grows after a loss, so drawdown can rise quickly. Read each set file's lot and risk inputs before you load it on a live account.

When a product has many set files, the file names and the product page tell you which symbol or timeframe each is meant for. Where a PDF guide is included, read it before you load anything. Load one file at a time and test it on a demo account. If you want background on gold strategies, the gold EA guide explains the common types.

Where to go next

Once you can load, check and save a set file, you can compare configurations in a controlled way: change one input, save the result under a new name and keep notes. Every product in the catalogue is included in the membership, which gives you access to the full range of expert advisors, indicators and source code.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Tags: Set Files, MT4 Installation, MT5 Installation, Expert Advisors

← All posts

Get every EA with membership

313 products · from $16.59/month

See plans

More in Gold EAs