Send pending order based on opening price of the day

MQL5 脚本

工作已完成

执行时间3 天

指定

I need a script to automate something i do everyday:

A.     The trading strategy is based on the opening price:

B.     Each morning i’ll decide either to sell or buy ( i control this in excel)


 

the input  should be like this:

symbol:

 

type:

buy limit;sell limit

volume

1 or more

delta

chosen by me

price

open price +- delta

 

C.     Its just one order and it must be activated at the moment there is an opening price.

Example market opens at 65.100

 

symbol:

 Winz16

type:

Sell limit

volume

3

delta

50

price

65.150

 

symbol:

 Winz16

type:

Buy limit

volume

1

delta

80

price

65.420

 

buy: open - delta

sell: open + delta  

is it possible to send the order before the market opens? i mean, does mt5 accept an order before market  opens? is it possible to program this?

反馈

1
开发者 1
等级
(885)
项目
1410
67%
仲裁
123
32% / 41%
逾期
218
15%
空闲
发布者: 1 代码
2
开发者 2
等级
(76)
项目
136
45%
仲裁
11
27% / 64%
逾期
26
19%
空闲
发布者: 5 代码

项目信息

预算
10 - 25 USD
截止日期
 1  4 天