Returns a negative numerical value, indicating the total currency value of all completed losing trades.
==== Usage ====
<syntaxhighlight>GrossLoss</syntaxhighlight>
==== Notes ==== * This function can only be used in signals. * Use [[GrossProfit]] to get the total currency value of all completed winning trades, and [[NetProfit]] and [[PercentProfit]] to get the total profit for the strategy.
==== Example ====<syntaxhighlight>GrossLoss will </syntaxhighlight>* Will return a value of -50 if there were a total of four losing trades, at 10, 5, 20, and 15 , GrossLoss will * Will return a value of 0 if no losing trades were completed during the entire tradingperiod</syntaxhighlight>.