I've seen other codes in here where it should work, but:

Code:
int TradeLong() {
   if (TradeIsClosed) {
      print(TO_LOG,"\nTradeProfit: %.2f",TradeProfit);
   }
}

...
enterLong(TradeLong);
...


produces:

Code:
[668: Mon 06.01.14 15:45]  +1 +0 2/0
TradeProfit: 0.00
[EUR/USD::L6502] Target 1@1.3639: +0.89 at 15:47


Is it normal that TradeProfit is no more available when the trade is closed?

Thanks, Sphin