Function To Get Position of Stop Loss on Current Open Trade

MQL5 Autre Design

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Very happy with the work code provided. Thank you.
Commentaires de l'employé
Excellent customer! Very thanks for order!

Spécifications

Hi,


I need someone to write a basic function for MQL5.

This function will return a 1 or a zero

The function will get the open price and the current price of the stop loss from the most recent active trade.

if ( trade is a buy trade and the current stop loss price is >= the open price) return 1 else return 0

if ( trade is a sell trade and the current stop loss price is <= the open price) return 1 else return 0

If interested in coding this function, please let me know.

Répondu

1
Développeur 1
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
2
Développeur 2
Évaluation
(73)
Projets
85
44%
Arbitrage
10
40% / 50%
En retard
9
11%
Gratuit
3
Développeur 3
Évaluation
(225)
Projets
285
41%
Arbitrage
15
13% / 47%
En retard
67
24%
Gratuit
4
Développeur 4
Évaluation
(59)
Projets
81
43%
Arbitrage
27
11% / 70%
En retard
8
10%
Gratuit
5
Développeur 5
Évaluation
(2653)
Projets
3370
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(135)
Projets
163
40%
Arbitrage
11
27% / 73%
En retard
24
15%
Gratuit
7
Développeur 7
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Travail
Publié : 6 codes
8
Développeur 8
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
9
Développeur 9
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
10
Développeur 10
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
11
Développeur 11
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
12
Développeur 12
Évaluation
(64)
Projets
144
46%
Arbitrage
19
42% / 16%
En retard
32
22%
Gratuit
13
Développeur 13
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes

Informations sur le projet

Budget
30 - 50 USD
Délais
de 1 à 2 jour(s)