Code

var objective()
{

print(TO_LOG," NumWinTotal+NumLossTotal : ");
print(TO_LOG,sftoa (NumWinTotal+NumLossTotal, 6));

	return NumWinTotal+NumLossTotal;
}





i get two different values beetween the lines i get in zorro when optimizing and in the text_log, the values in the test log are correct it's the exact number of trades but when trainning i get different result on the window of zorro where the objective resuts are showing

thank's in advance