You need a for each trade block, maybe you just want to check account profit then close:
e72dc9e5-874e-41c4-a78f-807f16068075-image.png