EA based on Williams % is giving many wrong signals

Hi there, I applied created EA based on the below strategy on 30 min nifty chart





When i apply this EA, I get many EA signal then only with sell and buy both. How is it possible when William % is not crossing -90 or -20. Could somebody tell me how to make EA give right signal based on above strategy.

Bye, Vishal

We are getting the results on the same as above check the screenshot , update your pi if not done