what is the meaning of these sentence in Strategy Tester inside Journal tab?

 

after reaching good place to get profit , I close all my open orders by using these codes:


void closeAllOpenOrders() {

        CTrade trade;

        int i=PositionsTotal()-1;

        while (i>=0)

                {
                        if(trade.PositionClose(PositionGetTicket(i))) {

                                i--;
                        }

                }

}

after that I lost about 1$ for each open order to getting close.

what is the meaning of these sentence in Strategy Tester inside Journal tab?

market buy 0.16 EURUSD, close #16 (1.20337 / 1.20339 / 1.20337)  ( I notice that the order with ticket number #16 is closed before but why still here?)

deal #17 buy 0.16 EURUSD at 1.20339 done (based on order #17)

deal performed [#17 buy 0.16 EURUSD at 1.20339]

order performed buy 0.16 at 1.20339 [#17 buy 0.16 EURUSD at 1.20339]

CTrade::OrderSend: market buy 0.16 position #16 EURUSD [done at 1.20339]
Reason: