Metrics

MAE and MFE in Trading: What They Measure, How to Read Them and How They Help You Set Stops

Published December 4, 2026 · By the AUREUM team · 7 min read

A trade's final result does not tell the whole story. A trade that closed at +€50 may have been at −€200 first, and one that closed at a loss may have been well in profit along the way. MAE and MFE measure that path in between, and they are among the most useful tools for checking whether a strategy's stops and targets make sense.

What MAE and MFE are

They are measured trade by trade, in money, in points or in multiples of the initial risk (R). John Sweeney popularised the idea in the 1990s, and many analysis platforms now use it to study how a strategy "breathes" between entry and exit.

An example with figures

Three 0.10-lot gold trades (made-up example)
TradeMAEMFEFinal result
A−$40+$310+$300
B−$180+$60+$50
C−$200+$250−$200

Trade A is the ideal: it barely went against you and closed near its best point. Trade B won, but it nearly hit a $200 stop: a fragile result. Trade C hurts most: it was $250 in profit and ended up losing the full stop. Looking only at the final result hides these three stories.

How to read them: scatter plots

The usual approach is to plot each trade as a point: on one axis its MAE (or MFE), on the other its final result. With hundreds of trades, patterns appear that a list does not show:

What MAE says about your stop loss

If 90% of winners never went more than $80 against you, a $300 stop may be wider than needed: once price is more than $80 against you, the chance of ending in profit is low in that sample. Conversely, if many winners had an MAE close to the stop, tightening it would cut good trades. We cover stop types in stop loss, take profit and break even.

Be careful: a tighter stop also changes the lot size you can use for the same risk and how often you lose, so its effect on drawdown must be checked with another backtest, not assumed.

What MFE says about your take profit

The MFE distribution shows how far trades usually go. If half the trades reach +2R in floating profit but the target is at +4R, many will turn around first. If almost none goes beyond +1.5R, a +3R target is rarely hit. We relate it to win rate in win rate and risk/reward ratio.

Where to see them in MetaTrader 5

The MT5 Strategy Tester report includes, on the Backtest tab, the correlations between profit and MFE, profit and MAE, and MFE and MAE, along with scatter plots of both measures. For them to be reliable, the backtest must use real ticks: with open-price or OHLC modelling, the path inside each candle is an approximation. We explain it in how to backtest in MT5 and in how to read the Strategy Tester report.

Limits and common mistakes

Frequently asked questions

What is MAE in trading?

Maximum adverse excursion: the largest floating loss a trade had while it was open, even if it later closed in profit.

What is MFE in trading?

Maximum favorable excursion: the largest floating profit a trade reached before it was closed.

What are MAE and MFE used for?

To check whether a stop loss is too wide or too tight and whether the take profit sits where trades usually get to, using each trade's real path rather than just its result.

Where can I see MAE and MFE in MetaTrader 5?

In the Strategy Tester report, Backtest tab, which shows correlations and scatter plots for both measures.

Can I set my stop using MAE alone?

It is not advisable: fitting it exactly to the history is overfitting. Any change should be checked with a new backtest and, ideally, out-of-sample data.

Risk warning

The figures in this article are made-up examples to explain the concepts. Leveraged gold trading, which on MetaTrader 5 brokers is usually done with CFDs, carries a high level of risk and you can lose some or all of your capital. Past or simulated results do not guarantee future results. This content is educational and is not financial advice.

AUREUM: automated rules on gold, with its backtest published

Software that runs two strategies on XAU/USD in your own MetaTrader 5 account, where every trade opens with its loss and profit limits already calculated. Its 2024–2026 backtest, with both strategies together, is published with its drawdowns: a maximum drawdown of 22.35% across 345 trades. It’s a simulation, not a live account, and trading leveraged CFDs can lose you money.

See the full report →