Yes, it iterates over all open trades and calculates the open profit from scratch. The closed profit only changes when a trade is closed.

What exactly is the problem with the normal exit/enter method? It does normally not matter for transaction cost if you use 1 or 2 orders. You can exit at limit and then enter at the same or another limit.