GpuLinearRegRSquaredParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Linear Regression R-squared calculation.
Implementa: IGpuIndicatorParams
Constructores
GpuLinearRegRSquaredParams
public GpuLinearRegRSquaredParams(int length, byte priceType)
gpuLinearRegRSquaredParams = GpuLinearRegRSquaredParams(length, priceType)
Parameter set for GPU Linear Regression R-squared calculation.
- length
- Linear regression window length.
- priceType
- Price type for regression input.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuLinearRegRSquaredParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
PriceType
public byte PriceType
value = gpuLinearRegRSquaredParams.PriceType
Price type to extract from candles.