Dragonfly Algorithm (DA), proposed by Seyedali Mirjalili in 2015, models two swarm modes: static hunting and dynamic migration. These map directly to exploitation and exploration in population-based optimization. Each agent applies five terms per iteration: separation, alignment, cohesion, attraction to the current best (Food), and repulsion from the current worst (Enemy). Velocity is updated as a weighted sum plus inertia, then position is advanced and clamped to bounds. When an agent has insufficient neighbors and Food is out of range, DA switches to Lévy flight using Mantegna sampling to generate heavy-tailed steps. Adaptive control drives convergence: neighborhood radius increases over epochs, inertia drops from 0.9 to 0.4, and s/a/c/e decay to zero mid-run, leaving Food attraction dominant. Population size is the main external parameter. 👉 Read | Signals | @mql5dev
Open in Telegram
Dragonfly Algorithm (DA), proposed by Seyedali Mirjalili in 2015, models two swarm…
Views9,755+8%vs avg
Forwards5
Reactions26
Comments—
Views growth
Hours after publication
Show as table
| Hours after publication | Views |
|---|---|
| 0 h | 0 |
| 34 h | 8,976 |
| 51 h | 9,755 |
- Total to date9,755
More from MQL5 Algo Trading
- 01Views12.5KForwards5Reactions34Comments—
- 02Views12KForwards6Reactions40Comments—
- 03Views11.3KForwards5Reactions31Comments—
- 04Views11.1KForwards5Reactions29Comments—
- 05Views10.6KForwards4Reactions27Comments—