MonthlyUlcer

<< Click to Display Table of Contents >>

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

MonthlyUlcer

Previous page Return to chapter overview Next page

Definition

Returns the monthly Ulcer index.

 

Property Value

A double value that represents the monthly Ulcer index.

 

Syntax
<TradeCollection>.TradesPerformance.MonthlyUlcer

 

 

 

Examples

ns


protected override void OnBarUpdate()
{
    // Print out the monthly Ulcer index
    Print("Monthly Ulcer index is: " + SystemPerformance.AllTrades.TradesPerformance.MonthlyUlcer);
}