GpuIchimokuCalculator

StockSharp.Algo.Gpu.Indicators

GPU calculator for Ichimoku indicator.

继承自: GpuIndicatorCalculatorBase<Ichimoku, GpuIchimokuParams, GpuIchimokuResult>

构造函数

GpuIchimokuCalculator
public GpuIchimokuCalculator(Context context, Accelerator accelerator)
gpuIchimokuCalculator = GpuIchimokuCalculator(context, accelerator)

Initializes a new instance of the GpuIchimokuCalculator class.

context
ILGPU context.
accelerator
ILGPU accelerator.

方法

Calculate
public override GpuIchimokuResult[][][] Calculate(GpuCandle[][] candlesSeries, GpuIchimokuParams[] parameters)
result = gpuIchimokuCalculator.Calculate(candlesSeries, parameters)
IchimokuKernel
private static void IchimokuKernel(Index2D index, ArrayView<GpuCandle> flatCandles, ArrayView<GpuIchimokuResult> flatResults, ArrayView<int> offsets, ArrayView<int> lengths, ArrayView<GpuIchimokuParams> parameters)
GpuIchimokuCalculator.IchimokuKernel(index, flatCandles, flatResults, offsets, lengths, parameters)

ILGPU kernel calculating raw Ichimoku components per series/parameter set.