Function to calculate zigzag values

MQL4 Autre

Tâche terminée

Temps d'exécution 4 heures
Commentaires du client
Great work, fast and accurate.

Spécifications

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 

Répondu

1
Développeur 1
Évaluation
(852)
Projets
1467
72%
Arbitrage
123
28% / 47%
En retard
359
24%
Travail
Publié : 3 articles
2
Développeur 2
Évaluation
(15)
Projets
68
46%
Arbitrage
6
0% / 100%
En retard
6
9%
Gratuit
3
Développeur 3
Évaluation
(5)
Projets
6
33%
Arbitrage
2
0% / 50%
En retard
2
33%
Gratuit
Publié : 6 codes
4
Développeur 4
Évaluation
(180)
Projets
301
30%
Arbitrage
54
24% / 56%
En retard
98
33%
Gratuit

Informations sur le projet

Budget
25 USD
Délais
de 1 à 2 jour(s)