Trying to get code to display the total number of profitable and losing trades. Profitable trades I calculated as follows:
profit = profit +1;
Print("Profit: "+profit);
A losing trades I tried to count this way
Print("There are" + Performance.AllTrades.LosingTrades.Count + " losing trades.");
But after seeing the results I was under the impression that counting stops is not correct, please tell me maybe I made a mistake somewhere.
Here is a screenshot Outout Window http://prntscr.com/gi4cic
Comment