GpuLinearRegSlopeParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Linear Regression Slope calculation.
Реализует: IGpuIndicatorParams
Конструкторы
GpuLinearRegSlopeParams
public GpuLinearRegSlopeParams(int length, byte priceType)
gpuLinearRegSlopeParams = GpuLinearRegSlopeParams(length, priceType)
Parameter set for GPU Linear Regression Slope calculation.
- length
- Linear regression slope length.
- priceType
- Price type.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuLinearRegSlopeParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
Length
public int Length
value = gpuLinearRegSlopeParams.Length
Linear regression slope window length.
PriceType
public byte PriceType
value = gpuLinearRegSlopeParams.PriceType
Price type to extract from candles.