Hy guys, I'd like to implement a candle conditional to this existing rsi strategy (viewtopic.php?f=31&t=31552&start=60) with 2 consecutive rsi candles (the last one higher than the previous one, for ex: rsi61 and rsi67) and with the 3th candle lower than the previous one, but want to be able to set the limit where this strategy will start working, for ex in this case above 60rsi. Want the strategy to trigger my sell order only when will detects this sequence of 3 candles: rsi61, rsi67, rsi64
I will give an example for a better understanding:
1) in current Highly adaptable RSI Strategy
candle 1 have rsi 61
candle 2 have rsi 67
candle 3 have rsi 64
candle 4 have rsi 63
candle 5 have rsi 57
set rsi to sell above 60 and close position when rsi gets under 40 => will open 4 short positions
set rsi to sell udner 60 and close position when rsi gets under 40 => will open one short on the 6candle because the strategy detects that the 5candle is udner rsi60
2) same example but with candles conditional I want
candle 1 have rsi 61
candle 2 have rsi 67
candle 3 have rsi 64
candle 4 have rsi 63
candle 5 have rsi 57
set rsi to sell above 60 and close position when rsi gets under 40 => if strategy detects that the next candle have a higher rsi (candle 2 have a higher rsi than candle 1) then do nothing;
when candle 3 have a lower rsi than candle 2 but the two previous candles where in a higher consecutive form => open short;
candle 4 have a lower rsi than the previous one, but the 2 previous candles are not in a higher consectuive values => dont' open any short
Thank you in advance and hope I've explaneid well