Difference between revisions of "Portfolio GrossProfit"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_GrossProfit</synt...")
 
Line 1: Line 1:
 
Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio.   
 
Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>  
 
<syntaxhighlight>Portfolio_GrossProfit</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 ====
+
== Examples ==
<syntaxhighlight>Portfolio_GrossProfit will return a value of 50 if there were a total of four winning trades, at 10,  
+
<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>
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.
  
Portfolio_GrossProfit will return a value of 0 if no winning trades were completed during the entire
+
<syntaxhighlight>Portfolio_GrossProfit</syntaxhighlight>
trading period </syntaxhighlight>
+
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]]

Revision as of 07:08, 9 February 2012

Returns a numerical value, indicating the total currency value of all completed winning trades for a portfolio.

Usage

Portfolio_GrossProfit

Notes

This function can only be used in signals intended to be used with the Portfolio Backtester.

Examples

Portfolio_GrossProfit

Will return a value of 50 if there were a total of four winning trades, with results of 10, 5, 20, and 15.

Portfolio_GrossProfit

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