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

MQL5 EA

명시

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

 

 

 









응답함

1
개발자 1
등급
(11)
프로젝트
17
59%
중재
2
0% / 100%
기한 초과
2
12%
무료
2
개발자 2
등급
(515)
프로젝트
554
53%
중재
13
69% / 15%
기한 초과
3
1%
무료
3
개발자 3
등급
(639)
프로젝트
747
34%
중재
49
53% / 39%
기한 초과
14
2%
작업중
4
개발자 4
등급
(298)
프로젝트
478
40%
중재
105
40% / 24%
기한 초과
82
17%
로드됨
게재됨: 2 코드

프로젝트 정보

예산
30 - 125 USD
기한
로 5 일