Function to calculate zigzag values

MQL4 Sonstiges

Auftrag beendet

Ausführungszeit 4 Stunden
Bewertung des Kunden
Great work, fast and accurate.

Spezifikation

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 

Bewerbungen

1
Entwickler 1
Bewertung
(852)
Projekte
1467
72%
Schlichtung
123
28% / 47%
Frist nicht eingehalten
359
24%
Arbeitet
Veröffentlicht: 3 Artikel
2
Entwickler 2
Bewertung
(15)
Projekte
68
46%
Schlichtung
6
0% / 100%
Frist nicht eingehalten
6
9%
Frei
3
Entwickler 3
Bewertung
(5)
Projekte
6
33%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
2
33%
Frei
Veröffentlicht: 6 Beispiele
4
Entwickler 4
Bewertung
(180)
Projekte
301
30%
Schlichtung
54
24% / 56%
Frist nicht eingehalten
98
33%
Frei

Projektdetails

Budget
25 USD
Ausführungsfristen
von 1 bis 2 Tag(e)