Returns a numerical value, indicating the total number of all completed trades.
==== Usage ====
<syntaxhighlight>TotalTrades</syntaxhighlight>
==== Notes ==== * This function can only be used in signals. ==== Example ====<syntaxhighlight>TotalTrades will return a value of 5 if there were a total of five completed trades TotalTrades will return a value of 0 if no trades were completed during the entire trading period</syntaxhighlight>
== Example ==
<syntaxhighlight>TotalTrades</syntaxhighlight>
* Will return a value of 5 if there were a total of five completed trades,
* Will return a value of 0 if no trades were completed during the entire trading period.