RSI signal
-
Hello,
I'm new in Fxdreema, I have questions regarding RSI signal. I want to build EA, where RSI gives only a signal (or a trigger) to allow another condition to run, for example MACD.For example, if the RSI goes below 30 level --> then open a trade once the MACD Main/Signal crosses each other. This means, RSI does not need to be below 30 level all the time. (If RSI goes above 30 again, it won't matter)
It needs to be adjustable on how many candlesticks should be counted where RSI below 30. Lets say 2. This mean after 2 candlesticks (where RSI are below 30), then the trigger is now triggered. So, after that, once MACD Main/signal crosses, trade can be opened.
Any helps would be appreciated or redirect me to already open forum would be helpful..
Thanks! -
@andrewfrank You need 2 condition blocks, 1 RSI below value 30, 2 MACD main X> signal (or whatever conditions for the cross you would like), this will work for when the cross happens at the time the RSI is below 30. To add condition for how many candles when below you will have to learn about how logic can be used to affect a trade, and how to use variables..
-
@jstap Thanks for the reply. Sorry I was not clear about my question. I understood what you mentioned, trade will be opened when MACD cross between main x> signal at the time RSI is below 30.
However, what I am still looking is: the RSI works only a trigger, so if the RSI goes below 30 and once MACD main/signal crosses then open a trade. This means, even though MACD main/signal crosses while RSI is already going back to above level 30, a trade can still be opened.
I attached a picture below, number 1 is the trigger of RSI and number 2 is where MACD main/signal crosses and can still open a trade even though RSI is already going back to above level 30.Hope this is more clearer than previous explanation.

-
@andrewfrank Yo need to do something like THIS, put your macd etc in the buy sell tree. (not sure if these rsi conditions are what you need but you'll get the idea)
-
@jstap I already put macd in the buy sell tree. but I am still looking how to put RSI conditions.
Thanks anyway..If anyone have another input, would be appreciated..

-
@andrewfrank Can you please share the link to your current project?
-
@l-andorrà yes, I'll share it
-
@l-andorrà
here is the project: https://fxdreema.com/shared/HnMKt2Fee -
@andrewfrank My suggestions:
- Use just one 'Break even' block for both buys and sells and separate it into a different block tree.
- Create dwo boolean variables as jstap suggested. RSI up and RSI down. Remove both RSI blocks from its current position an create a separate block tree for them so that when RSI is up or down then its variable will be modified accordingly. Finally use two condition blocks on the main block tree requiring the corresponding RSI boolean variable be true.
That should work.
-
@l-andorrà Ok. Thanks for the reply. I have several questions
- ok. got it.
2a. if I use RSI variables true which RSI is down, would this work only as a signal then?
I mean,
if after sometime, RSI is is going back to above 30 level, then can a trade be opened after once MACD signal/line crosses?
2b. https://fxdreema.com/shared/adiRzk6Kc As this suggestion, should RSI variables be created separated first and not connected to the conditions block?
Thanks for the helps!
here is my project if you could look up again: https://fxdreema.com/shared/E5Ymf1v1e - ok. got it.
-
I was using your suggestion regarding the RSI trigger as mentioned above.
However, somehow it didn't work.
If you see picture below. number 1 is where RSI "touched" above level 70 first and then the trade supposed to open where MACD and signal crossed (number 2)
However the trade was opened without considering the RSI. (number 3)Is it possible for you to see my project and let me know if there's something wrong with my setting?https://fxdreema.com/shared/E5Ymf1v1e
Thanks!

-
@andrewfrank In HERE is how I would do it, couldent understand what you meant for 3 but, you should see enough to use.
-
@jstap Thanks!!
is this what I did wrong? I put the "==true", where your setting did not put "==true" in the RSI condition.
This is mine:

and this is yours:

to your question:
Number 3 is where the trade is opened on my demo account. If you see above, the trade is opened where MACD and signal crossed BUT no RSI trigger.Number 1&2 are where I am expecting to do, RSI trigger first and the MACD and signal crosses
-
@andrewfrank ==true isn't needed, never used in this block as works without, probably would cause true/false to be incorrect, it may cause the variable to be modified to true, put the variable into a comment block so you can see what is or isn't working.
-
@jstap Ok. Thank you for the help as usual!
