+1 888 340 6572

Portfolio GrossLoss: Difference between revisions

From MultiCharts
No edit summary
Line 1: Line 1:
Returns a negative numerical value, indicating the total currency value of all completed losing trades for a portfolio.   
Returns a negative numerical value, indicating the total currency value of all completed losing trades for a portfolio.   


==== 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 Portfolio Backtester.  
This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]].  
==== Example ====
<syntaxhighlight>Portfolio_GrossLoss will return a value of -50 if there were a total of four losing trades, at 10,
5, 20, and 15
 
Portfolio_GrossLoss will return a value of 0 if no losing trades were completed during the entire
trading period </syntaxhighlight>
   
   
== Examples ==
<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.


<syntaxhighlight>Portfolio_GrossLoss</syntaxhighlight>
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]]

Revision as of 07:07, 9 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.

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.

Portfolio_GrossLoss

Will return a value of 0 if no losing trades were completed during the entire trading period.