Modificar/depurar EA cierre operaciones y añadir condición

Tâche terminée

Temps d'exécution 3 minutes

Spécifications

He desarrollado un EA que deseo depurar.

El funcionamiento del EA es simple, abre una operación " BUY_PRINCIPAL" o "SELL_PRINCIPAL" cuando se dan las condiciones. Cuando ha recorrido una distancia, (ejemplo: 20 pips) cierra el 50% de la posición, y el otro 50% lo cierra cuando cruza arriba, o abajo el tekasen. En el momento que se cierra el 50% de una posición, si se dan las condiciones, puede abrir otra operación "BUY_SECOND" o "SELL_SECOND", siempre y cuando haya cerrado el 50% de cualquiera de las posiciones abiertas y se den las condiciones. El problema es que puede abrir múltiples posiciones y realiza múltiples cierres parciales, o cierra el total de la/s posiciones.

OBJETIVO:

1º Depurar el cierre de operaciones, para que independientemente el numero de posiciones abiertas, cierre el 50% de la posición cuando cada operación recorra x pips, y cierre el otro 50% cuando cruce abajo o arriba del tekasen.

2º Implementar una nueva condición: Deseo implementar una nueva condición en el EA para validar cualquier entrada. Si esta condición no se cumple no se abrirán operaciones.


Buy: Si antes de x velas atrás, el precio ha cruzado el tekasen hacia arriba y se cumplen las condiciones " BUY_PRINCIPAL" o  "BUY_SECOND" entramos a mercado en compra

Sell: Si antes de x velas atras, el precio ha cruzado el tekasen hacia abajo y se cumplen las condiciones " SELL_PRINCIPAL" o  "SELL_SECOND" entramos a mercado en venta


El trabajo final se entregara en código abierto MQ4


Répondu

1
Développeur 1
Évaluation
(1298)
Projets
1725
49%
Arbitrage
52
71% / 12%
En retard
38
2%
Travail
2
Développeur 2
Évaluation
(2657)
Projets
3375
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
3
Développeur 3
Évaluation
(297)
Projets
476
40%
Arbitrage
105
40% / 24%
En retard
81
17%
Occupé
Publié : 2 codes
4
Développeur 4
Évaluation
(18)
Projets
27
15%
Arbitrage
7
0% / 86%
En retard
5
19%
Gratuit
5
Développeur 5
Évaluation
(567)
Projets
656
32%
Arbitrage
41
41% / 46%
En retard
11
2%
Occupé
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(2320)
Projets
2921
63%
Arbitrage
123
44% / 25%
En retard
429
15%
Travail
8
Développeur 8
Évaluation
(8)
Projets
11
27%
Arbitrage
1
0% / 100%
En retard
6
55%
Travail
9
Développeur 9
Évaluation
Projets
0
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
Desarrollar un indicador que rastree compras y ventas en tiempo real, mostrando un histograma de volumen lateral por precio y flechas centrales que indiquen el porcentaje de dominancia del mercado. Dejó enlace del video https://youtu.be/khjrhqiI4bg?si=bF9c5KIBjGer4ZJQ
Project Description: I am looking for an experienced MQL5 developer to create a robust Expert Advisor (EA) for trading XAUUSD (Gold). The system must be designed with adaptability in mind, capable of responding effectively to changing market conditions. Core Requirements: Trading Instrument: XAUUSD (Gold) Strategy Characteristics: The strategy should not be static; it must adapt to different market regimes (trend
SOLICITUD DE DESARROLLO Expert Advisor para MetaTrader 5 XAU/USD (Gold) — Fibonacci + EMAs + Filtro de Noticias ────────────────────────────── ─────────────── Versión: 1.0 | Plataforma: MetaTrader 5 | Par: XAUUSD 1. Resumen Ejecutivo Se solicita el desarrollo de un Expert Advisor (EA) profesional para MetaTrader 5, diseñado exclusivamente para operar el par XAU/USD (Oro al contado). La estrategia combina análisis de
GESTOR PARA CUENTA DE FONDEO DE 100K DE { FTUK DE 100K } CON UNA ESTION DE RIESGO DE 1% AL 5% CON UN HISTORIAL DE MQL5 REAL,TENGO CONEXION ANYDESK Y VPS NO ENTRGO CREDECIALES DE CUENTA PAGO POR ,,,,, REPARTO DE BENEFICIOS { PROFIT SPLIT NEGOCIABLE } PREFERIBLEMENTE HABLAR ESPAÑOLL,,,TRABAJO PARA UN BUEN TIEMPO
Estrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia Acción Precio ReversiónEstrategia

Informations sur le projet

Budget
60+ USD