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

MQL4 Scripts

Trabalho concluído

Tempo de execução 3 dias

Termos de Referência

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.








Respondido

1
Desenvolvedor 1
Classificação
(40)
Projetos
55
35%
Arbitragem
2
0% / 50%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(15)
Projetos
23
9%
Arbitragem
7
29% / 57%
Expirado
2
9%
Livre
3
Desenvolvedor 3
Classificação
(30)
Projetos
35
26%
Arbitragem
0
Expirado
4
11%
Livre
4
Desenvolvedor 4
Classificação
(4)
Projetos
7
29%
Arbitragem
3
0% / 33%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(305)
Projetos
546
35%
Arbitragem
79
32% / 42%
Expirado
196
36%
Trabalhando
6
Desenvolvedor 6
Classificação
(54)
Projetos
102
23%
Arbitragem
12
25% / 17%
Expirado
13
13%
Livre
7
Desenvolvedor 7
Classificação
(58)
Projetos
66
8%
Arbitragem
39
26% / 56%
Expirado
12
18%
Trabalhando
8
Desenvolvedor 8
Classificação
(159)
Projetos
215
76%
Arbitragem
4
50% / 25%
Expirado
18
8%
Livre
Publicou: 2 artigos
9
Desenvolvedor 9
Classificação
(361)
Projetos
643
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 10 dias