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

MQL5 Experts Scripts

Job finished

Execution time 1 hour

Specification

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  

Responded

1
Developer 1
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
3
Developer 3
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
4
Developer 4
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
218
15%
Free
Published: 1 code
5
Developer 5
Rating
(89)
Projects
139
24%
Arbitration
34
32% / 44%
Overdue
59
42%
Working
6
Developer 6
Rating
(17)
Projects
19
21%
Arbitration
1
0% / 0%
Overdue
4
21%
Free
7
Developer 7
Rating
(39)
Projects
81
38%
Arbitration
1
0% / 0%
Overdue
31
38%
Free
8
Developer 8
Rating
(89)
Projects
137
24%
Arbitration
35
9% / 40%
Overdue
52
38%
Free
9
Developer 9
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
10
Developer 10
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
11
Developer 11
Rating
(328)
Projects
538
66%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code

Project information

Budget
10 - 20 USD