I think you should place Block 1(once per bar) after Block 2 and Block 6 so that you can check the conditions many times on every tick receive and performs once only when Condition is True.
I think on your current logic, it will only performs the logic of Buy and Close position when New Bar appears and wait for the next Bar to appear and check once again the Conditions if True because the Block 1(once per Bar) limits to test your condition one time only for every Bar Candle.
L