Pips

<< Click to Display Table of Contents >>

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

Pips

Previous page Return to chapter overview Next page

Definition

Returns a TradesPerformanceValues object in pips.
 

Property Value

A TradesPerformanceValues object that is represented in pips.

 

Syntax
<TradeCollection>.TradesPerformance.Pips

 

 

Examples

ns

protected override void OnBarUpdate()
{
    // Print out the avg. profit of all trades in pips
    Print("Average profit: " + SystemPerformance.AllTrades.TradesPerformance.Pips.AverageProfit);
}