GpuWaveTrendOscillatorCalculator

StockSharp.Algo.Gpu.Indicators

GPU calculator for Wave Trend Oscillator (WTO).

Erbt von: GpuIndicatorCalculatorBase<WaveTrendOscillator, GpuWaveTrendOscillatorParams, GpuWaveTrendOscillatorResult>

Konstruktoren

GpuWaveTrendOscillatorCalculator
public GpuWaveTrendOscillatorCalculator(Context context, Accelerator accelerator)
gpuWaveTrendOscillatorCalculator = GpuWaveTrendOscillatorCalculator(context, accelerator)

Initializes a new instance of the GpuWaveTrendOscillatorCalculator class.

context
ILGPU context.
accelerator
ILGPU accelerator.

Methoden

Calculate
public override GpuWaveTrendOscillatorResult[][][] Calculate(GpuCandle[][] candlesSeries, GpuWaveTrendOscillatorParams[] parameters)
result = gpuWaveTrendOscillatorCalculator.Calculate(candlesSeries, parameters)
WaveTrendKernel
private static void WaveTrendKernel(Index2D index, ArrayView<GpuCandle> flatCandles, ArrayView<GpuWaveTrendOscillatorResult> flatResults, ArrayView<int> offsets, ArrayView<int> lengths, ArrayView<GpuWaveTrendOscillatorParams> parameters)
GpuWaveTrendOscillatorCalculator.WaveTrendKernel(index, flatCandles, flatResults, offsets, lengths, parameters)

ILGPU kernel performing Wave Trend Oscillator computation for multiple series and parameter sets.