MAE and MFE in Trading: Is Your Stop Loss Too Tight?
A stopped-out trade can move straight to the original target after you’re gone. The easy response is to blame the stop. That conclusion may be right, but one chart can’t prove it.
Maximum adverse excursion and maximum favorable excursion give you a better test. MAE measures the worst unrealized move against a trade while it was open. MFE measures the best unrealized move in its favor. Together, they preserve the part of the trade that entry and exit prices leave out: the path between them.
Use MAE to study entry quality and stop placement. Use MFE to study targets, trailing rules, and profits given back before exit. Review the two across comparable trades rather than changing a rule after one frustrating loss.
What are MAE and MFE in trading?
MAE stands for maximum adverse excursion. It is the largest unrealized loss reached between entry and exit.
MFE stands for maximum favorable excursion. It is the largest unrealized profit reached during the same period.
Record MAE and MFE for each closed trade in a consistent unit. Then review the median, average, range, and selected percentiles across comparable trades. Keep a separate field for end-trade drawdown, which is the favorable movement surrendered between the best price and the close. MFE records the best point reached, while the final result records what the trader kept.
Consider a long trade entered at $100:
- The price falls to $97.50 after entry.
- It later rises to $108.
- The position closes at $104.
The trade’s MAE is $2.50 per unit. Its MFE is $8 per unit. The realized favorable move is $4 per unit, so the exit captured half of the maximum favorable move before fees and slippage.
The $104 exit alone hides both facts. The position carried $2.50 of unrealized heat, and it gave back $4 from its best price before closing.
How to calculate MAE and MFE
For a long trade:
MAE = entry price - lowest price reached while the trade was open
MFE = highest price reached while the trade was open - entry price
For a short trade:
MAE = highest price reached while the trade was open - entry price
MFE = entry price - lowest price reached while the trade was open
Multiply the price movement by the position quantity and contract multiplier when you want the result in account currency. Include the correct tick or pip value for the instrument. Keep fees and financing separate unless your journal has a documented net-excursion method.
R-multiples make trades with different prices and position sizes easier to compare. If the initial planned risk is $200 and the worst unrealized loss is $120:
MAE in R = $120 / $200 = 0.60R
If the best unrealized profit is $500:
MFE in R = $500 / $200 = 2.50R
Use the risk defined at entry. Recalculating R from a stop moved later changes the denominator and breaks comparisons with older trades.
MAE and MFE need intratrade prices
Entry and exit prices aren’t enough. The calculation needs the highest and lowest tradable prices reached while the position was open.
The required data depends on the trade:
- A position held for several days may be reviewed with daily or intraday bars, depending on how close the stop sits to the market.
- A five-minute trade can’t be diagnosed reliably from hourly candles.
- A bar’s high and low show the range, but not which one occurred first.
- Bid, ask, mark, and last-traded prices can produce different results.
Use data that matches the instrument and execution method. For a long position stopped on the bid, a chart built only from last-traded prices may miss the price that triggered the order. Spreads widen, markets gap, and fills can occur beyond the stop price. MAE calculated from clean midpoint candles should not be presented as exact executed risk.
Scaling creates another decision. A trade with three entries and two partial exits needs a fixed convention: treat it as one position with weighted average prices, split it into separate lots, or calculate exposure through time. Pick one method and keep it consistent.
How MAE can show that a stop loss is too tight
A tight-stop hypothesis becomes credible when many comparable trades show the same pattern:
- Trades that eventually meet the strategy’s success condition often move beyond the current stop distance first.
- The pattern remains after spread, slippage, and data quality are accounted for.
- It appears inside the same setup, instrument, session, and strategy version.
- A wider candidate stop still fits the account’s position-risk limit after size is reduced.
Suppose a strategy risks one price point per trade. Review 40 trades taken under one version of the rules. Twelve reached the target, but five of those winning paths first moved between 1.05 and 1.30 points against the entry. A one-point stop would have removed those trades before the favorable move.
That result supports testing a wider stop. It doesn’t justify placing the next stop at 1.30 points immediately. The entry may be late, the setup definition may be loose, or those five trades may cluster around news or a volatile session. A wider stop also increases money at risk unless position size falls.
Run the counterfactual on the full sample. Apply the proposed stop to every trade path, not only to winners that survived a deep adverse move. Recalculate the number of stop-outs, average loss, average win, expectancy, maximum drawdown, and total fees. Then test the rule on a later sample that was not used to choose the threshold.
When high MAE points to a bad entry instead
Large adverse excursions do not automatically call for wider stops.
Compare MAE with the setup and the market structure recorded at entry. If successful trades repeatedly need substantial room because entries occur after an extended move, the timing rule may be the weak point. If high-MAE trades concentrate in one session or volatility condition, the filter may need work. If both winners and losers travel almost the entire original risk distance immediately after entry, the signal may be noisy. A strategy-drift review can show whether recent entries, sizing, or market selection have moved away from the tested method.
Separate trades by rule adherence too. A late entry that violates the plan should not influence the stop used for compliant entries. Keep it in the account record, then label it as an execution deviation for diagnostic analysis.
This is where consistent trading-journal tags help. Use stable labels for setup, entry quality, session, market condition, and rule adherence. Show the trade count for every segment.
How MFE exposes early exits
MFE answers a different question: how much favorable movement was available while the trade was open?
Suppose ten profitable trades have a median MFE of 2.4R but a median realized result of 0.9R. The gap deserves investigation. It may come from a target placed too close, a trailing stop that tightens too quickly, discretionary exits, or a strategy designed to take quick profits and avoid reversals.
One descriptive measure is the share of favorable movement captured:
MFE capture rate = realized favorable result / MFE
A trade that reaches 2R and closes at 1.2R captures 60% of its MFE. Don’t treat 60% as good or bad on its own. A strategy built around frequent partial profits will differ from a trend-following strategy that accepts larger giveback while waiting for rare extended moves.
Exclude trades with zero or tiny MFE from percentage calculations, because a small denominator produces unstable ratios. Review results in R or account currency alongside the percentage.
Record MFE separately from end-trade drawdown, the amount of favorable movement surrendered before exit. The second measure can help separate two exit problems:
- Low realized profit relative to MFE can indicate early exits or large giveback.
- Large end-trade drawdown points directly to favorable movement lost after the best point.
Check the stated exit rule before calling either one a mistake. A trade can give back profit while following the plan exactly.
A practical MAE and MFE review
Start with one strategy version and one instrument group. Mixing unrelated trades makes the distribution harder to interpret.
1. Reconcile the records
Match entries, partial fills, exits, quantity, direction, fees, and timestamps with the broker or exchange record. Remove duplicate fills. Mark trades with missing price-path data rather than estimating their excursions from memory.
2. Freeze the current rules
Record the stop method, target method, trailing rule, scale-out rule, and position-size calculation that were active for the sample. Save the date each version began.
3. Express excursions in one unit
Choose price, pips, ticks, account currency, percentage, or R. R is useful across differently sized trades, while native price units help when checking exact order levels. Keep the original values too.
4. Split the sample deliberately
Start with planned versus unplanned trades. Then compare setup, instrument, session, direction, volatility condition, and exit reason where the counts support it. Avoid adding filters until a tiny group confirms the result you wanted.
5. Inspect the distribution
Report the number of trades, median, average, and selected percentiles. One extreme trade can pull the average away from the typical path. A scatter plot of MAE against final R shows whether profitable and losing trades occupy different ranges.
6. Test one rule change
Apply a candidate stop or exit rule to every suitable historical trade. Keep position risk constant by changing size when stop distance changes. Add spread, fees, slippage, and gap assumptions. Compare the result with the existing rule.
7. Validate on later trades
Choose the rule with one sample and assess it on a later untouched sample. Repeatedly tuning the threshold on the same history can fit noise.
The 30-minute weekly trading review provides a recurring place to log the finding without rewriting the strategy after every trade.
An MAE/MFE decision table
| Pattern in comparable trades | Possible explanation | Next test |
|---|---|---|
| Profitable paths often cross the current stop distance | Stop may be too tight | Replay every trade with a wider stop and smaller size |
| High MAE clusters in late or unplanned entries | Entry execution may be weak | Compare compliant and non-compliant entries separately |
| MFE is high but realized profit stays low | Exit may be early or giveback may be large | Split by exit reason and calculate end-trade drawdown |
| Losing trades show little MFE before reaching full risk | Setup may fail quickly | Test an earlier invalidation rule on the full sample |
| MAE rises in one session or volatility condition | Stop may ignore changing market range | Normalize by volatility and compare matched conditions |
| Results change sharply with candle resolution | Price-path data is too coarse | Repeat with finer bid/ask or tick data |
The table generates hypotheses. It does not prescribe a stop distance.
Mistakes that make excursion analysis unreliable
Studying winners only
Winners that survived a large adverse move make a wider stop look attractive. Apply the candidate rule to winners, losers, scratch trades, and stop-outs.
Mixing different strategies
A breakout and a mean-reversion entry can have very different excursion profiles. Pooling them produces a threshold suited to neither.
Ignoring position size
Moving a stop from 1R to 1.5R without reducing quantity raises the planned money loss by 50%. Keep account risk fixed when comparing stop distances.
Treating candle highs and lows as execution prices
A candle range does not show spread, queue position, slippage, or the order in which its high and low occurred. Use finer data when those details can change the result.
Using hindsight to move a live stop
MAE describes completed trade paths. It cannot tell you that the current trade will recover. Follow the exit rule active when the position was opened unless the trading plan contains a separate emergency condition.
Optimizing the same history repeatedly
A threshold chosen after many trials can look precise and fail on the next sample. Record how many variants were tested and preserve later trades for validation.
Use a trading journal to preserve the trade path
A spreadsheet with entry and exit columns can calculate realized profit. It cannot recover intratrade highs and lows that were never recorded. You need imported market data, captured price-path fields, or a chart record tied to each trade.
UltraTrader’s comparison of trading journals and spreadsheets explains this limitation and introduces MAE/MFE as the missing path between entry and exit. Use exit rules and risk management to write the stop, target, and trailing conditions before the next position.
UltraTrader can keep the trade history, tags, and review process together. Where complete MAE/MFE data is available, analyze it by a fixed strategy version and consistent unit. If a trade lacks reliable intratrade pricing, mark it unavailable rather than filling the gap with an estimate.
MAE and MFE FAQ
What is MAE in trading?
Maximum adverse excursion is the largest unrealized move against a position between entry and exit. It can be expressed in price, pips, ticks, account currency, percentage, or R.
What is MFE in trading?
Maximum favorable excursion is the largest unrealized move in a position’s favor while it is open. Comparing MFE with the final result helps assess targets, trailing rules, and profit given back before exit.
Does high MAE mean a stop loss is too tight?
No. Repeated high MAE among comparable trades that later satisfy the strategy’s success condition supports testing a wider stop. High MAE can also result from weak entries, volatile conditions, loose setup definitions, or poor data.
Can MAE tell me where to place a stop loss?
MAE can inform a stop-loss test. It cannot choose the stop by itself. The stop must also reflect the trade’s invalidation level, instrument behavior, execution costs, gap risk, position size, and account limits.
Can MFE tell me where to take profit?
MFE can show how much favorable movement occurred before exit. Test candidate targets or trailing rules across the full sample and on later trades. The highest historical MFE is not a sensible automatic target.
Should MAE and MFE be measured in money or R?
Keep the original price and account-currency values, then add R for comparison across different trade sizes. Use the initial planned risk as the R denominator and keep the calculation method unchanged.
How many trades are needed for MAE/MFE analysis?
There is no universal count. Report the sample size, keep strategy versions separate, and expect wide uncertainty in small groups. Confirm a proposed rule on later trades that were not used to select it.
Can a spreadsheet calculate MAE and MFE?
Yes, if it receives reliable intratrade price data. A basic sheet containing only entry and exit prices cannot reconstruct either excursion. Manual chart review can add the missing highs and lows, but the method and price source must stay consistent.
Educational content only. Trading involves risk of loss. MAE and MFE describe historical trade paths and do not predict whether an open position will recover or continue moving in its current direction. Test risk-rule changes before using them with capital.