Returns a numerical value, indicating the number of all completed winning trades.
==== Usage ====
<syntaxhighlight>NumWinTrades</syntaxhighlight>
==== Notes ==== * This function can only be used in signals. * Use [[NumLosTrades]] and [[NumEvenTrades]] to get the total number of all completed losing trades and even trades respectively.
==== Example ====<syntaxhighlight>NumWinTrades will </syntaxhighlight>* Will return a value of 5 if there were a total of five completed winning trades , NumWinTrades will * Will return a value of 0 if no winning trades were completed during the entire tradingperiod</syntaxhighlight> .