fixing an indicator

 
Hi, I heard in somwhere that this indicator is very useful.
The probleme is that there is an error in his code. :(
I am not a coder but i know some programming so i checked and i think it is not a big deal so can some one please give it a look and try to fix it ?
Files:
 
faisal31:
Hi, I heard in somwhere that this indicator is very useful.
The probleme is that there is an error in his code. :(
I am not a coder but i know some programming so i checked and i think it is not a big deal so can some one please give it a look and try to fix it ?
It might help if you said what the problem was . . . it compiles OK.
 
If you know that there is an error, then you already know what the problem is and should be able to fix it yourself. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: