Risk warning: trading gold carries a high risk of loss. Gold Position Manager is software: it works only while MetaTrader 5 runs on your PC or VPS, and it can stop. Always be ready to manage your trades yourself. Risk disclosure

Home/Learn/What is an Expert Advisor?

What is an MT5 Expert Advisor? Trading robot vs trade manager

An Expert Advisor (EA) is a program that runs inside MetaTrader 5 and can open, change and close trades for you. EAs come in two very different kinds. A trading robot decides by itself when to buy and sell. A trade manager leaves that decision to you and looks after the trade you opened: its stop loss, take profits and break-even.

Key points

  • An EA runs in the MT5 desktop program on Windows or on a Windows VPS, and only while MT5 is running.
  • A trading robot makes the entry decisions. A trade manager does not: you decide, and it carries out your exit rules.
  • Robots are often sold on backtests, which can look far better than live trading.
  • A trade manager cannot turn a bad entry into a good one. Its job is to make your exits consistent.

What an Expert Advisor is

MetaTrader 5 runs three kinds of programs written in its own language, MQL5. They are easy to mix up:

ProgramWhat it doesCan it trade?
IndicatorDraws on the chart, for example a moving average or the ATRNo
ScriptRuns once when you drop it on a chart, for example "close all trades", then stopsYes, once
Expert AdvisorKeeps running on its chart, reacts to every price change and can open, change and close tradesYes, all the time

You receive an EA as an .ex5 file, copy it into MT5's Experts folder and attach it to a chart (see how to install an EA in MT5). From then on it works on every new price, as long as MT5 is running and Algo Trading is switched on. Because it runs inside your own MT5, a genuine EA never needs your trading password.

Two kinds of EA: trading robot and trade manager

The word "EA" covers programs with completely different jobs. One question separates them: who decides when to enter a trade?

Trading robotTrade manager
Who decides to enterThe program, from fixed rulesYou
What it doesOpens, manages and closes trades by itselfPlaces the stop loss, takes profit in steps, moves the stop to break-even, closes on your command
What you must trustThat its strategy keeps working in future marketsThat it carries out your rules exactly, every time
Main risksThe strategy stops working, over-fitted backtests, risky money managementWrong settings, a PC or connection that stops, broker limits
SuitsTraders who want a hands-off system and can judge oneTraders who choose their own entries and want disciplined exits

Many tools sit in between. A trading panel with BUY and SELL buttons is still a trade manager when every trade starts with your click. A "semi-automatic" tool that opens trades on its own signal is a robot for that part. Ask the question above for each function.

Trading robots: what to watch for

Some robots are built and tested with care, and some traders use them well. But robots are also where most disappointments with trading software happen, so look closely:

  • Backtests are not live results. A backtest replays past prices. With enough tuning almost any rule can look perfect on the past (this is called over-fitting) and then fail on new prices. Spread, slippage and commission are also often lower in a test than in real trading, especially on gold.
  • Smooth curves can hide big risks. Grid and martingale robots add trades, often bigger ones, when the price moves against them. Their account curve can rise for months and then lose most of the account in one strong trend.
  • No stop loss is a warning sign. A robot that "never takes a loss" usually keeps losing trades open until they come back, or until they do not.
  • Ask for a long live record. Months of real-account results in calm and wild markets say more than any backtest. Even then, past results do not promise future ones.
  • Be careful with big promises. The US regulator CFTC warns that claims of huge or guaranteed returns from trading bots are a red flag (see the sources below).

Trade managers: what they do and what they don't

A trade manager makes no forecast. It does the work that comes after your decision to trade, and it does it the same way every time:

  • places the stop loss the moment the trade opens, so no trade runs without protection;
  • closes parts of the trade at several take-profit levels;
  • moves the stop loss to break-even by a rule you set;
  • works out the lot size from the money you want to risk;
  • applies the same rules to several trades at once.

Its value is consistency. Most traders know their plan, but under pressure they move the stop away, close a winner too early or forget to secure profit. A trade manager takes those moments away. What it cannot do: improve a bad entry, promise a fill at an exact price, or work while MT5 is closed. Exits that the program carries out itself need MT5 running; only orders already stored at the broker keep working (see do EAs work when your computer is off?).

How to judge any EA before you use it

  1. Read what it does not do. A serious seller states the limits: symbols, account types, and what stops when the PC is off.
  2. Test it on a demo account first, at the broker you trade with.
  3. Read the log. The Experts tab in MT5 shows every action an EA took. Compare it with what the seller describes.
  4. Check the permissions it asks for. Most EAs do not need "Allow DLL imports"; allow it only for software you trust. Never give anyone your trading password for an EA.
  5. Check the buying terms: trial, refund, how many accounts, and what happens to open trades if the licence ends.
  6. Look for honest marketing: no profit promises, no "never loses", no pressure to buy now.

For trade managers, we wrote a full checklist for choosing a gold trade manager.

Where Gold Position Manager fits

Gold Position Manager is a trade manager made only for gold (XAUUSD). You decide every entry: in MT5, on your phone, or with the BUY and SELL buttons on its panel. It never opens a trade by itself, gives no signals and makes no predictions. Once a trade is open, it places the stop loss, closes parts at up to ten take-profit steps and moves the stop to break-even by your rules, and the PLAN tab shows those rules in plain words. It needs no DLL. See all features.

Questions

Is an Expert Advisor the same as a trading robot?

Not always. Every trading robot in MT5 is an Expert Advisor, but not every Expert Advisor is a robot. A trade manager is also an EA, yet it leaves the decision to enter a trade to you.

Are trading robots profitable?

Some may be for a while, many are not, and no robot can promise a result. Judge a robot by a long live record in different market conditions rather than by a backtest, and test it on a demo account first.

Can a trade manager open trades?

Only when you tell it to, for example with a BUY or SELL button on its panel. It does not decide to enter a trade by itself.

Do I need programming skills to use an EA?

No. You copy the file into MT5, attach it to a chart and choose its settings in a window. Only writing your own EA needs programming in MQL5.

Sources

Risk note

This guide is education, not financial advice. No EA, trading robot or trade manager can guarantee a profit or prevent losses. Trading gold carries a high risk of loss.