GpuPeakResult
StockSharp.Algo.Gpu.Indicators
GPU result for Peak calculation.
Реализует: IGpuIndicatorResult
Методы
ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuPeakResult.ToValue(indicator)
Convert GPU result to appropriate indicator value.
- indicator
- The indicator to create value for.
Возвращает: Indicator value compatible with the specified indicator type.
Поля
HasValue
public byte HasValue
value = gpuPeakResult.HasValue
Flag indicating presence of a valid value (1 - has value, 0 - empty).
IsFormed
public byte IsFormed
value = gpuPeakResult.IsFormed
Is indicator formed (byte to be GPU-friendly).
IsUp
public byte IsUp
value = gpuPeakResult.IsUp
Indicator direction flag (1 - up trend, 0 - down trend).