Blog: Expert Advisors with risk under control

Practical guides for anyone who runs, or wants to run, an Expert Advisor (EA) on MetaTrader 5. We do not promise returns: we explain how to check whether an automated system makes sense, how to size risk, and which mistakes cost traders their accounts and funded challenges.

The articles are written by Luigi Buigues Morillo, who develops EAs and tests them on his own accounts. When we give figures, we explain where they come from; when a rule depends on a specific prop firm, we point you to its current rulebook. If you spot a mistake, write to us from the contact section and we will fix it.

If you are starting from scratch, we suggest this order: first how to validate a system, then how to size risk, and finally the specific rules of funded challenges. At the end you will find articles with real data from our own accounts, which put all of the above to the test.

1. Validate an EA before risking money

Backtesting vs Forward Testing on MT5: What Each One Proves

What a backtest proves and what only shows up when trading a demo with real execution. Covers the Strategy Tester options that change results the most (real-tick modelling, random delay, commissions and forward period), how many trades you need before drawing conclusions, and a table of warning signs for comparing the two.

Monte Carlo Validation for EAs: What It Measures, With Real Data

The difference between shuffling and resampling trades, how to do it with an MT5 trade list, and an example with 242 real trades from a prop firm evaluation: with negative expectancy, only 3 in 100 simulated paths end positive. Monte Carlo measures dispersion; it does not create an edge.

2. Risk and position size

Dynamic Lot Sizing for Prop Firm EAs: Formula and Examples

The formula that makes every trade risk the same share of the account, with two worked examples (EURUSD and XAUUSD), rounding to the broker's volume step and the caps an EA must respect. Includes a table of how much the account loses after 5, 10, 15 and 20 consecutive stops at 1% and 0.5% risk.

Grid vs No-Grid Expert Advisors: the Risk in Numbers

A worked example of how floating loss grows in a grid that adds 1 lot every 20 pips: 3% of the account after a 100-pip adverse move and 11% after 200. Compares it with a fixed-stop system, explains why grids look better in backtests and gives four checks to spot one before buying an EA.

EA Without Martingale: Why an Ordinary Streak Blows the Account

The maths of martingale level by level: starting at 0.1% risk, ten losses in a row take the account. And it is not theory: on our live accounts, without martingale, the worst streaks were 9, 12 and 20 losses in a row.

3. Strategies

Breakout Strategy in EAs: How It Works and What We Saw Live

The parts of a breakout EA, why false breakouts are its main problem and which filters help. Includes what happened to our breakout EAs live: a 44% win rate versus 59% in backtests, with execution that was not the problem.

4. Prop firm challenges

How to Pass an FTMO Challenge with an EA: a Five-Phase Plan

A plan with a go/no-go criterion for each phase: turning the rulebook into inputs, setting a risk budget compatible with the overall limit, testing on demo under the same conditions, what not to do during the challenge, and how to react on a day of several losses in a row.

Prop Firm Rules an EA Can Break Without You Noticing

Seven rules that fail EAs, ordered by frequency: daily loss with floating P/L, combined exposure, news, consistency, lot size, trading across accounts and technical glitches. Each with its setting and a checklist table before you start.

5. Real data from our own accounts

Articles based on the MetaTrader 5 history reports of our own accounts (two live RoboForex accounts and a prop firm evaluation). We publish negative results too, because they teach more than a backtest.

Our EAs on Real Accounts: 901 Trades, Unvarnished

The core article of this section. Three accounts, 901 trades and a profit factor of 0.70–0.76 versus 1.6–1.7 in backtests. It explains why the cause was not costs or slippage but how often entries reached their target, and why having many EAs did not mean having a diversified portfolio.

Count Signals, Not Trades: How EA Statistics Get Inflated

When several EAs or accounts repeat the same entry, counting trades overstates the evidence. In our data, 896 trades were really 536 independent signals. Includes a five-step method to group trades and measure them in R.

Picking EAs by Their Track Record: We Tested It and It Failed

We ranked EAs by their live result in the first part of the period and measured the second: the best became the worst. It explains regression to the mean and which criteria to use instead of switching off "this month's worst".

A €115 Account and the Minimum Lot: the Hidden Risk

With €115 and 0.01 lots, each stop cost about 3% of the account and up to 9 positions were open at once. Includes the formula for the minimum capital an EA needs to trade at a sensible risk.

Phase 1 of a $50,000 Prop Firm Challenge: 1.7% Drawdown and Still Impossible

A real evaluation that never came near the loss limits and still lost $678 over 271 trades. It breaks down what drove it (early experiments, commissions, one 2.58-lot trade) and what to demand before paying for a challenge.

Risk warning. Leveraged Forex and CFD trading carries a high risk of losing money rapidly and is not suitable for everyone. The content of this blog is educational and is not financial advice. Past or simulated results do not guarantee future results. Despite the domain name, this website does not offer or promote binary options.