NumWinTrades: Difference between revisions
From MultiCharts
(→Notes) |
mNo edit summary |
||
(One intermediate revision by one other user 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 == | |||
* This function can only be used in signals. | |||
<syntaxhighlight>NumWinTrades | * Use [[NumLosTrades]] and [[NumEvenTrades]] to get the total number of all completed losing trades and even trades respectively. | ||
== Example == | |||
period | <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.