Discussion of article "The Implementation of Automatic Analysis of the Elliott Waves in MQL5" - page 8

 
The coder deleted his account and never gave any responses will look into how i can update this and revert to you all unless if there is anyone else who managed to fix the bugs 
 
Amos Tsopotsa #:
The coder deleted his account and never gave any responses will look into how i can update this and revert to you all unless if there is anyone else who managed to fix the bugs 
Any folow up with the code corrections / fixes. I tried to compile the code and got 15 errors and 25 warnings starting with "," -unexpected tolken in line 511:    int n=Zigzag(H,Start,Finish,IndexVertex,ValueVertex);//declare the class for storing the indexes and values of the zigzag tops
 

Thank you for the great work you have done. I want this algorithm to be able to be used everywhere, so I am in the process of rewriting it in Golang. I have a question:

In the WaveRules function, there is the following line in the "Divergent triangles" check step:

WaveAMoreWaveB(3,2)>=0 && WaveAMoreWaveB(3,2)>=0

Obviously, there is an error here, because I can't imagine a situation when one and the same thing should be checked 2 times in a row. What did the author want to say by the second check WaveAMoreWaveB(3,2)?
Perhaps it is necessary to check only once, or perhaps it is necessary to substitute some other numbers in the second check?

Thank you in advance for your answer.

 

Please also note that the High and Low arrays have never been used in the WaveRules function. Most likely, they are not needed. Tell me if I am wrong.

double High[],Low[];
   ArrayResize(High,ArrayRange(rates,0));
   ArrayResize(Low,ArrayRange(rates,0));