Setup Guide

Get your Atlas EA running

Everything from your licence to a tested EA on a live chart, in order. Start at Step 1 and scroll down: each step builds on the one before.

Guide for

Risk disclaimer

Read this before you start

  • We are not financial advisers. Atlas Automation Lab does not give investment advice. Nothing in this guide is a recommendation to buy, sell or trade anything.
  • An Expert Advisor is a software tool. You decide whether to use it, on which account, with which settings and how much money. You are responsible for every trade it places.
  • Trading carries a high risk of loss. Forex, gold and other leveraged products can lose money fast, and you can lose more than you expect. Only trade money you can afford to lose.
  • Past results do not guarantee future profits. Backtests are hypothetical and live results so far are no promise. Markets, brokers and conditions change.

By using Atlas software, you are subject to our Terms of Service.

Part 1

Before you start

What you need, how the pieces fit together, and the order we recommend so your money is never the first thing you test with.

Step 1

What you need

Check you have these before you begin. Setting everything up for the first time takes about 30 to 45 minutes.

A computer for MetaTrader 5
A Windows 10 or 11 PC, or a Mac running the official MetaTrader 5 for macOS from MetaQuotes. The EA runs inside the desktop MetaTrader 5 on either.
MetaTrader 5 (free)
From your broker's website or from metatrader5.com. Your broker's own download already knows its servers.
A trading account
A MetaTrader 5 account with a broker, hedging or netting. Start with a free demo account.
An Atlas subscription
It gives you the licence key and the downloads. Backtests in the Strategy Tester need no licence at all.
To run around the clock (optional)
A VPS: a computer in a data centre that keeps MetaTrader 5 running while yours is off. Most trading VPS run Windows.
  • The MetaTrader 5 apps for iPhone and Android and the web terminal cannot run Expert Advisors. Use them to watch your account; the EA itself runs in the desktop MetaTrader 5.
  • An EA trades only while its MetaTrader 5 is open and connected. If you close the terminal or the computer sleeps, the EA stops.
Step 2

Test before you trade live

An Expert Advisor trades automatically. Settings that work on one broker can behave differently on another, because prices, spreads, commissions and symbol specifications differ.

  1. Backtest the EA on your own broker and symbol in the Strategy Tester (Part 6).
  2. We strongly recommend running it on a demo account for a few weeks (Part 8).
  3. If you then decide to trade live, start with a small lot you can afford to lose.
Checklist: Before you start

Part 2

Account and licence

Your Atlas account holds your licences: one key per product, each with its own live and demo account slots.

Step 3

Create your Atlas account and subscribe

  1. Open the Pricing page and choose monthly or yearly billing.
  2. Click Subscribe. Create your account with your email address and a password for our website (this is not your trading password).
  3. Pay on Stripe's secure checkout page. Your card details go to Stripe, never to us.
  4. You return to your account. Your licences appear right away, one per product.
Step 4

Find your licence key

Every product has its own licence key. A Gold Lab key does not work in Sniper, and the other way round.

  1. Sign in and open Licence in the menu on the left (at the bottom on a phone).
  2. Find Atlas Gold Lab. Its key is hidden: click Reveal to show it.
  3. Click Copy. The key is now on your clipboard, ready to paste into MetaTrader 5 later.
Step 5

Live and demo accounts

Each EA licence includes 1 live and 2 demo accounts (Trade Manager: 2 live and 2 demo).

Live slot
For a real-money account. MetaTrader 5 shows "Real Account" in its title bar.
Demo slot
For a demo or contest account. MetaTrader 5 shows "Demo Account" in its title bar.
Extra live accounts
Add them any time on the Billing page, for the same billing period.
  • The EA checks the type: a real account registered in a demo slot is refused, and the other way round.
Checklist: Account and licence

Part 3

Check your broker and symbol

Brokers differ: account type, symbol names, decimals, contract sizes, lot limits, spreads and commissions. Check yours before you set anything, because every setting depends on them.

Step 6

Check your account type: Hedge or Netting

Atlas Gold Lab runs on both. On a hedging account every session can trade at the same time. On a netting account MetaTrader 5 holds one position per symbol, so only session 1 runs and Close Original Position on Reverse must stay true.

  1. Open MetaTrader 5 and log in to your trading account.
  2. Look at the title at the very top of the window: it shows your account number, the server, and "Hedge" or "Netting".
The MetaTrader 5 title bar showing the server and the word Hedge
The MetaTrader 5 title bar showing the server and the word Hedge
  • Most forex brokers and prop firms (FTMO included) give hedging accounts.
  • US brokers and futures accounts are netting accounts (the FIFO rule). The EA runs there with one session.
  • Atlas Trade Manager works on hedging and netting accounts.
Step 7

Find the exact name of your symbol (XAUUSD for gold)

Brokers name the same market differently. Gold can be XAUUSD, XAUUSD.ecn, XAUUSDm or GOLD. You need your broker's exact name.

  1. In MetaTrader 5 open View > Market Watch (Ctrl+M). The list of symbols opens on the left.
  2. Find the symbol in the list. Not there? Right-click the list, choose Symbols, search for it and click Show Symbol.
  3. Note the name exactly, including any ending such as .ecn or m.
The Market Watch window with XAUUSD.ecn and EURUSD.ecn
The Market Watch window with XAUUSD.ecn and EURUSD.ecn
Step 8

Open the symbol's Specification

The Specification window is your broker's rule sheet for the symbol. Keep it open for the next two steps.

  1. In Market Watch, right-click the symbol and choose Specification.
  2. Note these lines: Digits, Contract size, Stops level, Minimal volume, Maximal volume, Volume step, and Commissions if your broker lists them.
  3. For the spread, look at Market Watch: the difference between Ask and Bid, in points, at a normal trading hour.
Digits
How many decimals the price has. It sets the size of one point.
Contract size
How much of the market one lot is: 100 ounces for most gold symbols. It sets the money each point is worth.
Stops level
The closest distance, in points, the broker accepts for stops and pending orders.
Minimal, maximal volume and volume step
The smallest lot, the largest lot, and the steps a lot can grow in. Every lot the EA sends is rounded to these.
Commissions
What the broker charges per lot. It counts in every backtest and every trade.
Sessions
The hours the symbol trades, on the broker's server clock.
Right-click the symbol in Market Watch, then Specification
Right-click the symbol in Market Watch, then Specification
The Specification window of XAUUSD.ecn: 2 digits, contract size 100, volume 0.01 to 10 in steps of 0.01, commission 3 USD per lot
The Specification window of XAUUSD.ecn: 2 digits, contract size 100, volume 0.01 to 10 in steps of 0.01, commission 3 USD per lot
Step 9

Count the decimals in the price

Look at the price in Market Watch. 4164.00 has 2 decimals; 4164.000 has 3. The Digits line of the Specification says the same.

  • Every distance in the Atlas EAs (brick size, buffers, stops) is set in points. A point is the smallest price step: 0.01 on 2-decimal gold, 0.001 on 3-decimal gold.
  • Our presets were made on 2-decimal gold, where 100 points is a $1.00 move.
  • On 3-decimal gold the same $1.00 move is 1,000 points. Multiply every point setting in our presets by 10.

Converts our presets to your symbol's decimals, contract size and lot limits. It opens over the page, so you keep your place.

Step 10

Check your settings with the Symbol Settings Calculator

Type the values from your Specification and the settings from your preset file. The calculator converts them to your symbol and shows the lots and money involved.

  • Use it before you load a preset on a new broker or symbol, whenever the decimals, contract size or lot limits differ from ours, and before you change the lot.
  • The results are estimates for checking your setup. Your own backtest on your broker is the real test.
  • Money per point assumes the symbol's profit currency is your account currency (USD for gold on a USD account).

Symbol Settings Calculator

From your Specification
From your settings (.set file)

Example values. Type the ones from your preset or your own settings.

One point on your symbol
0.01
Use this many points
100
The price move it stands for
1
Money per point, 1 lot
$1.00
Money per brick, 1 lot
$100.00
Commission per round trip, first lot
$0.00
The ladder, every step
StepLot sentMoney per brickBroker limits
Entry0.01$1.00OK
10.01$1.00OK
20.01$1.00OK
30.01$1.00OK

The spread is 20% of a brick. Above 10%, costs eat much of every move: consider a bigger brick or a lower-spread account.

Step 11

Mind the server clock

The trading hours in the EA inputs follow your broker's server clock, the time shown at the top of Market Watch, not your own clock.

  • Our presets use our broker's server clock. If your broker's clock is set differently, the same hours fall at a different moment of the market day.
  • Check the session hours in the inputs against your broker's clock before you rely on them, and backtest with the hours you choose.
Checklist: Check your broker and symbol

Part 4

Register your MT5 account

The licence works on the accounts you register: login number plus the exact server name. That is all we need from your trading account.

Step 12

Find your login number and server name

Your login number is the account number your broker gave you. The server name tells MetaTrader 5 which of the broker's servers holds the account. MetaTrader 5 shows both in several places:

The title bar
The very top of the MetaTrader 5 window starts with the login number, then the server name, then "Demo Account" or "Real Account".
File > Login to Trade Account
The window shows the Login and the Server. Close it with Cancel; you do not need to type anything.
The Navigator
Open View > Navigator (Ctrl+N) and expand Accounts: each account is listed under its broker, with its login number.
Your broker's email
The email your broker sent when you opened the account lists the login and the server.
The Login to Trade Account window showing the login and the server
The Login to Trade Account window showing the login and the server
  • Copy the server name exactly as MT5 shows it, capital letters, dashes and endings included, for example MEXAtlantic-Demo.
  • The password field in that window is for MetaTrader 5 only. Never type it into our website or send it to us.
Step 13

Register the account on your licence

  1. Open Licence and find Atlas Gold Lab.
  2. Click Add live account for a real account, or Add demo account for a demo account.
  3. Type the login number and the server name. Add a label if you like, for example "Demo at my broker".
  4. Click Add account.
Checklist: Register your MT5 account

Part 5

Install and connect

Copy the EA into MetaTrader 5, allow it to reach our licence server, attach it to a chart, and confirm the licence.

Step 14

Download the EA

  1. Open Downloads in your account and click Download Atlas Gold Lab. The .ex5 file goes to your browser's Downloads folder.
  2. Under Backtest settings, download the .set file of the preset you want to start from.
Step 15

Copy the EA into MetaTrader 5

  1. In MetaTrader 5 open File > Open Data Folder (Ctrl+Shift+D). A file window opens on this terminal's own folder.
  2. Open MQL5, then Experts, and copy the .ex5 file into it.
  3. Go back to MQL5, open Presets, and copy the .set file into it.
The MetaTrader 5 File menu with Open Data Folder and its shortcut, Ctrl+Shift+D
The MetaTrader 5 File menu with Open Data Folder and its shortcut, Ctrl+Shift+D
  • On a Mac the same menu opens the folder in Finder.
Step 16

Find the EA in the Navigator

  1. Back in MetaTrader 5, open the Navigator (Ctrl+N).
  2. Right-click Expert Advisors and choose Refresh.
  3. Open Expert Advisors: the EA is listed there, inside any folder you copied it in.
The Navigator with the Atlas EA listed under Expert Advisors
The Navigator with the Atlas EA listed under Expert Advisors
Step 17

Allow algorithmic trading and our licence server

The EA checks your licence over the internet, with this one address only.

  1. Open Tools > Options (Ctrl+O) and go to the Experts tab.
  2. Tick "Allow algorithmic trading".
  3. Tick "Allow WebRequest for listed URL", then add the address below to the list.
  4. Click OK.
https://vjyoxxhjmsdsiaisurcb.supabase.co
Tools, Options, Experts tab: algorithmic trading allowed, DLL imports off, and the licence server address in the WebRequest list
Tools, Options, Experts tab: algorithmic trading allowed, DLL imports off, and the licence server address in the WebRequest list
  • No DLL is needed. Leave "Allow DLL imports" off.
Step 18

Attach the EA to the chart

  1. In Market Watch, right-click your symbol (XAUUSD for gold) and choose Chart Window.
  2. Drag Atlas Gold Lab from the Navigator onto the chart. Any timeframe works.
  3. In the window that opens, Common tab: make sure "Allow Algo Trading" is ticked.
Right-click the symbol in Market Watch, then Chart Window
Right-click the symbol in Market Watch, then Chart Window
The EA window, Common tab, with Allow Algo Trading ticked
The EA window, Common tab, with Allow Algo Trading ticked
Step 19

Load the preset and enter your licence key

  1. Open the Inputs tab, click Load and choose the .set file.
  2. If your symbol has 3 decimals, multiply every point setting by 10 (see Count the decimals).
  3. Paste your licence key into the Licence key input.
  4. Click OK. Then make sure the Algo Trading button in the toolbar is on.
The Inputs tab: the Licence key input, Brick Size in Points, and the Load button
The Inputs tab: the Licence key input, Brick Size in Points, and the Load button

Converts our presets to your symbol's decimals, contract size and lot limits. It opens over the page, so you keep your place.

Step 20

Check the panel says LICENCE OK

A few seconds after you click OK, the panel on the chart shows the licence state.

LICENCE OK
The licence is valid for this account. The EA trades by its settings.
LICENCE VALIDATING
The check is running. Wait a few seconds.
Anything else
The panel and the Experts tab of the Toolbox (Ctrl+T) say why. The live check below and the Troubleshooting part show the fix.
The Atlas Gold Lab panel on the chart showing LICENCE OK and SCANNING FOR OPPORTUNITY
The Atlas Gold Lab panel on the chart showing LICENCE OK and SCANNING FOR OPPORTUNITY

Live check from our licence server

Sign in to see what our server received from your EA. Sign in (opens in a new tab)

Checklist: Install and connect

Part 6

Backtest on your broker

A backtest replays the EA on your broker's past prices. It needs no licence and never touches an account, so test as much as you like.

Step 21

Open the Strategy Tester

  1. In MetaTrader 5 open View > Strategy Tester (Ctrl+R). It opens at the bottom of the window.
  2. On the Settings tab, set the Expert to Atlas Gold Lab.
  3. Set Symbol to your broker's exact symbol. Any timeframe works.
  4. Set Date to a custom period of at least one year, ending recently.
Step 22

Choose realistic conditions

The closer the test is to your real trading conditions, the more its result means.

  1. Modelling: "Every tick based on real ticks". It replays your broker's own recorded prices and spreads. The EA stops a run on any model other than "Every tick" or "Every tick based on real ticks".
  2. Delays: choose a delay close to your real connection (a VPS near the broker is usually under 10 ms).
  3. Deposit and Leverage: the same as the account you will trade.
  4. Optimization: Disabled for a single backtest.
Step 23

Load our preset and run

  1. Open the Inputs tab of the Strategy Tester, right-click the list and choose Load, then pick the .set file.
  2. If your symbol has 3 decimals, multiply every point setting by 10 (see Count the decimals).
  3. Click Start and wait for the run to finish.

Converts our presets to your symbol's decimals, contract size and lot limits. It opens over the page, so you keep your place.

Step 24

Read the result

Open the Backtest tab. Look beyond the net profit:

  1. Save the report: right-click the Backtest tab, choose Report, then HTML.
  2. Upload the .html file on the Backtest page of your account to see every figure and trade, and to compare tests side by side.
Net profit
The money made or lost over the period, after costs.
Maximal drawdown (equity)
The deepest fall from a peak, open trades included. Ask yourself whether you could sit through it.
Profit factor
Gross profit divided by gross loss. Above 1 means the wins paid for the losses.
Recovery factor
Net profit divided by the maximal drawdown. Higher means the profit came with less pain.
Total trades
How many trades the result rests on. A handful of trades proves little.
Maximal consecutive losses
The longest losing run, in trades and in money.
Checklist: Backtest on your broker

Part 7

Optimise, the right way

Optimisation runs the same backtest many times with different settings. It is a tool for understanding the EA on your broker, not a search for the biggest number.

Step 25

Backtest or optimisation?

  • A backtest answers: how did these exact settings do on my broker?
  • An optimisation answers: how do the results change when a setting changes?
  • We do not prescribe one set of settings for you. Your broker, account size, symbol and tolerance for risk decide what fits.
Step 26

Set up the Strategy Tester for optimisation

Start from the same settings as your backtest (Part 6), then choose the method and the criterion we recommend.

  1. Open View > Strategy Tester (Ctrl+R) and the Settings tab. Set the Expert, your exact symbol, the dates, "Every tick based on real ticks", your deposit and leverage, as for the backtest.
  2. Find the Optimization line near the bottom of the Settings tab. Open its first drop-down list and select "Fast genetic based algorithm".
  3. Open the drop-down list next to it, the optimisation criterion, and select "Recovery Factor max".
Fast genetic based algorithm
Instead of testing every combination, MetaTrader 5 tests a sample, keeps the best and breeds new combinations from them. It finds strong areas in a fraction of the time, even with thousands of combinations.
Recovery Factor max
Ranks every result by net profit divided by maximal drawdown. It rewards settings that earn without deep falls, not the ones that made the most money by taking the most risk.
The Strategy Tester Settings tab: the EA, XAUUSD.ecn on M1, the dates, Forward No, every tick based on real ticks, Fast genetic based algorithm and Recovery Factor max
The Strategy Tester Settings tab: the EA, XAUUSD.ecn on M1, the dates, Forward No, every tick based on real ticks, Fast genetic based algorithm and Recovery Factor max
Step 27

Load the preset and choose what to vary

  1. Open the Inputs tab of the Strategy Tester. Right-click the list, choose Load and pick the preset .set file, so every input starts from the preset.
  2. Tick the box in the first column of each input you want to vary. Only ticked inputs change; the others keep the preset value.
  3. For each ticked input, fill in Start, Step and Stop. For example Start 400, Step 50, Stop 800 tests nine brick sizes. These numbers only show how to fill the columns; they are not a recommendation.
  4. Keep it to one or two inputs at first: every extra input multiplies the number of combinations.
The Inputs tab with Brick Size in Points ticked: Start 400, Step 50, Stop 800, which makes 9 steps
The Inputs tab with Brick Size in Points ticked: Start 400, Step 50, Stop 800, which makes 9 steps

Converts our presets to your symbol's decimals, contract size and lot limits. It opens over the page, so you keep your place.

Step 28

Run the optimisation

  1. Click Start. The progress bar at the bottom shows the passes done.
  2. Let it finish. The genetic method stops by itself once new generations no longer improve.
  • A long period with real ticks can take a while. Your computer's cores all work on it; MetaTrader 5 can also use the MQL5 Cloud Network, which charges for its time, so leave it off unless you mean to use it.
Step 29

Review the results

  1. Open the Optimization Results tab. With Recovery Factor max chosen, the Result column shows the recovery factor of each pass. Click its header to sort the results, best first.
  2. Read each row together with its Profit, Total trades, Profit factor and Drawdown % columns, not the ranking alone.
  3. Look at the optimisation graph that opens with the results: every pass is a dot, from red (weak) to green (strong). A broad green area is more trustworthy than a lone green spike.
  4. Double-click a row: MetaTrader 5 runs a single backtest with exactly those settings, so you can read its full report.
  5. To keep those settings, open the Inputs tab, right-click the list and choose Save, and give the .set file a clear name.
The Optimization Results tab sorted by Result, with the Profit, Total trades, Profit factor, Expected payoff and Drawdown % columns
The Optimization Results tab sorted by Result, with the Profit, Total trades, Profit factor, Expected payoff and Drawdown % columns
The optimisation graph: each pass is a dot coloured from red to green by its recovery factor
The optimisation graph: each pass is a dot coloured from red to green by its recovery factor
  • The screenshots show an example optimisation of Atlas Gold Lab on our test broker, not a recommendation. Past results do not guarantee future results.
Step 30

A sensible order to explore

Change one or two settings at a time, so you can see what each one does.

  1. Brick size first: it decides how often the EA trades and how far each step reaches.
  2. Then the lot, the lot multiplier and the maximum steps: they decide how much money each cycle risks.
  3. Then the take profit, stop loss and reverse distances, in bricks.
Step 31

Avoid overfitting

Overfitting means tuning the settings so closely to the past that they fail on the future.

  • Prefer a plateau to a peak: settings whose neighbours also do well are more robust than one lucky value.
  • Check the chosen settings on a period the optimisation never saw: optimise on one period, then run a normal backtest on a later one. If the result collapses, the settings were fitted to noise.
  • Insist on enough trades and a drawdown you could live with.
  • Keep the settings simple. Every extra setting you tune adds a way to fit the past.
Checklist: Optimise, the right way

Part 8

Demo testing (strongly recommended)

We strongly recommend testing your configuration on a demo account before considering live trading. This allows you to evaluate the Expert Advisor under your broker's trading conditions without risking real capital.

Step 32

Run it on a demo account

  1. Register a demo account on your licence and attach the EA with your chosen settings.
  2. Let it run for a few weeks, through different market conditions.
  3. Compare it with your backtest on your Trading Floor: trades, drawdown and costs.
Step 33

Before you go live

If you decide to trade live, go through this list before you attach the EA to a real-money account.

  • The real account is registered in a live slot on your licence.
  • You use the settings you tested, on the same symbol, with the decimals checked.
  • The lot is sized to money you can afford to lose, including the largest ladder step (see the calculator).
  • The terminal runs on a VPS or a computer that stays on, with Algo Trading on.
  • You know what the EA does around news and weekends, and you check it every day.

Converts our presets to your symbol's decimals, contract size and lot limits. It opens over the page, so you keep your place.

Checklist: Demo testing (strongly recommended)

Part 9

Troubleshooting

The common problems, what causes them and how to fix them.

Step 34

Common problems and their fixes

The EA is not in the Navigator

It was copied into another folder. Open File > Open Data Folder in this terminal, put the .ex5 in MQL5 > Experts, then right-click Expert Advisors in the Navigator and choose Refresh.

"NETTING account: only one trading session can run"

Your account is a netting account and more than one session is on. Set Enable session to false for sessions 2 to 6, then attach the EA again.

"NETTING account: Close Original Position on Reverse must be true"

On a netting account every reverse order must close the open position. Set Close Original Position on Reverse to true, then attach the EA again.

The panel says the web address is not allowed

Add the licence server address in Tools > Options > Experts > Allow WebRequest for listed URL, exactly as shown in the Install chapter, then remove and attach the EA again.

Invalid licence key

Copy the key again from the Licence page, with no space before or after it, and check it is the key of this EA.

Wrong product

The key belongs to another Atlas product. Each EA has its own key on the Licence page.

Account not registered

Register this login and the exact server name on the Licence page. The live check in the Install chapter shows the server name the EA sent; it must match letter for letter.

Wrong slot type

A real account must be in a live slot, a demo account in a demo slot. Remove it and add it again under the right type.

Licence inactive

The subscription has ended or a payment failed. Check the Billing page.

The EA is attached but never trades

Check the Algo Trading button is on, the trading hours in the inputs (they follow your broker's server clock), and the brick size: on 3-decimal gold it must be ten times our 2-decimal presets.

A backtest on the brick chart is refused

Backtest on the real symbol (for example XAUUSD), with "Every tick based on real ticks". The brick chart is drawn by the EA and cannot be traded.

Step 35

Still stuck? Open a ticket

Open a support ticket from your account. You can attach screenshots and follow the whole conversation there.

  • Which EA and its version, from the panel.
  • The last four digits of the MT5 account and the server name.
  • A screenshot of the panel and of the Experts tab.
  • Never send your trading account password or your full licence key.

You are set up

Keep the order: your own backtest, then weeks on demo, then a small live start. Follow every account on your Trading Floor.

Symbol Settings Calculator

From your Specification
From your settings (.set file)

Example values. Type the ones from your preset or your own settings.

One point on your symbol
0.01
Use this many points
100
The price move it stands for
1
Money per point, 1 lot
$1.00
Money per brick, 1 lot
$100.00
Commission per round trip, first lot
$0.00
The ladder, every step
StepLot sentMoney per brickBroker limits
Entry0.01$1.00OK
10.01$1.00OK
20.01$1.00OK
30.01$1.00OK

The spread is 20% of a brick. Above 10%, costs eat much of every move: consider a bigger brick or a lower-spread account.