Arrow disappear and then what? Do you want to buy or sell 2 candles after the latest candle with arrow on it? Because then you can just check whether there is an arrow on candle 2.
Where does that error appear? It sounds familiar to me, but not really.