Difference between revisions of "MaxConsecLosers"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed losing trades. ==== Usage ==== <syntaxhighlight>MaxConsecLosers<...") |
m |
||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed losing trades. | Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed losing trades. | ||
− | + | == Usage == | |
<syntaxhighlight>MaxConsecLosers</syntaxhighlight> | <syntaxhighlight>MaxConsecLosers</syntaxhighlight> | ||
− | + | == Notes == | |
− | This function can only be used in signals. | + | * This function can only be used in signals. |
+ | * Use [[MaxConsecWinners]] to get the largest winning streak in the completed trades. | ||
− | + | == Example == | |
− | <syntaxhighlight>MaxConsecLosers | + | <syntaxhighlight>MaxConsecLosers</syntaxhighlight> |
− | + | * Will return a value of 3 if there were three consecutive completed losing trades, | |
− | + | * Will return a value of 0 if no losing trades were completed during the entire trading period. | |
− | trading period | ||
[[Category:Strategy Performance]] | [[Category:Strategy Performance]] |
Latest revision as of 19:46, 14 February 2012
Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed losing trades.
Usage
MaxConsecLosers
Notes
- This function can only be used in signals.
- Use MaxConsecWinners to get the largest winning streak in the completed trades.
Example
MaxConsecLosers
- Will return a value of 3 if there were three consecutive completed losing trades,
- Will return a value of 0 if no losing trades were completed during the entire trading period.