700
edits
No edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
== Notes == | == Notes == | ||
This function can only be used in signals intended to be used with the [[ | * This function can only be used in signals intended to be used with the Portfolio Trader. | ||
* 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 == | == Examples == | ||
<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight> | <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 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. | |||
[[Category:Portfolio Strategy Performance]] | [[Category:Portfolio Strategy Performance]] |