I do not recommend to use those 'close trades' blocks in that positions. They should be below the 'if trade' block. Can you please show the 'condition' blocks settings?