If the trade were really closed, TradeLong would not be executed anymore and thus nothing would be printed. I wonder why you get a printout at all. For the parameters of closed trades you normally need a for(all_trades) loop.

Can you post that script or send it to support? I'd like to check where this mysterious print comes from.