GpuLinearRegRSquaredParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Linear Regression R-squared calculation.

実装: IGpuIndicatorParams

コンストラクター

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.

メソッド

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuLinearRegRSquaredParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

フィールド

Length
public int Length
value = gpuLinearRegRSquaredParams.Length

Linear regression period length.

PriceType
public byte PriceType
value = gpuLinearRegRSquaredParams.PriceType

Price type to extract from candles.