Mejorar un EA de MQL5 con 3 poisiciones que permita tomar utilidades parciales a distintos niveles

Spécifications

Tengo un EA que a una hora determinada toma 3 posiciones, establezco un nivel de stop loss y 3 niveles diferentes de take profit, estoy operando el futuro ES, mi problema es que al momento de llegar al primer take profit salen todas las posiciones. Si te interesa lee el código adjunto y contáctame.

Dossiers :

Répondu

1
Développeur 1
Évaluation
(567)
Projets
656
32%
Arbitrage
41
41% / 46%
En retard
11
2%
Occupé
2
Développeur 2
Évaluation
(16)
Projets
23
26%
Arbitrage
1
0% / 0%
En retard
2
9%
Gratuit
3
Développeur 3
Évaluation
(62)
Projets
92
16%
Arbitrage
4
0% / 25%
En retard
2
2%
Gratuit
4
Développeur 4
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
5
Développeur 5
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Encargar tarea 1000+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND
ROBOT TRADER 50+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND (created_at < (EXTRACT(epoch FROM

Informations sur le projet

Budget
30+ USD
Délais
à 3 jour(s)