IGpuIndicatorCalculator

StockSharp.Algo.Gpu

Marker interface for GPU calculators to expose the associated indicator type.

Properties

IndicatorType
public Type IndicatorType { get; }
value = iGpuIndicatorCalculator.IndicatorType

IIndicator type this calculator is associated with.

ParameterType
public Type ParameterType { get; }
value = iGpuIndicatorCalculator.ParameterType

IGpuIndicatorParams struct type used as parameter set for this indicator.

ResultType
public Type ResultType { get; }
value = iGpuIndicatorCalculator.ResultType

GPU result struct type returned by this calculator.

Methods

Calculate
public IGpuIndicatorResult[][][] Calculate(GpuCandle[][] candlesSeries, IGpuIndicatorParams[] parameters)
result = iGpuIndicatorCalculator.Calculate(candlesSeries, parameters)

Calculate indicator for multiple series and multiple parameter sets in one GPU pass.

candlesSeries
Input candle series array. Each series can have different length.
parameters
Array of parameter sets to calculate for each series.

Returns: 3D array of GPU results: [series][parameter set][bar].