GrossLoss
<< Click to Display Table of Contents >>
Navigation: NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
Returns the gross loss.
A double value that represents the gross loss.
protected override void OnBarUpdate() { // Print out the gross loss of all trades Print("Gross loss is: " + SystemPerformance.AllTrades.TradesPerformance.GrossLoss); }