Coding 2 Function for Measuring the Length in Terms of Numbers of Candles of N Swing given as Input

MQL5 Scripts Consultation

Tâche terminée

Temps d'exécution 15 jours
Commentaires du client
Great!
Commentaires de l'employé
Patient customer

Spécifications

var1

extern int Number of Swing to Check : the amount of different swing that I want to check, ie 7 means I will check the one where we are + the already concluded 6

- extern int maxCandlexSwing : this will be used to check if a swing respect the max number of candles inside

⁃ A Swing is a streak of candle in one direction

The Function Work as a Loop That Check:

Max Candles into a Swing


var2

- 1 extern int variable that determine how many swing I want to check

1 extern int variable for Every Swing From 1 to [Number of Swing to Check] I need 25 of this: this variable will define the length of the swing 

so if I want to check that swing 1, the current, has only 1 candle, I will put 1 into that input var

and if I want the swing n2 lasting for 2 candles, I will put 2 as input and so on with all the other extern parameters

The return have to be 0 for long and 1 for short

+ I need an extra function on an existing ea

Répondu

1
Développeur 1
Évaluation
(209)
Projets
281
46%
Arbitrage
27
59% / 37%
En retard
36
13%
Gratuit
2
Développeur 2
Évaluation
(144)
Projets
199
42%
Arbitrage
20
25% / 55%
En retard
10
5%
Gratuit
3
Développeur 3
Évaluation
(144)
Projets
168
49%
Arbitrage
22
14% / 55%
En retard
22
13%
Travail
4
Développeur 4
Évaluation
(456)
Projets
794
49%
Arbitrage
71
17% / 54%
En retard
139
18%
Travail

Informations sur le projet

Budget
330+ USD