GpuLinearRegressionForecastParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Linear Regression Forecast calculation.

实现: IGpuIndicatorParams

构造函数

GpuLinearRegressionForecastParams
public GpuLinearRegressionForecastParams(int length, byte priceType)
gpuLinearRegressionForecastParams = GpuLinearRegressionForecastParams(length, priceType)

Parameter set for GPU Linear Regression Forecast calculation.

length
Linear Regression window length.
priceType
Price type to extract from candles.

方法

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

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

indicator
IIndicator

字段

Length
public int Length
value = gpuLinearRegressionForecastParams.Length

Linear Regression window length.

PriceType
public byte PriceType
value = gpuLinearRegressionForecastParams.PriceType

Price type to extract from candles.