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

MQL5 Esperti

Specifiche

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

 

 

 









Con risposta

1
Sviluppatore 1
Valutazioni
(11)
Progetti
17
59%
Arbitraggio
2
0% / 100%
In ritardo
2
12%
Gratuito
2
Sviluppatore 2
Valutazioni
(515)
Progetti
554
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
3
Sviluppatore 3
Valutazioni
(639)
Progetti
747
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
4
Sviluppatore 4
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici

Informazioni sul progetto

Budget
30 - 125 USD
Scadenze
a 5 giorno(i)