Preciso de criar as seguintes orden 1st triggers OCO para comprar e para vender. Veja o anexo. Preciso em MT5 e pinescript. Obgdo

MQL5 Asesores Expertos

Tarea técnica

·       All the orders have to be market order.

·       All of them should expire at the end of the day.

·       The criteria to open and close is based on daily data.

·       I would have to be able to change the number of contracts that I want to trade.

·       The idea is: after entering on the trade, it should close if any of the 2 conditions are met. If the conditions are not met, then it will be closed at the end of the day.

 

 

Buy order:  First triggers OCO

 

Criteria:

 

First: Buy a market order. Expiration: Day

When price in greater or equal than open * XXXX

 

Then triggers OCO

 

Sell: OCO 


                        When price in greater or equal than open * YYYY

  Either                                                                                      Or

                        When price in less or equal than open * ZZZZ

 

                                Or

Sell WWWW hours (Market order. Expiration: Day)

 

 

Sell order:  First triggers OCO

 

Criteria:

 

First: Sell a market order. Expiration: Day

When price in less or equal than open * XXXX.

 

Then triggers OCO

 

Buy: OCO

                        When price in less or equal than open * YYYY. (Market order. Expiration: Day)

  Either                                                                                      Or

                        When price in greater or equal than open * ZZZZ. (Market order. Expiration: Day)

 

                                Or

Buy at WWWW hours (Market order. Expiration: Day)

 

 

 









Han respondido

1
Desarrollador 1
Evaluación
(11)
Proyectos
17
59%
Arbitraje
2
0% / 100%
Caducado
2
12%
Libre
2
Desarrollador 2
Evaluación
(515)
Proyectos
554
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
3
Desarrollador 3
Evaluación
(639)
Proyectos
747
34%
Arbitraje
49
53% / 39%
Caducado
14
2%
Trabaja
4
Desarrollador 4
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
Ha publicado: 2 ejemplos

Información sobre el proyecto

Presupuesto
30 - 125 USD
Plazo límite de ejecución
a 5 día(s)