Setting RSI and MA custom indicators
-
Hi. I've uploaded MA and RSI custom indicators that I created on EA Builder. I want the EA to buy when the MA (period 1) crosses above the 20 RSI level (also period 1), and then sell when the MA (period 1) crosses below the 80 RSI level (also period 1). Are my settings correct here https://fxdreema.com/shared/DavRl8C6d ? (The EA is not opening any trades and is also not showing the MA or RSI levels on the Strategy Tester)
-
Does your custom indicator have buffers?
-
Yes, but how should they be connected? Here's the project, please have a look - https://fxdreema.com/shared/zEd4dRNgc
-
You say yes but is this returning a usable value? Put the buffers into a comment block, and check the value can be used together
-
The EA is not returning/reflecting any values at all - both on the Tester and demo account. By 'yes', I'm only confirming that the indicator's buffers can be seen on Fxdreema under "My indicators" - see snapshot below

Regarding the comment block, I've never used this before. Does this go directly under the condition block?
-
A comment block can go almost anywhere, I put it above a block but it will not affect the block it is connected to actions, inside add the custom buffer's indicator.
-
how can i place opposite order
-
On trade tab, the reason for placing opposite, place oposite
-
Sorry I was offline for the past few days. I tried using the comment block but still no values reflected on the chart and also no trades at all. Here's the link - https://fxdreema.com/shared/kdFw5rxsc
-
On the on trade tab I mean something like the picture, only placing a trade rather than BE:

-
-
This is why we say to create a new question not add to someone else's, start a new question and I'll have a look.
-
I'm the author of the original question...
-
@ambrogio Can you assist with the above? Here's the link - https://fxdreema.com/shared/kdFw5rxsc . I also attach the custom indicator I mentioned in my original post RSI-MA Indicator.mq5
-
Put a label in the comment box to see what it receives, delete one and put all buffers together
I would set buy/sell in the no position block while testing so as not to limit the actions.
Once you have the values returned you will know if the indicator should work on your project -
@Lerumo sorry, i think your custom indicator have some problems
-
@ambrogio Okay I've just used a different indicator for MT4 now; I downloaded this indicator and it has worked for others. Please see if it works on your end - https://fxdreema.com/shared/4IKIxUckd . Here's the MT4 indicator - alx_rsi_bands_ma.mq4
-
@Lerumo Did you check if this indicator repaints? Never trust what others say about it. Check it on your project before moving on. If it repaints, the bot is doomed.
-
@Lerumo said in Setting RSI and MA custom indicators:
@ambrogio Okay I've just used a different indicator for MT4 now; I downloaded this indicator and it has worked for others. Please see if it works on your end - https://fxdreema.com/shared/4IKIxUckd . Here's the MT4 indicator - alx_rsi_bands_ma.mq4
what is the problem with that indicator?
-
Thanks everyone. I believe the issue was that the custom indicators don't show the relevant RSI levels (80, 20) by default. These levels are therefore not included as 'buffers' in the indicators; hence the EA can't read these levels and take action on the basis thereof. I'll look for a custom indicator that automatically displays the RSI levels and has them as buffers - or find out how to build one using EA Builder. Will try again and let you know if I have any issues. Thanks again