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