Where in this EA can I change and replace the open trade conditions?

 
I have run thru this EA several times and can not understand the open trade conditions. I want to base the open trades off of the RSI indicator. I believe it might give it better direction. Can anyone help?
Files:
ilan1.4.mq4  30 kb
Reason: