All posts
The Retrace Team6 min read

MAE and MFE: what your trades did while you were in them

Your entry and exit only tell half the story. Maximum adverse and favourable excursion show how close winners came to stopping out and how much losers once had — and how to test a management rule before you adopt it.

MAE
MFE
exits
stop-loss
trade-management
metrics
MAE and MFE: what your trades did while you were in them

A trade record usually holds two prices: where you got in and where you got out. Everything that happened in between disappears. But that in-between is where most of the questions about stops and targets get answered. Did that winner nearly stop you out first? Was that loser up 1.5R before it turned around? You cannot tell from the entry and exit.

Two numbers capture it: MAE and MFE.

Definitions

  • MAE — maximum adverse excursion. The furthest price moved against you while the trade was open.
  • MFE — maximum favourable excursion. The furthest price moved in your favour while the trade was open.

Both are measured from your entry. They are most useful expressed in R — divide each by your stop distance — because then they are comparable across trades of different sizes and instruments.

A worked example

You buy EURUSD at 1.0850 with a stop at 1.0830 — a 20-pip stop, so 1R = 20 pips. Your target is 1.0890, which is +2R.

While the trade is open, the lowest price is 1.0838 and the highest is 1.0897. You exit at the target.

  • MAE = 1.0850 − 1.0838 = 12 pips = 0.6R
  • MFE = 1.0897 − 1.0850 = 47 pips = 2.35R
  • Result = +2R

So price came 60% of the way to your stop before going your way, and went a little beyond your target before turning.

Four patterns to look for

Collect MAE and MFE across fifty or more trades and patterns appear that a list of results cannot show.

1. Winners that nearly stopped out

If many of your winners have an MAE of 0.8–0.95R, your stop is only just surviving. It may mean the stop is sitting where normal noise reaches, and you are one tick of slippage away from turning winners into losers. Look at where those stops were placed relative to structure.

2. Winners that barely went against you

The opposite: if your winners almost never show an MAE beyond 0.3R, your stop may be wider than it needs to be. A tighter, still-structural stop would mean a larger position for the same risk. Be careful here — the next pattern explains why.

3. Losers that were once winners

Look at your losing trades and check their MFE. A loser with an MFE of 1R or more was, at some point, a full risk unit in profit and then went all the way to the stop. A handful of those is normal. A lot of them suggests a management problem, and it is the pattern traders most want to fix — usually with a rule like "move the stop to breakeven at +1R".

4. Winners that ran far past your exit

If your MFE is routinely double your exit, you may be leaving money on the table. But treat this one with the most suspicion. MFE is the best price that existed, measured with hindsight. Nobody exits at the exact top, and a target set at the average MFE will be missed far more often than it is hit.

Test the rule before you adopt it

MAE and MFE are most valuable for testing a management rule against your own history before you trade it. The breakeven rule is the classic case, because it looks like free money and often is not.

Say your last 45 trades were 25 winners at +2R and 20 losers at −1R: a net of +30R.

You look at the losers and find that 7 of them had an MFE of at least 1R before turning round. With a "move to breakeven at +1R" rule, those 7 would have closed at 0R instead of −1R. That saves 7R.

Now check the winners. Of the 25, 5 reached +1R, came back to the entry price, and only then went on to the target. Under the breakeven rule, those 5 would have been stopped out at 0R instead of making +2R. That costs 10R.

Without ruleWith breakeven at +1R
20 winners that never revisited entry after +1R+40R+40R
5 winners that revisited entry after +1R+10R0R
7 losers that first reached +1R−7R0R
13 other losers−13R−13R
Net+30R+27R

45 trades plotted by MAE and MFE: breakeven at +1R saves 7 losers (+7R) but stops out 5 winners (-10R), net +30R becomes +27R

The rule felt protective and would have cost 3R. With different numbers it could just as easily have helped — the point is that you can find out from your own trades in an afternoon instead of learning it over three months of live trading.

One caveat: to know whether a winner came back to entry after reaching +1R, you need the order of events, not just the two extremes. Check those trades on the chart.

Caveats worth knowing

  • Candle data is one price stream. Your fills might differ slightly, especially for shorts around wide spreads or news. Treat a few ticks either side as noise.
  • MAE and MFE describe the past. They tell you what your trades did, not what the market will do. Use them to generate rules worth testing, then test them forward.
  • Small samples mislead. Ten trades with a high MFE is an anecdote. Wait until you have enough trades in a setup for a pattern to be real — and analyse setups separately, because a breakout and a range fade will have completely different MAE profiles.

In Retrace

You do not need to record any of this by hand. When Retrace charts a trade, it computes MAE and MFE from candles over the time you held the position and shows them on the trade page, in price terms — divide by your stop distance to get R. Because each trade is drawn on real candles with its entry, scale-ins, partials and exit marked, you can also see the order of events, which is what the breakeven test above depends on.

Entries and exits tell you what happened. MAE and MFE tell you what almost happened — and that is usually where the next improvement to your stops and targets is hiding.