GpuRainbowChartsResult
StockSharp.Algo.Gpu.Indicators
GPU calculation result for Rainbow Charts.
方法
ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuRainbowChartsResult.ToValue(indicator)
Convert GPU result to appropriate indicator value.
- indicator
- The indicator to create value for.
返回值: Indicator value compatible with the specified indicator type.
字段
Averages
public <Averages>e__FixedBuffer Averages
value = gpuRainbowChartsResult.Averages
Inline fixed-size buffer for average values.
FormedMask
public long FormedMask
value = gpuRainbowChartsResult.FormedMask
Bit mask describing which averages are formed (bit index corresponds to average index).
IsFormed
public byte IsFormed
value = gpuRainbowChartsResult.IsFormed
Is indicator formed (byte to be GPU-friendly).
LineCount
public byte LineCount
value = gpuRainbowChartsResult.LineCount
Number of moving average values stored in this result.
MaxLineCount
public const int MaxLineCount
value = GpuRainbowChartsResult.MaxLineCount
Maximum number of SMA averages stored in the result.