The ea runs every tree, on every tick.
If you are using mt4, you can have both buy and sell trades open.
If you don't want that, use a "no trade is running" block, for example.
In the close trades -block, you can filter the trade type, so it closes only buys, for example.
If you want to show exactly what you are doing, create a shared copy from the Projects-menu (top left).