Metrics

EXITING TOO EARLY? MFE AND MAE WILL TELL YOU.

Two numbers that tell you whether you are exiting too early, holding losers too long, or putting your stop in the wrong place.

MAE (maximum adverse excursion) is the most a trade went against you during its lifetime. MFE (maximum favourable excursion) is the most it went in your favour.

You can also work both out for the entry day alone: how far the trade went against you and in your favour on the day you bought it. That's a useful early read, because trades that work tend to work from day one.

How to calculate them

For a long trade:

For a short, flip them: MFE uses the lowest low and MAE the highest high.

Use intraday highs and lows, not closes. A stop 6% below your entry gets hit by a −6.2% low, even if the day closes at −1%.

You can also measure both in R, where 1R is the distance to your initial stop. A trade with a $10 stop that ran $40 in your favour had an MFE of +4R, which makes trades with different stop sizes comparable.

What the numbers tell you to change

When MFE is consistently far above your P&L

You're exiting too early, or trailing too loosely.

One trade giving back 3% means nothing. But forty trades where the average MFE is 9% and the average win is 4% means your exit rule is systematically leaving more than half the move behind.

Some give-back is the price of any trailing exit. A moving-average trail sells after the top by design, so capturing around half of the MFE is normal for it. The question is never "can I capture 100%?" It's whether a different rule would capture more over all your trades, not just the best one.

The fix is a rule, not a resolution: a trailing stop, scaling out in thirds, or holding to a moving average rather than a fixed percentage. Then test that rule on trades you already took.

When MAE is consistently large on your winners

Your stops are too wide, or your entries are early. If winning trades routinely go 6–7% against you before working, you're paying for entry timing with risk, and any trade that doesn't recover becomes an outsized loss.

When losers keep recovering after your stop

This is the pattern most traders suspect and few check.

A quick note on how to look for it. MAE while held can't go much past your stop, because the stop takes you out. So the evidence isn't in your MAE. It's in what price did after you left.

If your stop is at −5% and losers keep bottoming at −5.4% before going on to work, you're not being wrong. You're being stopped out by ordinary noise. If they keep falling to −10% and −15%, the stop did its job.

Most histories show some of both, so count them before you decide a wider stop would help. A wider stop rescues the near misses, but it also makes every deep loser bigger.

When losers were well in profit first

The MFE of your losers is the uncomfortable number. A loser with an MFE of +6% wasn't a bad trade. It was a good trade that was managed badly, or that your rules chose not to manage, and it belongs in a different bucket from a trade that never worked at all.

This is the problem selling into strength addresses. Qullamaggie sells a portion, around 20–25%, into the first sharp move after entry (what Stockbee, Pradeep Bonde, calls the first momentum burst), so that the rest of the position is close to risk-free. Another common rule moves the stop to breakeven on day three, or earlier once a trade is above 4R.

Both rules give up some upside on the big winners in exchange for fewer round trips from profit to loss. Whether that's worth it for you depends on how many big winners the rule would also trim.

A worked example

Say you buy a stock at $100 and sell a few days later at $105. Your P&L is +5%, and that's the whole story your broker tells you.

Now add the path. While you held it, the stock's highest high was $108 and its lowest low was $97. So the MFE was +8% and the MAE was −3%.

That tells you three things the P&L can't. You captured 5 of the 8 points on offer, a bit over 60%. You were never down more than 3%, so a stop at −5% was never threatened, but one at −2.5% would have shaken you out of a winner. And the move in your favour was more than twice the move against you, so the entry was well timed even though the exit was early.

How to read it across a whole history

Across fifty or more trades, MFE and MAE become distributions, and three comparisons matter:

ComparisonWhat it answers
Average MFE vs average winHow much of the available move you actually capture
MAE on winners vs MAE on losersWhether your stop can separate the two at all
MFE on losersHow many losers were profitable at some point and gave it all back

Measure them in R, so trades with different stop widths line up, and judge them on your own trades. Your own MFE and MAE profile is the one that matters.

Use your best trades to size your stop

Go back through your whole trading history and pull up your best trades. Look at the MAE on each one: how far it really went against you before it worked. Then compare that with the stop you actually used.

The gap is often big. Say your stops usually sit 8% below entry, but your best winners almost never went more than 3% against you. Most of that extra room was only protecting trades that were going to lose anyway.

That's an opportunity. With $500 at risk per trade, an 8% stop means a $6,250 position. A 4% stop, still comfortably below where your winners turned, means a $12,500 position for the same $500 risk. Same downside if you're wrong, twice the profit when you're right.

Just don't tighten blindly. A tighter stop will shake you out of a few trades that would have worked, so re-run your past trades with the new stop and check the totals before you change anything. (See why a tighter stop can mean far more upside for more on the position-size side.)

Why almost nobody tracks this

Because doing it by hand is miserable.

For every trade, you need the intraday high and low across the entire holding period, measured from your actual fill price, for the exact dates you held. And if you scaled in or out, you need them from a weighted average.

That's a data problem, not an insight problem. Once the numbers exist, the insight is straightforward.

Try it in TradePiko

See the MFE and MAE of every trade you have taken

Doing this by hand takes intraday data for every day you held every trade. TradePiko does the work on your own trades, from your broker history:

TradePiko auto-chart of a trade on its daily chart, with buy and sell arrows marking the entries and exits.
Every trade auto-charted on its daily chart, with your entries and exits plotted.
Start 7-day free trial →

Sources and credits. Selling a portion into the first momentum burst (Stockbee's term) is Kristjan Kullamägi's (Qullamaggie). The worked example is hypothetical. Some ideas are adapted from public trader interviews and notes. Educational content only.