AverageTotalEfficiency

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >

AverageTotalEfficiency

Previous page Return to chapter overview Next page

Definition

Returns the average total efficiency.
 

Property Value

A double value that represents the average total efficiency.

 

Syntax
<TradeCollection>.TradesPerformance.AverageTotalEfficiency

 

 

 

Examples

ns

protected override void OnBarUpdate()
{
    // Print out the average total efficiency
    Print("Average total efficiency is: " + SystemPerformance.AllTrades.TradesPerformance.AverageTotalEfficiency);
}