Implementing MA and RSI indicator
-
Hello,
I would like to implement the following strategy:
MA is bigger than RSI - SELL
MA is smaller than RSI - BUYThe key here is that I could not implement MA indicator. In MT4 MA is calculated based on previous indicator's data but in fxdreema there is no such an option. Could anyone please help me? Or does anyone know an alternative solution?
I was not able to load the MT4 template file, but I will upload a screenshot.

-
To do that you would need a custom indicator that gives you what you want to get the signals to enter at market. If you have that custome indicator (.ex4/.ex5 file), you can import it into fxdreema and build your project. Try to get it over internet.
-
I don't know how to put MA over another indicator in the code in the way you do it in MetaTrader
-
Firstly, you need to drag RSI indicator into the chart, after that drag Moving Average indicator into the previously loaded RSI chart and change "Apply to:" parameter into "Previous Indicator's Data".
I got the MA of RSI mql4 code from here https://www.mql5.com/en/forum/137619 and made a custom indicator and after that all works. Thank You!
-
@mmaarits I know how to make it on MetaTrader, but I don't know how to do that in MQL4. I tried iMAOnArray before and I could not make it as well... I forgot the reason. In the link they do that in a custom indicator, which is a bit different than EA
-
Hi, does Anybody know how to solve that problem? I struggle with it as well.
-
@zuwz Made this indicator, mtf, you can import it.
0_1566951453381_ma_rsi_mtf.mq4I'm not a programmer, but learned a few things, and still learning.
If you have success with it, please come back and share settings
I guess those are equally important as the indicator. -
@cpxiom Thanks for replying. I have done it :). I added my indicator to fxdreema . The indicator has MA based on RSI. After that I could do some conditions and create simply strategy. I am not professional as well but step by step I did it.
Let me explain that later because I am at work now. If I come back at home I will share it.
Best.
-
Hello again,
I have found custom indicator MA based on RSI. I am not author of the indicator. If you need to know more check on https://www.mql5.com.
0_1567086831706_alx_RSI_BANDS_MA.mq4
The indicator has to be added on fxDreema builder ( use section My Indicator to add it). The indicator has 4 parametrs: RSI_per, MA_per, Bands_per, Smooth Type. We need to use RSI_per(yellow buffer) and MA_per(navy buffer) only.
I did simply condition:

It means, if MA is crossing above RSI we buy, if MA is crossing below RSI we sell.
Good luck !
-
@zuwz Thanks
I know how to put up the conditions, but thanks for being willing to help.
In my reply, I also shared an indicator, which I see it is approximatively similar to what you found. Made it after an ma-atr indicator found on this site, and added some ma and price options, as well as mtf (multi time frame).I was saying about settings, for example on M5 rsi of 12, etc, but don't know why asked, lol
because that so depends, anyway.
I'm using forward testing lately, as results really do differ... and on any little tweak I have to wait a lot, to see how it plays out... but as I said, no use of settings anyway as everything depends on everything else we use for the ea.
Good chance!
-
@ZUWZ
Hi there. I am basically trying to achieve the same thing as you. I have downloaded the same indicator, and imported into FXdreema. However when I create a test EA it does not open any trades.
Do you know what I am missing here?
https://fxdreema.com/shared/apFH3hhxb -
Hi I managed to import your custom EA. Thank you for creating it. How do I set the MA type to smooth for example?
-
Hello guys I am also having a common problem ,
I am requesting for your help on how to make an ea whereby a 7 ema and a 34 sma are applied onto a 13 period rsi and it trades in a sequence of buy sell buy sell and no stops -
@Creven You will need a custom indicator like the one described above. No block in fxDreema can do that itself.
-
@ZUWZ actually even my strategy is just the same as yours though mine has an ema and an sma both applied onto the rsi so I think this is basically calculating the rsi of two moving averages which I want . So kindly requesting for your help in that
-
Applying indicators on other indicators is easy for the MT4/MT5 platform because all of them are recalibrated automatically on the chart. However, doing that on fxDreema required custom code (ie hiring a programmer to do it) or using a custom indicator incorporating those you need to do the recalibration calculations, ie you will need a programmer again.