Function to calculate zigzag values

MQL4 Outros

Trabalho concluído

Tempo de execução 4 horas
Comentário do cliente
Great work, fast and accurate.

Termos de Referência

Hello, I need a function that calculates zigzag values
based on this zz indicator: https://www.mql5.com/en/code/7796

Function structure:
void get_zz_values(int zz_depth, int zz_deviation, int zz_backstep, int zz_limit){ code }

The function will be writing to two global arrays:
double zz_values[]  - // containing zz_values in order
int zz_barshift[]   - // containing the bar shift of every zz point that was calculated, also in same order

So zz_barshift[0] represents bar shift of zz_values[0] etc...

Guidelines
- The zz calculation logic will be based on - https://www.mql5.com/en/code/7796

- The function will calculate zz values up to zz_limit only (if zz_limit = 5, we calculate only 5 zz values)

- Edit: the function will not use iCustom or special mql4 commands just basic loops, if/else and variables 

Respondido

1
Desenvolvedor 1
Classificação
(852)
Projetos
1467
72%
Arbitragem
123
28% / 47%
Expirado
359
24%
Trabalhando
Publicou: 3 artigos
2
Desenvolvedor 2
Classificação
(15)
Projetos
68
46%
Arbitragem
6
0% / 100%
Expirado
6
9%
Livre
3
Desenvolvedor 3
Classificação
(5)
Projetos
6
33%
Arbitragem
2
0% / 50%
Expirado
2
33%
Livre
Publicou: 6 códigos
4
Desenvolvedor 4
Classificação
(180)
Projetos
301
30%
Arbitragem
54
24% / 56%
Expirado
98
33%
Livre

Informações sobre o projeto

Orçamento
25 USD
Prazo
de 1 para 2 dias