+1 888 340 6572

Portfolio NumLossTrades: Difference between revisions

From MultiCharts
mNo edit summary
Line 1: Line 1:
Returns a numerical value, indicating the number of all completed losing trades for a portfolio.   
Returns a numerical value, indicating the number of all completed losing trades for a portfolio.   


==== Usage ====
== Usage ==
<syntaxhighlight>Portfolio_NumLossTrades</syntaxhighlight>  
<syntaxhighlight>Portfolio_NumLossTrades</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 ====
== Example ==
<syntaxhighlight>Portfolio_NumLossTrades will return a value of 5 if there were a total of five completed losing  
<syntaxhighlight>Portfolio_NumLossTrades</synaxhighlight>
trades  
* Will return a value of 5 if there were a total of five completed losing trades.
 
* Will return a value of 0 if no losing trades were completed during the entire trading period.
Portfolio_NumLossTrades 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 07:13, 9 February 2012

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

Usage

Portfolio_NumLossTrades

Notes

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

Example

<syntaxhighlight>Portfolio_NumLossTrades</synaxhighlight>

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