Tradelytic Updates — 15 min read
MAE and MFE in Trading: Complete Guide (2026)
MAE and MFE in Trading: How to Improve Your Stop-Loss and Take-Profit Decisions
MAE and MFE in trading measure how far the market moves against and in favor of a position while it is open. Maximum Adverse Excursion (MAE) shows the largest unrealized loss, while Maximum Favorable Excursion (MFE) shows the largest unrealized profit. Together, these metrics help traders review entries, exits, and risk management.
Most traders know their win rate, average profit, and biggest loss. But these statistics only tell part of the story.
A trade that closes with $100 profit may have reached $400 in unrealized gains. Another trade with the same result may have nearly hit its stop-loss before recovering.
Both trades look identical in a basic profit-and-loss report. Their price behavior, however, is very different.
Understanding MAE and MFE helps reveal these differences and provides a more detailed view of trading performance.
What Are MAE and MFE in Trading?
MAE and MFE are trade-level performance metrics that measure the maximum unfavorable and favorable movements experienced between opening and closing a position.
Unlike final profit or loss, they describe what happened while the trade was active.
What Is Maximum Adverse Excursion (MAE)?
Maximum Adverse Excursion measures the largest unrealized loss experienced during a trade before it closes.
For a long position, MAE is based on the lowest relevant price reached after entry.
For a short position, it is based on the highest relevant price reached after entry.
Consider a trader who buys EUR/USD at 1.1000.
During the trade:
- Entry price: 1.1000
- Lowest price reached: 1.0975
- Final exit: 1.1040
The position moved 25 pips against the trader before eventually closing with a 40-pip gain.
Its MAE was 25 pips.
This information matters because the trader experienced a meaningful temporary adverse movement despite finishing profitably.
MAE can help identify how much unfavorable price movement successful trades typically experience.
However, it does not automatically tell you where your stop-loss should be placed.
What Is Maximum Favorable Excursion (MFE)?
Maximum Favorable Excursion measures the largest unrealized profit reached while a position is open.
For a long trade, it is based on the highest relevant price reached.
For a short trade, it is based on the lowest relevant price reached.
Consider another EUR/USD trade:
- Entry price: 1.1000
- Highest price reached: 1.1060
- Final exit: 1.1020
The market moved 60 pips in the trader’s favor, but the position closed with only 20 pips of profit.
Its MFE was 60 pips.
This shows that the position experienced a larger favorable movement than the amount ultimately realized.
It does not prove that the trader should have closed at the exact highest price.
Markets are uncertain, and the maximum favorable price is only known with hindsight.
How to Calculate MAE and MFE in Trading
The basic MAE and MFE formulas depend on whether you trade long or short.
MAE Formula for Long Positions
MAE = Entry Price – Lowest Price During Trade
Suppose you buy GBP/USD at 1.2500 and the market falls to 1.2470 before recovering.
MAE = 1.2500 – 1.2470 = 0.0030
For a typical GBP/USD quote, this represents 30 pips.
MFE Formula for Long Positions
MFE = Highest Price During Trade – Entry Price
If the same position later reaches 1.2570:
MFE = 1.2570 – 1.2500 = 0.0070
The MFE is 70 pips.
MAE and MFE for Short Positions
For short trades, the direction is reversed.
MAE = Highest Price During Trade – Entry Price
MFE = Entry Price – Lowest Price During Trade
The measurements are generally expressed as nonnegative distances or amounts.
A trading journal may instead display adverse excursions as negative values. Always check the platform’s reporting convention.
Calculating Excursions in R-Multiples
MAE and MFE can also be expressed in R-multiples.
An R-multiple measures a result relative to the initial planned risk of the trade.
For example:
- Entry price: 1.1000
- Initial stop-loss: 1.0980
- Initial risk: 20 pips
- Maximum adverse movement: 10 pips
- Maximum favorable movement: 50 pips
MAE = 10 ÷ 20 = 0.5R
MFE = 50 ÷ 20 = 2.5R
These values make it easier to compare trades with different stop distances or position sizes.
A 0.5R adverse excursion means the position temporarily moved against the trader by half its initial planned risk.
A 2.5R favorable excursion means it moved in the trader’s favor by 2.5 times the initial risk.
Why MAE and MFE Matter More Than Final Profit Alone
Final profit tells you what you earned or lost.
Trade excursion analysis provides information about the price movement behind that outcome.
This distinction is important when evaluating a trading strategy.
Imagine two trades that both close with +1R.
Trade A:
- Maximum adverse excursion: 0.2R
- Maximum favorable excursion: 1.2R
- Final result: +1R
Trade B:
- Maximum adverse excursion: 0.9R
- Maximum favorable excursion: 3.5R
- Final result: +1R
Trade A experienced relatively little adverse movement before reaching its final result.
Trade B came much closer to its initial risk limit and experienced a much larger favorable movement before closing.
The two trades produced the same realized return, but the path to that return was different.
Reviewing many similar trades may reveal patterns in entry timing, stop placement, or exit management.
One trade alone is not enough to establish a reliable pattern.
How to Use MAE to Analyze Stop-Loss Placement
One useful application of MAE and MFE in trading is evaluating whether stop-loss rules are appropriate for a particular strategy.
Suppose you review 100 historical trades.
Among the winning trades, you observe that many experienced adverse movement between 0.4R and 0.7R before recovering.
This suggests that temporary price movement against the position is common among your successful trades.
But what does it mean for stop-loss placement?
When Your Stop-Loss May Be Too Tight
A stop-loss may be too tight if ordinary price fluctuations frequently close positions before the intended setup has had enough time to develop.
For example, a trading strategy may repeatedly identify the correct market direction but exit positions during short-term volatility.
MAE analysis can help investigate whether this is happening.
However, examining only trades that survived your existing stop-loss introduces selection bias.
You also need to study stopped-out trades and what happened after their exits before testing alternative rules.
When Your Stop-Loss May Be Too Wide
A wide stop-loss can expose a trade to more potential loss than necessary.
Suppose winning trades rarely move more than 0.3R against the entry, while your planned stop is consistently much farther away.
This may justify investigating whether a tighter stop could improve risk efficiency.
But a tighter stop might also create more losing trades.
The correct test is not simply to look at the maximum adverse movement of previous winners.
You need to evaluate how a changed stop would affect the entire trade sample, including positions that would have closed earlier.
Why You Should Not Change Stops Based on One Trade
MAE is a historical measurement, not a prediction.
A trade that moved only 10 pips against you does not mean future trades will behave the same way.
Look for repeatable patterns across enough trades and different market conditions.
Then test any proposed stop-loss adjustment on independent historical data or in simulation.
For a broader approach to funded account discipline, explore Tradelytic’s prop firm reviews and compare relevant risk rules.
How to Use MFE to Improve Take-Profit Decisions
MFE helps traders evaluate the difference between the maximum favorable movement during a trade and its final realized result.
This can be useful when reviewing profit targets and exit decisions.
Example: A Trader Who Closes Winners Early
Suppose a trader regularly enters profitable EUR/USD positions.
After reviewing 50 winning trades, they identify the following hypothetical pattern:
- Average MFE: 2.5R
- Average realized profit: 0.8R
These results suggest that winning trades often experience larger favorable movements than the amount ultimately captured.
Possible explanations include:
- Taking profits too early
- Closing positions because of fear
- Using fixed profit targets that do not match the strategy
- Giving back gains during reversals
- Exiting positions based on untested discretionary decisions
The next step is to examine how and why positions were closed.
What Is MFE Capture Ratio?
One useful descriptive metric is the MFE capture ratio.
MFE Capture Ratio = Realized Trade Profit ÷ Maximum Favorable Excursion × 100
Suppose a trade reaches $500 in maximum unrealized profit and eventually closes with $200 in realized trading profit, measured on a comparable basis.
MFE Capture Ratio = ($200 ÷ $500) × 100 = 40%
The trade captured 40% of its maximum favorable excursion.
For meaningful comparisons, use consistent price- or currency-based measurements and account for transaction costs separately.
This ratio is not universally standardized across trading platforms.
A high capture ratio is not automatically better.
Trying to capture every maximum price movement is unrealistic and may lead to overfitting.
Should You Increase Your Take-Profit Target?
Not simply because your historical MFE was high.
A larger target may increase average winning trade size, but it can also reduce the frequency of winners.
For example, moving a take-profit target from 2R to 3R changes the conditions required to produce a profitable trade.
You need to evaluate whether enough trades would reach the new target before hitting the stop-loss.
Historical MFE can help generate a hypothesis, but you need proper backtesting to assess the potential effect.
MAE vs. MFE vs. Drawdown: What Is the Difference?
These metrics are related to risk and performance, but they measure different things.
MAE: The maximum unfavorable price movement experienced during an individual trade.
MFE: The maximum favorable price movement experienced during an individual trade.
Drawdown: A decline in account equity or balance from a previous peak, according to the measurement method.
For example, your account could experience a 5% drawdown across several losing trades.
At the same time, individual positions may have very different MAE and MFE characteristics.
MAE and MFE help analyze individual trades.
Account drawdown helps evaluate the broader impact of trading results on capital.
For prop firm traders, both perspectives can be useful because account-level loss limits and trade-level execution decisions affect different aspects of risk.
How to Track MAE and MFE in MetaTrader 4 and MetaTrader 5
MetaTrader trade history usually provides information such as entry price, exit price, volume, time, commission, and profit or loss.
However, accurately calculating MAE and MFE requires information about the price path while the position was open.
A standard closed-trade statement alone may not contain all the data required.
Option 1: Record Excursions While Trades Are Open
A custom indicator, Expert Advisor, or journaling system can record maximum favorable and adverse movement during each position.
This approach can provide more detailed information when suitable tick or quote data is collected.
Option 2: Reconstruct Historical Price Movement
Another method is to combine trade entry and exit timestamps with historical market prices.
For example, an analysis script can examine the highest and lowest prices reached between entry and exit.
This provides estimated excursions based on the available market data.
However, accuracy depends on the quality and resolution of that data.
Hourly candles may hide important intrabar movement.
Even one-minute candles do not always reveal the exact order of prices inside each candle.
Option 3: Use a Trading Journal
A journal can organize your trade history and support deeper performance analysis.
For example, Tradelytic’s trading journal supports compatible MT4 and MT5 account connections and provides automatic trade imports, performance analytics, and AI-assisted analysis.
You can use Tradelytic to review your historical results, trading behavior, risk metrics, and patterns across different instruments.
If you specifically need numerical MAE and MFE values, confirm that your chosen journal or analysis workflow supports the required price-path data. Standard trade imports alone may not provide accurate excursion measurements.
External Technical Resource
For a practical implementation, MetaTrader developers can review this MQL5 article on MAE/MFE excursion analysis.
It explains how an MT5 analysis tool can reconstruct excursion measurements using historical trade records and market data.
How to Combine MAE and MFE With Other Trading Metrics
MAE and MFE become more useful when combined with broader performance statistics.
They should not replace traditional metrics such as win rate, expectancy, or profit factor.
Win Rate
Win rate tells you how often a strategy produces profitable trades.
MAE can help investigate whether losing positions frequently come close to becoming profitable before closing.
MFE can help show whether profitable movements regularly reverse before a final exit.
Risk-to-Reward Ratio
Risk-to-reward measures the potential or actual relationship between risk and reward.
MAE and MFE add information about the price movements experienced during the trade.
This can help assess whether planned targets and stop distances are consistent with historical market behavior.
Trading Expectancy
Expectancy measures average profit or loss per trade.
It is calculated using win rate, average winning trade, and average losing trade.
A strategy can show positive expectancy while still having inefficient entry or exit behavior.
Excursion analysis may reveal opportunities for further testing, although it does not guarantee improvement.
Profit Factor
Profit factor compares gross profits with gross losses.
MAE and MFE help examine what happened before those profits and losses were realized.
Together, these metrics provide a more complete view of strategy behavior.
MAE and MFE for Prop Firm Traders
Funded account traders face additional challenges because their accounts often have strict loss limits.
Even a profitable strategy can struggle if individual trades create excessive exposure.
MAE analysis can help identify positions that experience large adverse movement relative to their initial planned risk.
MFE analysis can help review whether exit decisions are consistent with the trading plan.
Example: Trading Under a Daily Loss Limit
Imagine a hypothetical funded account with a $50,000 reference balance and a daily loss limit of $2,000.
A trader risks $250 per trade.
One position reaches an unrealized loss of $200 before recovering.
Its MAE is $200, or 0.8R.
If the trader opens multiple correlated positions, temporary adverse movements may combine into a substantial account-level equity decline.
This matters because some firms monitor floating equity when applying daily loss limits.
However, MAE is a trade-level measure. It does not show when the worst excursions of multiple positions occurred relative to one another.
To evaluate account-level exposure, traders also need a time-based equity and position-risk analysis.
Understanding these differences can support more informed risk management.
You can compare account conditions and payout structures through Tradelytic’s prop firm directory.
Five Common MAE and MFE Analysis Mistakes
1. Treating Maximum Favorable Excursion as Guaranteed Profit
A trade that reached +3R did not necessarily offer a reliable opportunity to realize +3R.
Execution, timing, spread, and price reversal all matter.
2. Changing Stop-Loss Rules Without Testing
A historical MAE distribution may suggest possible improvements, but changing stops can also change win rate and average losses.
Test alternative rules independently.
3. Ignoring Sample Size
Ten trades are unlikely to provide enough information about every market condition.
Review sufficiently large and representative samples before drawing strong conclusions.
4. Mixing Different Trading Strategies
A scalping strategy and a swing trading strategy may have very different excursion characteristics.
Separate trades by setup, instrument, and timeframe.
5. Ignoring Market Data Quality
Incomplete historical quotes can distort excursion calculations.
Always understand whether MAE and MFE were recorded live or reconstructed from available price data.
How to Build a Better Trade Review Process
You do not need to analyze every possible metric after every session.
Start with a repeatable review process.
Step 1: Review realized performance.
Look at net profit, win rate, average winners and losers, and drawdown.
Step 2: Identify unusual trades.
Find positions with large losses, unexpected risk, or unusual holding times.
Step 3: Examine price movement.
Where reliable excursion data is available, compare MAE and MFE with realized outcomes.
Step 4: Segment your results.
Review performance by strategy, instrument, trading session, or market condition.
Step 5: Create one testable improvement hypothesis.
For example, investigate whether a particular exit rule produces better risk-adjusted results.
Step 6: Validate the change.
Use a separate historical sample or simulation before changing your live trading approach.
The goal is to make trading reviews more systematic rather than reacting emotionally to individual results.
Frequently Asked Questions About MAE and MFE in Trading
What is MAE in trading?
MAE stands for Maximum Adverse Excursion. It measures the largest unfavorable price movement or unrealized loss experienced while a trade is open.
What is MFE in trading?
MFE stands for Maximum Favorable Excursion. It measures the largest favorable price movement or unrealized profit reached before a position closes.
How do you calculate MAE and MFE?
For long positions, MAE is the distance between entry and the lowest price reached, while MFE is the distance between entry and the highest price reached. For short positions, the directions are reversed.
Can MAE help improve stop-loss placement?
MAE can help identify historical adverse price movement patterns. However, changes to stop-loss rules should be tested on a representative sample rather than based only on previous winning trades.
Can MFE help improve take-profit targets?
MFE can reveal how much favorable price movement occurred before an exit. Traders can use this information to investigate profit-taking rules, but higher historical MFE does not guarantee better results from larger targets.
Is MAE the same as drawdown?
No. MAE measures the worst adverse movement of one trade. Drawdown usually measures the decline of an account or strategy from a previous equity or balance peak.
Can I calculate MAE and MFE using MT5?
Yes, with appropriate historical price data or an analysis tool that records excursions. Standard closed-trade reports may not include the full intratrade price path needed for accurate calculations.
Do all trading journals track MAE and MFE?
No. Some journals focus on realized results such as P&L, win rate, and drawdown. Accurate excursion analysis requires suitable price-path data.
What is a good MFE capture ratio?
There is no universal target. A useful ratio depends on the strategy, market conditions, trading costs, and how often the planned exit method produces profitable outcomes.
Final Thoughts: Use MAE and MFE to Understand Your Trades
MAE and MFE in trading provide information that traditional profit-and-loss reports can miss.
They reveal how much a trade moved against you, how far it moved in your favor, and how the final result compares with that price behavior.
These measurements can help traders investigate stop-loss placement, profit-taking decisions, and strategy execution.
But they should be interpreted carefully.
The most valuable use of MAE and MFE is not to find perfect historical entry or exit prices. It is to develop testable ideas that may improve a repeatable trading process.
Better trading decisions begin with better performance analysis.
Start using Tradelytic for free to organize your MT4/MT5 trade history, review your results, and identify patterns behind your trading performance.
Disclaimer: This article is provided for educational purposes only and is not financial or investment advice. Historical trading performance does not guarantee future results. Trading and proprietary trading programs involve financial risk.