Indicator code from MQL4 to MQL5

Mladen Rakic  
Jan4654 #:
Here you go automatically converted.

Did you try to compile and use that thing before you posted it?

Reason: