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

MQL5 Scripts Consultation

Job finished

Execution time 15 days
Feedback from customer
Great!
Feedback from employee
Patient customer

Specification

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

Responded

1
Developer 1
Rating
(213)
Projects
286
47%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(144)
Projects
199
42%
Arbitration
20
25% / 55%
Overdue
10
5%
Free
3
Developer 3
Rating
(145)
Projects
169
50%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
4
Developer 4
Rating
(465)
Projects
815
49%
Arbitration
75
21% / 51%
Overdue
142
17%
Working

Project information

Budget
330+ USD