The code of the indicate seems to be a mad i agree.
I ddint understand if u think that indicators is "wrong" and then it doesnt make anything correct and that i shouldnt use it because it even doesnt work properly at live.
My second doubt is if at least i can add an alarm to the indicator to alert me when the line for example is above the 40 lvl and the current value of candle below 10. But maybe make an alarm has the same difficulties of make an ea.
Finally if u fiex some errors, u can send me that file? 
Thanks
