MaxConsecWinners: Difference between revisions
From MultiCharts
m
no edit summary
(Created page with "Returns a numerical value, indicating the number of trades in the longest sequence of consecutive completed winning trades. ==== Usage ==== <syntaxhighlight>MaxConsecWinner...") |
mNo edit summary |
||
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]] |