Portfolio GrossLoss: Difference between revisions
From MultiCharts
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
(→Notes) |
||
Line 5: | Line 5: | ||
== Notes == | == Notes == | ||
This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. | * This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. | ||
* Use [[Portfolio GrossProfit]] to get the gross profit of a portfolio, and [[Portfolio NetProfit]] for the net profit. | |||
== Examples == | == Examples == | ||
<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight> | <syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight> |
Revision as of 13:54, 19 February 2012
Returns a negative numerical value, indicating the total currency value of all completed losing trades for a portfolio.
Usage
Portfolio_GrossLoss
Notes
- This function can only be used in signals intended to be used with the Portfolio Backtester.
- Use Portfolio GrossProfit to get the gross profit of a portfolio, and Portfolio NetProfit for the net profit.
Examples
Portfolio_GrossLoss
- Will return a value of -50 if there were a total of four losing trades, with results of -10, -5, -20, and -15,
- Will return a value of 0 if no losing trades were completed during the entire trading period.