Difference between revisions of "Portfolio NumWinTrades"

From MultiCharts
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Returns a numerical value, indicating the number of all completed winning trades for a portfolio.   
 
Returns a numerical value, indicating the number of all completed winning trades for a portfolio.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Portfolio_NumWinTrades</syntaxhighlight>  
 
<syntaxhighlight>Portfolio_NumWinTrades</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]].
+
* See [[Portfolio TotalTrades]] and [[Portfolio NumLossTrades]] to get the total number of completed trades and the total number of losing trades for the portfolio.
==== Example ====
+
* See [[Portfolio PercentProfit]] to get the percentage of winning trades for all completed trades in the portfolio.
<syntaxhighlight>Portfolio_NumWinTrades will return a value of 5 if there were a total of five completed winning
 
trades  
 
  
Portfolio_NumWinTrades will return a value of 0 if no winning trades were completed during the entire
+
== Example ==
trading period</syntaxhighlight>
+
<syntaxhighlight>Portfolio_NumWinTrades</syntaxhighlight>
 +
* Will return a value of 5 if there were a total of five completed winning trades,
 +
* 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]]

Latest revision as of 14:14, 19 February 2012

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

Usage

Portfolio_NumWinTrades

Notes

Example

Portfolio_NumWinTrades
  • Will return a value of 5 if there were a total of five completed winning trades,
  • Will return a value of 0 if no winning trades were completed during the entire trading period.