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