If my program exit a trade and I want it too wait for 1 or two candles (5min) before it take another position, how do I write that code?