NumWinTrades: Difference between revisions
From MultiCharts
(→Usage) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the number of all completed winning trades. | Returns a numerical value, indicating the number of all completed winning trades. | ||
== Usage == | |||
<syntaxhighlight>NumWinTrades</syntaxhighlight> | |||
==== | == Notes == | ||
<syntaxhighlight>NumWinTrades | * This function can only be used in signals. | ||
* Use [[NumLosTrades]] and [[NumEvenTrades]] to get the total number of all completed losing trades and even trades respectively. | |||
period | == Example == | ||
<syntaxhighlight>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:Strategy Performance]] | [[Category:Strategy Performance]] |
Latest revision as of 19:42, 14 February 2012
Returns a numerical value, indicating the number of all completed winning trades.
Usage
NumWinTrades
Notes
- This function can only be used in signals.
- Use NumLosTrades and NumEvenTrades to get the total number of all completed losing trades and even trades respectively.
Example
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.