==== Notes ==== * This function can only be used in signals. * Use [[MaxConsecLosers]] to get the largest losing streak in the completed trades.
==== Example ====<syntaxhighlight>MaxConsecWinners will </syntaxhighlight>* Will return a value of 3 if there were three consecutive completed winning trades , MaxConsecWinners will * Will return a value of 0 if no winning trades were completed during the entiretrading period</syntaxhighlight> .