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

MQL5 Experts

Termos de Referência

·       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)

 

 

 









Respondido

1
Desenvolvedor 1
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
2
Desenvolvedor 2
Classificação
(515)
Projetos
554
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
3
Desenvolvedor 3
Classificação
(639)
Projetos
747
34%
Arbitragem
49
53% / 39%
Expirado
14
2%
Trabalhando
4
Desenvolvedor 4
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos

Informações sobre o projeto

Orçamento
30 - 125 USD
Prazo
para 5 dias