Difference between revisions of "Portfolio GrossLoss"

From MultiCharts
Jump to navigation Jump to search
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight>  
 
<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight>  
+
 
 
== 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 Portfolio Trader.
+
The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.'''
 +
* Use [[Portfolio GrossProfit]] to get the gross profit of a portfolio, and [[Portfolio NetProfit]] for the net profit.
 +
* Use [[Portfolio StrategyDrawdown]] and [[Portfolio MaxIDDrawdown]] to get information about the ''current'' decline in equity and the ''worst'' decline in equity for the whole portfolio during the whole trading period.
 +
 
 
== Examples ==
 
== Examples ==
 
<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight>
 
<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight>
 
* 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 -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.
 
* Will return a value of 0 if no losing trades were completed during the entire trading period.
 +
 +
 +
  
 
[[Category:Portfolio Strategy Performance]]
 
[[Category:Portfolio Strategy Performance]]

Latest revision as of 13:55, 25 July 2014

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 Trader.

The value is returned in the currency specified in Portfolio Trader: Portfolio Settings -> Base Currency.

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.