* Will return a value of 50 if there were a total of four winning trades, with results of 10, 5, 20, and 15.<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>,* Will return a value of 0 if no winning trades were completed during the entire trading period.