i want it to work this way. If the candle closes and generates cross while rsi is below 50, then send a signal.
In your screenshot you can see that the very first signal as i guess its to buy is without any cross, and just before sell cross. why? there is no such conditions at that point to draw vertical line.
Other observation, why there is some buy or sell signals going one by another. there is two buy signals next to each other. it should not be this way. there is no possible circumstances that cross can be generated above or below two times in a row.
Waiting for your reply. hope you will sort it out...