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
(176)
Projets
236
45%
Arbitrage
17
82% / 12%
En retard
35
15%
Travail
2
Développeur 2
Évaluation
(144)
Projets
198
42%
Arbitrage
20
25% / 55%
En retard
9
5%
Gratuit
3
Développeur 3
Évaluation
(108)
Projets
138
43%
Arbitrage
19
16% / 53%
En retard
20
14%
Chargé
4
Développeur 4
Évaluation
(401)
Projets
705
49%
Arbitrage
57
16% / 49%
En retard
129
18%
Gratuit

Informations sur le projet

Budget
330+ USD
TVA (22%): 72.6 USD
Total: 402.6 USD
Pour le développeur
297 USD