Simple script of stop loss trail depending on MA

MQL4 Scripts

Tâche terminée

Temps d'exécution 1 jour

Spécifications

Hi, I need a stop loss trail script.

When I do a buy order, if both of open price and close price of the first candle under MA, for example, MA100, then close the order; When I do a sell order, if both of open price and close price of the first candle above MA100, then close the order.



Ps: the property of MA can be input and changeable, it can be 100 or any other number.






Dossiers :

PNG
exaple_2.png
14.6 Kb

Répondu

1
Développeur 1
Évaluation
(885)
Projets
1410
67%
Arbitrage
123
32% / 41%
En retard
218
15%
Gratuit
Publié : 1 code
2
Développeur 2
Évaluation
(624)
Projets
981
47%
Arbitrage
32
38% / 34%
En retard
96
10%
Travail
Publié : 6 codes
3
Développeur 3
Évaluation
(2296)
Projets
2891
63%
Arbitrage
122
44% / 25%
En retard
429
15%
Travail
4
Développeur 4
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Gratuit
Publié : 6 codes
5
Développeur 5
Évaluation
(618)
Projets
1428
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
6
Développeur 6
Évaluation
(2630)
Projets
3345
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(257)
Projets
341
58%
Arbitrage
7
14% / 71%
En retard
9
3%
Gratuit
8
Développeur 8
Évaluation
(7)
Projets
25
44%
Arbitrage
4
25% / 50%
En retard
18
72%
Gratuit
Publié : 2 articles
9
Développeur 9
Évaluation
(339)
Projets
809
73%
Arbitrage
30
33% / 37%
En retard
194
24%
Gratuit
10
Développeur 10
Évaluation
(10)
Projets
17
53%
Arbitrage
11
27% / 55%
En retard
4
24%
Gratuit

Informations sur le projet

Budget
20 - 30 USD
Délais
de 1 à 3 jour(s)