Difference between revisions of "Portfolio GrossLoss"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a negative numerical value, indicating the total currency value of all completed losing trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_GrossLoss...")
 
Line 8: Line 8:
 
   
 
   
 
==== Example ====
 
==== 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  
+
<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>
+
Portfolio_GrossLoss will return a value of 0 if no losing trades were completed during the  
 +
entire trading period </syntaxhighlight>
 
   
 
   
  
  
 
[[Category:Portfolio Strategy Performance]]
 
[[Category:Portfolio Strategy Performance]]

Revision as of 13:20, 23 January 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.

Example

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