Version 1.1 2026.05.09
# Max Drawdown: Tracks deepest balance drop from peak equity to measure risk.
# Recovery Factor: Calculates the strategy's ability to recover from losses.
# Max Loss Streak: Identifies the highest number of consecutive losses.
# Actual R:R: Computes the real realized reward-to-risk ratio.
# Avg. Duration: Measures average time positions stay open (Scalp vs. Swing).
# Zero-Divide Protection: Prevents indicator crashes when losses are zero.
# CPU Optimization: Updates only when trade history count changes.
# Modern MQL4 Standard: Fixed `OnCalculate` signature for full MT4 compatibility.
# Grouped Inputs: Organized parameters into Data, UI, and Position categories.
# Dynamic Coloring: Context-aware colors for Profit Factor, Win Rate, and R:R.
# Symbol Filter: Toggle between account-wide or pair-specific performance.
# Auto-Time Formatting: Converts duration into readable seconds, minutes, hours, or days.