EA from this mql4base article doesnt work anymore?

 

Hello,

 

I'm having some errors with the following code, even though it originates from this official site:

 http://codebase.mql4.com/ru/source/2493 

 

It seems to generate one tick with a price value of 0, which means the chart scaling becomes unusable. 

 

Can anyone please update this indicator/article? 

 
Also, I lost my old account on the fora?
 
Tried fixing it myself, no luck.
Reason: