Hi,
First hellkas

I will appreceate you keep my file header after converting the mql indicator with my tool Mql2Mq4 !!!
Then it's normal that the converted one does not work properly, if you look in Metatrade 4 in the Expert message log TabSheet (Panel) you will see "Zero Devide exception" like on this picture. In the Indicator script you use divide operator, with some times NULL :-( that's whyt this error, and I repeat, in Metatrade 3, there were no exceptions generated for that, nevertheless in Metatrade 4.
I put the converted one working like on MT 3, and you can see what type of change i've made.
Bye bye