×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Portfolio GrossProfit

222 bytes added, 13:55, 25 July 2014
no edit summary
Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio.
==== Usage ====
<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>
==== Notes ====* This function can only be used in signals intended to be used with the Portfolio BacktesterTrader.* The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.'''* Use the [[Portfolio GrossLoss]] to get the gross loss for the portfolio, and [[Portfolio NetProfit]] to get the net profit. == Examples ==<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>* Will return a value of 50 if there were a total of four winning trades, with results of 10, 5, 20, and 15,* Will return a value of 0 if no winning trades were completed during the entire trading period.
==== Example ====
<syntaxhighlight>Portfolio_GrossProfit will return a value of 50 if there were a total of four winning trades, at 10,
5, 20, and 15
Portfolio_GrossProfit will return a value of 0 if no winning trades were completed during the entiretrading period </syntaxhighlight>
[[Category:Portfolio Strategy Performance]]

Navigation menu