Problem with Stochastic RSI indicator

 
Hi,

I coded this Stochastic RSI indicator and it doesn't fully work. The signal line isn't drawn on the screen. Can anyone spot my bug?

Thanks,
Kevin Robertson
 
I got it to work for the most part, however, it still has problems. Here's the newest version.
Files:
 

Good day


Can you provide Stochastic RSI.ex4 file?

I'm also interested on this indicator.

I had copy your Stochastic RSI.mq4 file but can not operate in my MT4.


Thank you.

Reason: