AverageExitEfficiency

<< Click to Display Table of Contents >>

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

AverageExitEfficiency

Previous page Return to chapter overview Next page

Definition

Returns the average exit efficiency.
 

Property Value

A double value that represents the average exit efficiency.

 

Syntax
<TradeCollection>.TradesPerformance.AverageExitEfficiency

 

 

 

Examples

ns


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