Calculation of the “Highest/Lowest Candle Body point” in different time period

MQL4 Sripts

Trabajo finalizado

Plazo de ejecución 3 días

Tarea técnica

I need functions to calculate the “Highest/Lowest Candle Body point” of different periods for my own coding, I know it is easy to code the HIGH and LOW point of a candle/period, but it is not what I want, what I want is the point of “highest/lowest candle body”. So the functions should return that number to me. Pls refer the following graphic.

Highest ad Lowest candle body point


I will apply this function in different time chart, including daily, 4 hour, 1 hour, 15min...etc. For 4 hour chat, period is a week, for 1 hour chat or below, period is a day, however, pls note that the “Highest candle point” and “Lowest candle point” may different in 1 hour, 30 min, 15 min, 5 min and 1 min chart. What i need are 3 functions for 5-periods, last period and current period, pls refer the following graphic.

period definition

Finally ,  Since i am a rookie of programming, i hope you can give me simple description on important line of code , and if you can  code some way for me to easier checking your code, for example, if i can put put your code to a 1m chart and run, and there is a messagebox/alert can show me the code is running and keep update the result , then i can pay you faster, and both of us win-wn.

If you have any inquiry, pls let me know.








Han respondido

1
Desarrollador 1
Evaluación
(40)
Proyectos
55
35%
Arbitraje
2
0% / 50%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(15)
Proyectos
23
9%
Arbitraje
7
29% / 57%
Caducado
2
9%
Libre
3
Desarrollador 3
Evaluación
(30)
Proyectos
35
26%
Arbitraje
0
Caducado
4
11%
Libre
4
Desarrollador 4
Evaluación
(4)
Proyectos
7
29%
Arbitraje
3
0% / 33%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(305)
Proyectos
546
35%
Arbitraje
79
32% / 42%
Caducado
196
36%
Trabaja
6
Desarrollador 6
Evaluación
(54)
Proyectos
102
23%
Arbitraje
12
25% / 17%
Caducado
13
13%
Libre
7
Desarrollador 7
Evaluación
(58)
Proyectos
66
8%
Arbitraje
39
26% / 56%
Caducado
12
18%
Trabaja
8
Desarrollador 8
Evaluación
(159)
Proyectos
215
76%
Arbitraje
4
50% / 25%
Caducado
18
8%
Libre
Ha publicado: 2 artículos
9
Desarrollador 9
Evaluación
(361)
Proyectos
643
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 10 día(s)