· 10 min read· Updated October 2026InstitutionalAutomationRisk Management

Algo Trading: What an Expert Advisor Can and Cannot Do

An expert advisor automates execution against rules you have already decided — entry, stop, size and exit — which means it removes hesitation, size drift and revenge trading from your process, and it cannot remove market risk, predict direction, or tell you when the edge behind those rules has stopped working.

I have spent 36 years on institutional FX desks and have mentored more than 1,000 traders since 2009. In that time I have seen a lot of automated systems: the ones banks ran, and the ones retail traders buy from a marketplace for a few hundred dollars. The gap between them is rarely the code. It is what the code has been asked to do.

Most retail traders expect an EA to answer the question "where is the market going". That is the one question automation is worst at. The question a desk asks is different: "given that I cannot know, what is the size, and what ends the trade?" Automate that and the software earns its place. Automate a prediction and you have built a machine that is confidently wrong on a schedule.

Here is what an expert advisor genuinely does, the three things it cannot do, and the arithmetic that separates a system worth running from one that empties an account while its backtest still looks beautiful.

What an expert advisor actually automates

Three decisions, and only three:

  1. Whether to take the setup — the rule that fires.
  2. How much to risk — the size calculated from the stop distance.
  3. What happens after entry — the stop, the target, the trail, the exit.

Everything else people attribute to EAs is either marketing or a particular implementation of one of those three.

On a desk the work is deliberately separated. One group forms a view, another sizes and executes it, a third measures what happened. Nobody's job is to be right. The job is to make the risk decision identically every single time, including on the day the person making it is tired, angry, or has just lost three in a row.

That is where the value sits. Not in intelligence — in the removal of discretion at the exact moments discretion is most expensive. A trader who moves a stop by hand does it for one reason: the loss has become emotionally real and the rule has become optional. An EA has no opinion about the loss. It applies the rule.

The second honest benefit is coverage. Software can watch forty instruments at once for a condition and rank what it finds. A person at a screen can watch four properly. That asymmetry is real money on a desk, and it is the reason desks automate in the first place.

The three things an EA cannot do

It cannot remove risk. Trading involves risk, and the trade still goes against you. Automation changes who executes the decision, not the distribution of outcomes.

It cannot predict. An EA executes a rule. The rule is a probabilistic statement — this pattern, across a large sample, produced a certain expectancy. That says nothing about the next trade. Any EA sold on accuracy is being sold by someone who either does not understand the arithmetic or is relying on you not understanding it.

It cannot tell you the edge has gone. Markets change regime: volatility compresses, correlations flip, a central bank changes its reaction function. A rule that worked for four years can quietly stop working, and the software will keep executing it with perfect discipline. Discipline applied to a dead edge is just a faster way to lose money. Detecting that change is a human job, and it needs a record to work from.

There is a fourth failure people miss. An EA cannot compensate for bad settings. Give a grid or averaging system a wide enough stop and enough margin and it will produce a smooth equity curve for months. It is not managing risk; it is deferring the loss. One gap through the average price and the account is finished in a single session. The curve was never a record of risk — it was a record of risk that had not been paid yet.

Why the backtest is not the evidence

A backtest proves one thing: the rule was profitable on data you already know the answer to. That is not nothing. It is also not evidence it works forward, and the gap between the two is measurable.

Costs. Take a system with 1,200 trades, a 62% win rate, an average win of 18 pips and an average loss of 20 pips:

  • Gross expectancy = (0.62 x 18) - (0.38 x 20) = +3.56 pips per trade
  • At a modelled 0.8 pip round-trip cost = +2.76 pips
  • At a realistic 3 pips, once spread widening and stop slippage are included = +0.56 pips

Same system. The edge went from comfortable to almost nothing on a cost assumption. This is illustration arithmetic, not a projection of results — but it is the most common reason a profitable backtest becomes a flat live account. If a backtest does not state its spread, commission and slippage assumptions, it is not a result. It is a hypothesis.

Sample size. Forty trades is not a sample, it is an anecdote with a chart. A 62% win rate across 40 trades carries a standard error of about 7.7 percentage points, so the honest 95% range is roughly 47% to 77%. A system that "wins 62%" over 40 trades cannot be distinguished from one that wins less than half. You need a few hundred trades before the number means anything.

Parameters. Every setting you tune is a chance to fit noise. A rule of thumb worth using: at least 30 to 50 trades per free parameter, and a walk-forward test where the system is optimised on one period and then run untouched on the next.

Drawdown accounting. Ask whether the maximum drawdown counts open positions or only closed ones. Averaging systems routinely report a small closed-trade drawdown while carrying an open loss several times larger. The number that matters to your account includes open equity.

Two systems, one win rate, two different outcomes

Risk settings, not entries, decide whether you survive a normal losing run. Illustration only, fixed fractional risk, 50% win rate:

  • A run of eight consecutive losses is more likely than not somewhere inside 200 trades. That is not a broken system. That is the distribution.
  • At 1% risk per trade, eight losses take the account down 7.7% (0.99 to the power of 8). Survivable. You keep trading.
  • At 3% risk per trade, the same eight losses take it down 21.6% (0.97 to the power of 8). On a funded account with a 10% maximum loss, that run has ended the evaluation.

Identical entries. Identical win rate. One account carries on and one is closed, and the entire difference is a number typed into a settings field. That is why the first question about any EA is not "what is its win rate" but "what is the fixed risk per trade, and what happens to size after a loss".

What to set before you switch it on

None of this is optional, and every item is checkable before the first trade:

  • Fixed fractional risk. 0.5% to 1% per trade on a funded account. Set it in the software, not in your head.
  • A daily loss cap. A hard number — 2% to 2.5% — at which the system stops for the day. Not a reminder. A stop.
  • Maximum open risk, counting correlation. Long EUR/USD plus long GBP/USD plus short USD/CHF is one dollar bet, not three trades.
  • An instrument list and session windows. Restrict it to the instruments and hours its edge was measured on. Everything outside that is untested.
  • A news policy. Either flat before scheduled high-impact data, or a documented decision to hold through it. Never an accident.
  • A kill switch you have tested. Know how to flatten and disable, and confirm it works before you need it.
  • A VPS and a monitoring routine. MT5 has to be running for a trade to be placed. Check daily; a dead connection is a position with no management.
  • The journal. If trades are not recorded automatically, you cannot answer the only question that matters in six months: is this still working?

If that feels like too much administration, run the system in alert-only mode and place the trades yourself. Alert-only is not the lesser option. It keeps a human in the loop at the exact point where judgement still pays.

Where automation belongs in a professional process

An expert advisor is one function inside a system, and on its own it is the least interesting of them. The order matters.

Context first. A rate tracker and a scenario calendar tell you what kind of day it is before the software says anything. An EA does not know a central bank meets in ninety minutes.

Then the setup. Prime Time Pro runs as an expert advisor on MT5 and watches 41 instruments for divergence, zone crosses and momentum shifts, grading what it finds into three stages — L1 reversal, L2 trend building, L3 confirmed. You choose the stage that suits how you trade. It can execute to your risk settings, or alert you and leave the entry to you.

Then the record. Automatic journaling through the MT5 bridge captures entry, stop, target, exit and result, and the analytics compute expectancy, profit factor and streak data from your actual trades. This is the part that lets you answer the edge question in six months instead of guessing at it.

Then the review. The Masterclass explains why the setups exist and how a desk decides which to take, which is what stops the software being a black box you trust or distrust for no stated reason. Live sessions put a person on the other side of the screen on a schedule.

One caution, stated plainly because it is our product: this loses trades like any other method. A licence running on your own MT5 account with your own broker does not change the market, does not remove risk, and does not create an edge where none exists. Past performance is not indicative of future performance.

How to vet any EA in ten minutes

Ask these of any system, ours included. The answers separate a tool from a story.

  1. Show the full trade history, with costs modelled. Spread, commission and slippage stated, not assumed away.
  2. How many trades, over how long, on how many instruments? Under 200 trades is a claim, not a result.
  3. Was it walk-forward tested, or optimised on the whole period? Ask for the out-of-sample segment explicitly.
  4. What is the maximum drawdown including open positions?
  5. Does it use fixed lots, or does size increase after a loss? If size increases after losses you are looking at a martingale, and the smooth curve is borrowed time.
  6. Does it trade through scheduled news? Whatever the answer, it should be a decision rather than a default.
  7. What happens on a weekend gap through the stop? The honest answer involves slippage and a loss wider than planned.
  8. Is it broker-dependent? A system that only works on one spread profile is a system that works at one broker.

A vendor who answers four of those with numbers deserves your attention. A vendor who answers none and shows you a screenshot of a rising curve has told you what the product is.

If you want to know how you actually behave around risk — the behaviour an EA can enforce but cannot teach — start with the free assessment. Fifteen questions, under three minutes, scored against the framework we ran on the desk.

The bottom line: An expert advisor is a discipline machine, not a prediction machine. It executes your rules identically and removes the moments where discretion costs the most, and it cannot remove risk, forecast direction, or notice that the edge has gone. Set the risk inside the software, cap the day, record every trade, and review the data on a schedule. Trading involves risk, and past performance is not indicative of future performance.

Written by Brad Gilbert, Founder & Head Trader at Traders4Traders — 36 years of institutional FX experience, mentoring 1,000+ traders since 2009.

Frequently asked questions

What is an expert advisor in trading?

An expert advisor (EA) is software that runs on MetaTrader and automates execution against rules you set - when to enter, how much to risk based on the stop distance, and how the trade is managed or closed. It does not predict the market or remove risk.

Can an expert advisor guarantee profits?

No. An EA executes a rule, and a rule is a probabilistic statement about a large sample, not a forecast for the next trade. Trading involves risk and past performance is not indicative of future performance.

How many trades does an EA backtest need to be meaningful?

A few hundred. A win rate measured over 40 trades has a standard error of roughly 7.7 percentage points, so a claimed 62% cannot be distinguished from under 50%. Use at least 30 to 50 trades per optimised parameter and a walk-forward test.

What is the biggest risk with automated trading?

Position sizing and averaging systems. A grid or martingale EA can show a smooth equity curve for months while carrying a large open loss, and a single gap through the average price can close the account in one session.

Is algo trading better than trading manually?

It is better at consistency and coverage - it applies the same size and stop every time and can monitor dozens of instruments. It is worse at context and at noticing that a strategy has stopped working, which remain human jobs.

Keep reading

Prime Time Pro - the desk execution engineRead more →Explore the Game-Changer EcosystemRead more →The Masterclass - why the setups existRead more →

Want the method behind the posts?

The Game-Changer Trading System gives you the same tools the desk uses every day.

Explore the Trading System →Take the assessment