It's working properly now I think. I've attached the working version. For visual clarity it buys a maximum 2 positions and waits 5 bars after buying one position before opening another.
Note, for it to work the way you wanted, you have to change the default settings on the Check profit (unrealized) block as shown in the picture.
https://fxdreema.com/shared/9Fge6c36e
0_1602657867344_Screenshot 2020-10-14 083825.png