GpuLinearRegressionForecastParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Linear Regression Forecast calculation.
Implementa: IGpuIndicatorParams
Constructores
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.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuLinearRegressionForecastParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
Length
public int Length
value = gpuLinearRegressionForecastParams.Length
Linear Regression window length.
PriceType
public byte PriceType
value = gpuLinearRegressionForecastParams.PriceType
Price type to extract from candles.