Job finished
Specification
Hi,
I have built an indicator of over 5000 lines that uses the swing points of the ZIG ZAG to do calculations. The problem for me is that the code i am using to get the ZZ points is embedded through 2 iCustom call functions which is drastically slowing down the calculation speeds of the Indicator making it impossible to utilize in an EA. I need an experienced programmer to code an efficient void() for me that i can add into my indicator that stores the last 5 ZZ Lows and 5 ZZ Highs in an array. All the code for the ZZ Indicator must be included in this void and therefor it cannot use the iCustom function to get info from outside. Also, the code in this void must be as efficient as possible so it doesn't redo all the calculations every time it is called, only as the newest ZZ points change.
there are a couple of factors that must be considered which make this job a bit more complex and they are
- The ZZ that i currently use is not the standard MT4 ZZ. It is a custom ZZ that uses a combination of its own code and an iCustom call to the MT4 ZZ to get the ZZ points. I can provide you with this code, firstly you will have to combine the 2 together to eliminate the iCustom call function.
- The void will need to store last 5 Highs and Lows a total of 3 times each time with a different setting. (i will provide further info about this when job is accepted)
Please only apply for this job if you are an experienced and efficient programmer.
Thanks.
The custom ZZ indicator can be found in the codebase https://www.mql5.com/en/code/10076 If you look at the code you will recognize that this indicator calls the regular ZZ indicator. The reason i use this indicator is because it has a definable extern int called "minpoints" which makes the Zig Zag operate exactly the way i need it to. Minpoints variable means that if a swing is smaller than minpoints in range, it will be disregarded.