MonthlyUlcer
<< Click to Display Table of Contents >>
Navigation: NinjaScript > Language Reference > Strategy > TradeCollection > TradesPerformance >
Returns the monthly Ulcer index.
A double value that represents the monthly Ulcer index.
protected override void OnBarUpdate() { // Print out the monthly Ulcer index Print("Monthly Ulcer index is: " + SystemPerformance.AllTrades.TradesPerformance.MonthlyUlcer); }