+1 888 340 6572

Portfolio TotalTrades: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical value, indicating the total number of all completed trades for a portfolio. ==== Usage ==== <syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight> ...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Returns a numerical value, indicating the total number of all completed trades for a portfolio.   
Returns a numerical value, indicating the total number of all completed trades for a portfolio.   


==== Usage ====
== Usage ==
<syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight>  
<syntaxhighlight>Portfolio_TotalTrades</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 NumWinTrades]] and [[Portfolio NumLossTrades]] to get the total number of completed winning and losing trades for the portfolio.
==== Example ====
<syntaxhighlight>Portfolio_TotalTrades will return a value of 5 if there were a total of five completed trades  
 
Portfolio_TotalTrades will return a value of 0 if no trades were completed during the entire trading
period</syntaxhighlight>


== Example ==
<syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight>
* Will return a value of 5 if there were a total of five completed trades,
* Will return a value of 0 if no trades were completed during the entire trading period.


[[Category:Portfolio Strategy Performance]]
[[Category:Portfolio Strategy Performance]]

Latest revision as of 14:11, 19 February 2012

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

Usage

Portfolio_TotalTrades

Notes

Example

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