NumWinTrades: Difference between revisions
From MultiCharts
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
mNo edit summary |
||
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> | <syntaxhighlight>NumWinTrades</syntaxhighlight> | ||
== Notes == | |||
This function can only be used in signals. | * 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 == | |||
<syntaxhighlight>NumWinTrades | <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. | |||
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.