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.