NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
Points
Definition Returns a TradesPerformanceValues object in points.
Property Value
A TradesPerformanceValues object that is represented in points.
Syntax <TradeCollection>.TradesPerformance.Points
Examples
protected override void OnBarUpdate() { // Print out the avg. profit of all trades in points
Print("Average profit: " + Performance.AllTrades.TradesPerformance.Points.AvgProfit); }