How do you handle this case.
Entry condition is based on 5 min candle.
Exit condition is based on 3 min candle.
As soon as exit happens, it is re entering into position since condition holds good for 5 min entry.
How to avoid re-entry and make it wait for elapsing of 5 mins after exit ?