Tarea técnica

The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration.

The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For each coral, a fitness (health) function is determined that corresponds to the objective function of the optimization problem.

The ρ₀ ∈ (0,1) parameter determines the initial proportion of the reef occupied by corals, that is, the ratio of occupied cells to the total number of cells at the beginning of the algorithm. Initialization of the reef is performed as follows:

  1. The reef size of N×M and the initial filling fraction ρ₀ are specified.
  2. ⌊ρ₀ × N × M⌋ reef cells are randomly selected to house the starting corals.
  3. Initial corals are generated randomly within the search area and placed in the selected cells.

After the reef is initialized, an iterative process of reef formation and development begins, consisting of several stages:

Broadcast Spawning. For this type of reproduction, a certain proportion of Fₑ existing corals is selected. The selected corals form pairs and create offspring using crossover operators. Each pair produces a larva using the crossover operator (ordinary averaging).

Brooding. The remaining fraction of corals (1-Fₑ) engage in brooding where each coral produces offspring through mutation. For each coral selected for brooding, a larva is created using a mutation operator. The larva typically represents a small random variation of the encoded solution. Larval settlement. After the larvae are formed, each one tries to take its place in the reef during the reproductive stages. The settlement is carried out according to the following rules:

  1. The larva randomly chooses a cell (i, j) in the reef.
  2. If the cell is free, the larva occupies it.
  3. If the cell is occupied, the larva can displace the existing coral only if its fitness is higher: f(larva) > f(Ξᵢⱼ).
  4. If displacement does not occur, the larva may try to settle in another place (up to a maximum k number of attempts).
  5. If after k attempts the larva fails to find a place, it dies.

Asexual reproduction (budding). The best corals in a reef (Fₐ fraction) can reproduce asexually, creating exact copies of themselves (clones). Formally:

  1. Corals are sorted by the fitness function.
  2. The best Fₐ × 100% corals are selected for asexual reproduction.
  3. Each selected coral creates a clone that attempts to settle in the reef according to the same rules as during the larval settlement.

Depredation. At the end of each iteration, the worst corals in the reef may die with Pd probability, making room for new corals in the next iterations.

The reef formation is repeated until the specified stopping criterion is met, such as reaching the maximum number of iterations. After stopping, the best coral in the reef represents the found solution to the optimization problem.


Han respondido

1
Desarrollador 1
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
2
Desarrollador 2
Evaluación
(394)
Proyectos
553
41%
Arbitraje
30
57% / 3%
Caducado
57
10%
Trabaja
Ha publicado: 11 ejemplos
3
Desarrollador 3
Evaluación
(75)
Proyectos
80
6%
Arbitraje
46
11% / 54%
Caducado
7
9%
Trabaja
4
Desarrollador 4
Evaluación
(3)
Proyectos
4
0%
Arbitraje
2
0% / 100%
Caducado
1
25%
Libre
5
Desarrollador 5
Evaluación
(597)
Proyectos
690
33%
Arbitraje
43
44% / 44%
Caducado
12
2%
Trabajando
6
Desarrollador 6
Evaluación
(19)
Proyectos
24
8%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabajando
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(5)
Proyectos
6
50%
Arbitraje
0
Caducado
1
17%
Libre
10
Desarrollador 10
Evaluación
(363)
Proyectos
436
54%
Arbitraje
22
50% / 14%
Caducado
30
7%
Trabajando
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(10)
Proyectos
19
42%
Arbitraje
7
0% / 57%
Caducado
3
16%
Trabaja
13
Desarrollador 13
Evaluación
(6)
Proyectos
7
71%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(7)
Proyectos
5
0%
Arbitraje
6
0% / 83%
Caducado
1
20%
Trabaja
15
Desarrollador 15
Evaluación
(7)
Proyectos
10
10%
Arbitraje
4
50% / 0%
Caducado
0
Trabaja
Ha publicado: 4 artículos, 34 ejemplos
16
Desarrollador 16
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
17
Desarrollador 17
Evaluación
(6)
Proyectos
5
0%
Arbitraje
4
25% / 75%
Caducado
2
40%
Libre
18
Desarrollador 18
Evaluación
(55)
Proyectos
92
24%
Arbitraje
8
75% / 13%
Caducado
44
48%
Libre
19
Desarrollador 19
Evaluación
Proyectos
1
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(1)
Proyectos
2
0%
Arbitraje
0
Caducado
2
100%
Libre
21
Desarrollador 21
Evaluación
Proyectos
2
0%
Arbitraje
0
Caducado
1
50%
Libre
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(13)
Proyectos
13
38%
Arbitraje
1
0% / 100%
Caducado
1
8%
Libre
Solicitudes similares
Hello, I have a tradingview buy/sell indicator that also tells when to exit the trades with labels and everything. The indicator is of course manual and I want this to be automated into an MT5 bot. In return for this project you will get the indicator and bot for free! The indicator is simple yet very powerful/profitable. It works on all timeframes and pairs. It tells you when to buy/sell and when to "book profit"
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only

Información sobre el proyecto

Presupuesto
850+ USD
Plazo límite de ejecución
de 3 a 8 día(s)