ORDER AT THE END OF THE BAR WHEN THE DISTANCE CONDITION IS PROVIDED
I recommend adding the one trade bar grid option with the fixed distance requirement to reduce the risk. I have attached a picture of the difference between the two at the same levels.
Done in 2.20.5