AC arrpw filtered by RSI

 
Hello all,

I am modifying an existing file of AC ARROW on color change. I want it filtered by the RSI 50 level , but i am getting the exact opposite way that it supposed to be. (see attached file) Now it's showing potential reversal. But i want it to be a kind of riding trend.

Can someone kindly fix it please ?

Regards.


Files:
 

I succeed. It's ok now.
Regards
Reason: