When back testing I have a problem that i want my trade to stay on for at least one bar before it sells I have two programmes that I have written but dont know how to add the code or where inside the code to place it. Any help would be amazing, I have attached the robots below,