Need to edit RSI indicator

 

Hi All,

I'm in the process of developing a small EA based on RSI and couple of other indicators using MQL5 wizard. My problem is I want the RSI indicator to signal only when RSI is >70 or <30 and place buy or sell orders accordingly. But currently it is signaling for Failed swing, Divergence, Double divergence and Head/Shoulders etc. How can I edit and remove these conditions and only leave the first condition? Which file do i need to edit and what to edit. Appreciate your help!

Files:
Capture.PNG  22 kb