Need help with coding prepare signal for my simple indicator

 
Hello i have simple indicator showing rsi over bough and oversold indicator and williams over bought and oversold. I would like to get signal when rsi touches the OB/OS levels before it gives final arrow when paramaters of rsi and williams colide. If there is line of i code i need to add please HELPppp!!!
Reason: