ILoveTrading Documentation
Risk Management, Drawdown & R-Multiple Analytics
Strategy and timing generate gross returns, but risk management dictates whether trading capital survives. The Risk Management analytics module delivers the defensive telemetry needed to protect capital, eliminate tail risk, and ensure compliance with institutional and prop firm drawdown rules.
1. Core Risk Telemetry & Excursion Diagnostics
| Maximum Drawdown (%) | Average MFE | Average MAE |
|---|---|---|
| -4.25% | +2.85 R | -0.45 R |
Maximum Drawdown (max_drawdown)
Measures the deepest peak-to-trough capital decline before establishing a new all-time high:
Formula / Calculation
Max Drawdown (%) = Max ( (Peak Equity - Trough Equity) / Peak Equity ) × 100
- Prop Firm Rules: Evaluates whether your drawdown profile stays safely within standard 5% daily and 10% total trailing drawdown thresholds.
MFE & MAE Excursion Diagnostics (avg_mfe / avg_mae)
Pioneered by John Sweeney, Maximum Favorable Excursion (MFE) and Maximum Adverse Excursion (MAE) track intra-trade price dynamics:
[Take Profit Target]
▲
│ ◄─── MFE (Peak Potential Reached)
[Entry Price] ──────┼───────
│ ◄─── MAE (Adverse Heat Endured)
▼
[Stop Loss Level]
- Average MAE (Adverse Excursion): Measures the maximum adverse price heat endured before trade closure. If MAE consistently averages 0.4R while Stop Losses are set at 1.2R, tightening stops unlocks larger lot sizing for the identical total dollar risk.
- Average MFE (Favorable Excursion): Measures peak potential profit reached. If MFE reaches +3.5R but average realized gain is only +1.0R, trailing stop mechanisms require calibration to prevent profit surrender.
2. Synthetic Equity & Underwater Drawdown Curve (risk_equity_curve)
Visualizes capital growth across your filtered trade subset, equipped with an interactive mode toggle:
UI Controls
- Balance Mode: Renders an area curve tracking cumulative nominal equity growth over time.
- Drawdown Mode: Renders an underwater percentage curve plotting depth and duration from all-time highs down to 0%, isolating drawdown recovery cycles.
3. R-Multiple Distribution & Asymmetry Histogram (risk_r_histogram)
Standardizes all trade outcomes into standardized risk units (1R = Pre-Trade Planned Risk):
Formula / Calculation
R = Realized Net Profit / Pre-Trade Planned Risk (1R)
Frequency
▲
│ ┌───┐
│ │ │ ┌───┐
│ ┌───┐ │ │ │ │
│ │ │ │ │ │ │ ┌───┐ ┌───┐
│ ░░ │ │ │ │ │ │ │ │ │ │ ◄── Right "Fat Tail" (+2R to +5R)
└──┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴────► R-Multiple
<-1 -1 to 0 0 to 1 1 to 2 2 to 3 >3
▲
└─ THE DANGER ZONE (Risk Violations)
Histogram Bucket Anatomy
- Controlled Losses (-1R → 0R): Normal execution stop-outs honoring predefined risk.
- The Danger Zone (< -1R, Highlighted in Ruby Red): Severe execution violations (moving stop losses wider, adding to losing positions, or severe slippage). An institutional Edge maintains ZERO trades in the < -1R bucket.
- Scratch Zone (0R → +1R): Minor scalps, partials, and break-even scratch trades.
- The Right Fat Tail (+2R, +3R, > +3R, Emerald Green): Highly asymmetric runners that compound account equity and pay for standard -1R stop-outs.
4. Pareto Cumulative Expectancy Overlay
- Show Cumulative % Toggle: Superimposes an amber cumulative frequency distribution line (0% → 100%) across R brackets.
- Statistical Profiling: Instantly determines whether account growth is driven by high win rate with modest R multiples (65% at +1R) or low win rate with high asymmetry (35% with +4R runners).
5. Best Practices
Caution
[!CAUTION] Zero Tolerance for < -1R: Any execution registering in the < -1R bucket signals a critical failure in risk discipline. Audit your Trade Log immediately to verify stop-loss automation.
Tip
[!TIP] MFE/MAE Calibration: Re-evaluate your average MFE and MAE quarterly to fine-tune take-profit orders and eliminate unnecessary stop-loss buffer.
Trading on MetaTrader?
Sync your MT4 or MT5 account and automatically audit your cognitive biases and trading performance.
