NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >

Points

Print this Topic Previous pageReturn to chapter overviewNext page

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);
}