Help with RSI EA

 

I am very new to this EA stuff, but very intrigued. I've tried to build an EA that buys when the RIS pops above 30 and then closes that position when RSI, after it exceeds 70, breaks down below 70.

And i'm trying to get it to sell when the RSI breaks below 70 and then close the position when the RSI, after breaking 30 on the downside, pops back up and breaks 30 again.

but my program seems not to be working.

this is what i'm working with. any help much appreciated...

Files:
eurusdrsi.ex4  9 kb
 

We cant open an .ex4 file

Either attach the .mq4 file or if possible, post the code here using the SRC button on the Reply toolbar

-BB-

Reason: