Can someone help me with easy code?

 

Hey coders! Can someone help me to modify this EA? (Wide hard)

This is a simple buy low sell high EA throwing out Limit orders ever x minutes that last x minutes/hours. 


What I think would improve it is to add a filter to it. Like RSI..

For example:

So when RSI is lower than 30 = launch the buy limits

And when RSI is higher than 70 = launch the sell limits

And in between it doesnt launch anything



Is this possible? Thanks in advance.

I attach the EA and some pictures to describe what I mean if you didnt get it.


The numbers is not that important. I can change that myself but I cant add the RSI to it and get it to work.. :(

 Thanks in advance.

Files:
WIDE_HARD.mq4  8 kb
EURUSDM152.png  172 kb
EA-FXblue.png  68 kb
 

AlwaysTilt:

Can someone help me to modify this EA?

Is this possible?

I can change that myself but I cant add the RSI to it and get it to work.. :(

  1. If it's so easy and "you can change that yourself," Why haven't you?

  2. Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using CODE button) and state the nature of your problem.
              No free help
              urgent help.

  3. Of course.

  4. Don't try do that. There are no buffers, no IndicatorCounted() or prev_calculated. No way to know if older bars have changed or been added (history update.)
    Just get the value(s) of the indicator(s) into the EA (using iCustom) and do what you want with it.
    You should encapsulate your iCustom calls to make your code self-documenting.
              Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum

Reason: