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

MQL5 专家

指定

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