Difference between revisions of "NumWinTrades"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the number of all completed winning trades. ==== Usage ==== <syntaxhighlight>NumWinTrades</syntaxhighlight> ==== Notes ==== This f...") |
m |
||
(3 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> | <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.