Skip to content
All library documents

Chaos Game Optimization: Population Search with Group Means and Best Solutions

Article MQL5 articles

Summary

Chaos Game Optimization (CGO) is a population-based method for searching multidimensional spaces. Agents begin at random positions within defined bounds. Each agent samples a subgroup, calculates its average position, and generates a candidate using one of several equations that combine its current position, the population’s best position, and the subgroup mean. A fourth option makes a random move. Candidate positions are bounded and rounded to allowed steps, and better solutions update the shared best result.

The article describes the algorithm’s parameters and implementation, then reports comparisons on standard test functions. It characterizes CGO as performing well on medium- and high-dimensional functions, while noting that it can get trapped at local extrema in low-dimensional problems. The experiments concern benchmark optimization functions; they do not establish an advantage in live trading or show that CGO improves a particular trading strategy. The article also cautions that its implementations may differ from canonical algorithms, so the reported comparisons apply to the tested versions and setup.

Key ideas

  • CGO generates candidate solutions by combining an agent’s position, the best known solution, and a randomly sampled group’s mean.
  • A random-move option adds exploration beyond the three position-combination equations.
  • Search bounds and per-coordinate step sizes constrain and discretize candidate positions.
  • The article reports favorable benchmark performance at medium and high dimensions, but difficulty avoiding local extrema at low dimensions.
  • Results are based on test functions and may depend on implementation choices.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.