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

MQL5 Experts Scripts

Tâche terminée

Temps d'exécution 1 heure

Spécifications

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  

Répondu

1
Développeur 1
Évaluation
(117)
Projets
138
41%
Arbitrage
30
7% / 77%
En retard
17
12%
Gratuit
2
Développeur 2
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
1
100%
Gratuit
3
Développeur 3
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
4
Développeur 4
Évaluation
(885)
Projets
1410
67%
Arbitrage
123
32% / 41%
En retard
218
15%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(89)
Projets
139
24%
Arbitrage
34
32% / 44%
En retard
59
42%
Travail
6
Développeur 6
Évaluation
(17)
Projets
19
21%
Arbitrage
1
0% / 0%
En retard
4
21%
Gratuit
7
Développeur 7
Évaluation
(39)
Projets
81
38%
Arbitrage
1
0% / 0%
En retard
31
38%
Gratuit
8
Développeur 8
Évaluation
(89)
Projets
137
24%
Arbitrage
35
9% / 40%
En retard
52
38%
Gratuit
9
Développeur 9
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
10
Développeur 10
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
11
Développeur 11
Évaluation
(328)
Projets
538
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Gratuit
Publié : 1 code

Informations sur le projet

Budget
10 - 20 USD