==== Notes ==== This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]].
==== Example ==Examples ==<syntaxhighlight>Portfolio_NetProfit will </syntaxhighlight>* Will return a value of 20 if there were winning trades at with results of 25 and 10, and losing trades at with results of -5 and -10 . Portfolio_NetProfit will * Will return a value of -15 if there were winning trades at with results of 10 and 5, and losingtrades at with results of -20 and -10 . Portfolio_NetProfit will * Will return a value of 0 no trades were completed during the entire tradingperiod</syntaxhighlight>.