GpuLinearRegRSquaredParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Linear Regression R-squared calculation.
Implements: IGpuIndicatorParams
Constructors
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.
Methods
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuLinearRegRSquaredParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Fields
PriceType
public byte PriceType
value = gpuLinearRegRSquaredParams.PriceType
Price type to extract from candles.