After the 1st short signal was failed (stopped loss), I would like to short again after a short signal hit the target profit, e.g. the 2nd and 3rd one kept failed and the 4th one was successful and I would like to enter trade again when the 5th one occur. How can I code it?