Script to place buy stop and sell stop orders on every new h1 candle

MQL5 专家 脚本

工作已完成

执行时间1 一小时

指定

The script must perform the following tasks for the current symbols At every new 1 hour candle:

1. get the open candle price and set 1 BUY STOP order at X pips of distance (number to set) from the open price with (number to set) pips Take Profit and (number to set) pips Stop Loss.

2. get the open candle price and set 1 SELL STOP order at X pips of distance (number to set) from the open price with (number to set) pips Take Profit and (number to set) pips Stop Loss.

3. If any (or both) pending orders has not been executed, script must cancel pending orders before the new 1 hour candle  

反馈

1
开发者 1
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
2
开发者 2
等级
(1)
项目
1
0%
仲裁
0
逾期
1
100%
空闲
3
开发者 3
等级
(1156)
项目
1462
63%
仲裁
21
57% / 10%
逾期
43
3%
空闲
4
开发者 4
等级
(885)
项目
1410
67%
仲裁
123
32% / 41%
逾期
218
15%
空闲
发布者: 1 代码
5
开发者 5
等级
(89)
项目
139
24%
仲裁
34
32% / 44%
逾期
59
42%
工作中
6
开发者 6
等级
(17)
项目
19
21%
仲裁
1
0% / 0%
逾期
4
21%
空闲
7
开发者 7
等级
(39)
项目
81
38%
仲裁
1
0% / 0%
逾期
31
38%
空闲
8
开发者 8
等级
(89)
项目
137
24%
仲裁
35
9% / 40%
逾期
52
38%
空闲
9
开发者 9
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
10
开发者 10
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
11
开发者 11
等级
(328)
项目
538
66%
仲裁
53
21% / 40%
逾期
169
31%
空闲
发布者: 1 代码

项目信息

预算
10 - 20 USD