×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Portfolio TotalTrades

148 bytes added, 14:11, 19 February 2012
m
Returns a numerical value, indicating the total number of all completed trades for a portfolio.
==== Usage ====
<syntaxhighlight>Portfolio_TotalTrades</syntaxhighlight>
==== Notes ==== * This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. ==== Example ====<syntaxhighlight>Portfolio_TotalTrades will return a value of 5 if there were a * See [[Portfolio NumWinTrades]] and [[Portfolio NumLossTrades]] to get the total number of five completed winning and losing trades  Portfolio_TotalTrades will return a value of 0 if no trades were completed during for the entire tradingperiod</syntaxhighlight> portfolio.
== 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]]

Navigation menu