- Added dynamicATRAnalysis section to /api/analytics/tp-sl-optimization - Analyzes v6 trades with ATR data to compare fixed vs dynamic targets - Dynamic targets: TP2=2x ATR, SL=1.5x ATR (from config) - Shows +39.8% advantage with 14 trades (.72 improvement) - Includes data sufficiency check (need 30+ trades) - Recommendation logic: WAIT/IMPLEMENT/CONSIDER/NEUTRAL based on sample size and advantage - Returns detailed metrics: sample size, avg ATR, hit rates, P&L comparison - Integrates seamlessly with existing MAE/MFE analysis Current status: 14/30 trades collected, insufficient for implementation Expected: Frontend will display this data to track progress toward 30-trade threshold
16 KiB
16 KiB