PerformanceUnit
<< Click to Display Table of Contents >> PerformanceUnit |
Enumeration defining each type of PerformanceUnit calculated by NinjaTrader. Used to store a value for this performance type in PerformanceMetrics.
PerformanceUnit.Currency
PerformanceUnit.Percent
PerformanceUnit.Pips
PerformanceUnit.Points
PerformanceUnit.Ticks
//Prints unrealized PnL in ticks at the close of each bar Print(Position.GetUnrealizedProfitLoss(PerformanceUnit.Ticks, Close[0])); |