EA not registering RSI crossover
-
Hi, I added my project below.
It is a simple RSI EA that should open a buy order when the RSI is crossing the value 30 (which works) but then it should close the order again when it is crossing the 70 (which doesn't work).
I am not really sure where my problem is and I hope you could help me.Thanks a lot.
-
Wondering the same thing, I tried using the same values adding a trailing stop loss. Works fine in backtest but in live charts can't get it to make a single purchase
-
@kobbi hi, set candle ID 1

-
@ambrogio
Hello ambrogio very intresting picture. Im also very curious about the exit. how do end the trade when crossline is x< 70. -
hey guys. i created the EA to sell when the RSI period 4 crosses above 70 and to close the sell when it crosses below 10. However it only opens one trade that does not close even after the RSI period crosses below 10. Please help.....this is how i did it

-
Can you please share your project? That screenshot is not clear enough?
-
-
@miano
You need to be more defined, more conditions, what is to close when cross below 10 bull candle or bear candle, if the program doesn't know what you want it can't perform what you want, when you string your blocks together, think on how the the computer see it , you have a lot of blocks that are per-programmed for you to link together.- Start off with (no order block) then 1st condition RSI X< 70, the current Candle would be 0, if you use 1 would be past time the candle before the current one.
then Sell order Block, set T-P and ST-L
Don't use connect no blocks to sell order. - Use (if trade Block) sell only
then (condition block) under (if trade block)
condition would be RSI X< 10
the add (Close Trade )Block- Sells only.
you can do the same for buy, just copy and past and reverse direction. hope this helps....
- Start off with (no order block) then 1st condition RSI X< 70, the current Candle would be 0, if you use 1 would be past time the candle before the current one.
-
@miano everything in one tree, from "no position" all the way to "close positions" here will always happen together, in one second, or in one tick in this case (see the "on Tick" up there?).
You probably dont want to close your sell immediately after opening it - if that's the case, cut the link between "sell now" and "condition", so they can be 2 different processes.
-
thanks so much. let me try it out