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