Difference between revisions of "NumEvenTrades"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the total number of all completed even trades. ==== Usage ==== <syntaxhighlight>NumEvenTrades</syntaxhighlight> ==== Notes ==== Th...") |
m |
||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the total number of all completed even trades. | Returns a numerical value, indicating the total number of all completed even trades. | ||
− | + | == Usage == | |
<syntaxhighlight>NumEvenTrades</syntaxhighlight> | <syntaxhighlight>NumEvenTrades</syntaxhighlight> | ||
− | + | == Notes == | |
− | This function can only be used in signals. | + | * This function can only be used in signals. |
+ | * Use [[NumLosTrades]] and [[NumWinTrades]] to get the total number of all completed losing trades and winning trades respectively. | ||
− | + | == Example == | |
− | <syntaxhighlight>NumEvenTrades | + | <syntaxhighlight>NumEvenTrades</syntaxhighlight> |
− | + | * Will return a value of 10 if there were ten completed even trades, | |
− | + | * Will return a value of 0 if no even trades were completed during the entire trading period. | |
− | period | ||
[[Category:Strategy Performance]] | [[Category:Strategy Performance]] |
Latest revision as of 19:40, 14 February 2012
Returns a numerical value, indicating the total number of all completed even trades.
Usage
NumEvenTrades
Notes
- This function can only be used in signals.
- Use NumLosTrades and NumWinTrades to get the total number of all completed losing trades and winning trades respectively.
Example
NumEvenTrades
- Will return a value of 10 if there were ten completed even trades,
- Will return a value of 0 if no even trades were completed during the entire trading period.