Tournament Selection: Randomly selects 3 individuals and picks the best one
+
Roulette Wheel: Selects individuals based on their fitness proportion
+
Fitness Weighted: Normalizes fitness scores and uses weighted probabilities
+
+
Elitism: Preserves the top percentage of individuals unchanged in the next generation
+
+
+
+ {/* Four-Phase Optimization Strategy */}
+
+
+
Four-Phase Optimization Strategy:
+
+ Phase 1: Tests individual indicators (3 generations) to identify the best performing single indicators.
+
+
+ Phase 2: Tests 2-indicator combinations (2 generations) using the top 8 single indicators.
+
+
+ Phase 3: Tests 3-indicator combinations (2 generations) using the top 8 single indicators.
+
+
+ Phase 4: Tests 4-indicator combinations (2 generations) using the top 8 single indicators.
+
+
+ No Duplicates: Each scenario contains unique indicator types to avoid redundancy.
+
+
+ Parameter Optimization: Uses CustomScenario defaults as starting points with 70% bias towards proven values.
+
+
+
+
+ {/* Risk-Reward Ratio Constraint */}
+
+
+
Risk-Reward Ratio Constraint:
+
+ All generated individuals are guaranteed to have a positive risk-reward ratio (R:R ≥ 1.1).
+ The algorithm automatically adjusts take profit levels to ensure profitable trading strategies.
+
+ Average Time per Backtest: {backtestTimes.length > 0 ? formatTimeDuration(backtestTimes.reduce((sum, time) => sum + time, 0) / backtestTimes.length) : 'Calculating...'}
+ Estimated Completion: {estimatedCompletion}
+