How to use RSI level for another indicator?

 
I wanna to use specific RSI levels for another indicator like alligator (like below picture).

For example I wanna to use tow level of RSI indicator (30, 70) and when alligator cross these levels then open trade.

How can I use that in mql code? 
Files:
setup.jpg  150 kb
Reason: