Appearance
Personalize your experience
MAE & MFE Trade Diagnostics: Optimizing Stops and Targets with Data
Risk & CapitalPlotting Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) in R-units to refine stop and target placement.
Core Architecture & Intuition
Plotting Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) in R-units to refine stop and target placement. Within the Risk & Capital curriculum (Trading Psychology & Discipline → Journaling & Process Audits), this topic establishes the concrete quantitative rules and execution mechanics required for live market deployment.
Professional desks never rely on ambiguous visual guesses for mae. Instead, every entry, invalidation level, and risk parameter is defined mathematically before a single order reaches the exchange gateway.
Hover over key terms below for instant definitions: Mae, Mfe, and Maximum Adverse Excursion. For the complete mathematical derivation and edge-case analysis, open .
Interactive Concept Breakdown
- Mae — Core structural driver governing mae & mfe trade diagnostics: optimizing stops and targets with data.
- Mfe — Prevents premature entries and enforces mechanical discipline across Journaling & Process Audits.
- Maximum Adverse Excursion — Ensures worst-case scenario losses stay strictly within predetermined R-multiple budgets.
Step-by-Step Execution Protocol: Journaling & Process Audits
- 11. Pre-Session Calibration & Regime CheckMeasure baseline volatility and liquidity parameters for mae prior to market open.
- 22. Mechanical Signal ConfirmationWait for a completed bar close confirming the mfe threshold—never pre-empt mid-candle.
- 33. Risk-Normalized Sizing & Order PlacementCompute exact lot quantity from the invalidation distance and dispatch via a Marketable Limit order.
- 44. Post-Trade Telemetry & AuditLog arrival price, fill slippage, and MAE/MFE metrics against the Journaling & Process Audits benchmark.
Parameters, Rules & Reference Matrix
| Parameter / Rule | Type | Default | Description |
|---|---|---|---|
| primaryThreshold* | float | Calibrated per ATR | Core quantitative trigger governing MAE & MFE Trade Diagnostics: Optimizing Stops and Targets with Data. |
| confirmationWindow | bars | 1 closed bar | Requires full bar closure to eliminate intrabar repainting. |
| maxRiskAllocation | % equity | 0.5% - 1.0% | Maximum capital at risk if invalidation level is hit. |
Implementation & Quantitative Model
export function computeExcursionsR(entry: number, stop: number, tradeHigh: number, tradeLow: number, side: "LONG" | "SHORT") { const rUnit = Math.max(1e-6, Math.abs(entry - stop)); const maeR = side === "LONG" ? (entry - tradeLow) / rUnit : (tradeHigh - entry) / rUnit; const mfeR = side === "LONG" ? (tradeHigh - entry) / rUnit : (entry - tradeLow) / rUnit; return { maeR: Number(maeR.toFixed(2)), mfeR: Number(mfeR.toFixed(2)) };}Desk Verification Checklist
Confirm before deploying live capital
- Confirm Journaling & Process Audits regime alignment before enabling entries.
- Verify candle closure beyond the trigger threshold (no intra-bar guessing).
- Size position strictly from the distance to the structural invalidation point.
Cross-reference standard risk definitions such as drawdown, slippage, and when auditing your logs.
More in Journaling & Process Audits
- The Process-vs-Outcome Matrix & Weekly Execution Scorecards
Separating statistical variance (good trade, unlucky outcome) from rule violations (bad trade, lucky outcome).