@Tehern Yes, you should use two separate 'for each trade' block trees, one for each function. You current use of a blue 'trailing stop' block connected below a 'for each trade' is not good because you are connecting a loop to another loop. You'd better use pink block only on both blot trees.