GpuAccelerationParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Acceleration calculation.

实现: IGpuIndicatorParams

构造函数

GpuAccelerationParams
public GpuAccelerationParams(int shortLength, int longLength, int smoothingLength)
gpuAccelerationParams = GpuAccelerationParams(shortLength, longLength, smoothingLength)

Parameter set for GPU Acceleration calculation.

shortLength
Awesome Oscillator short period length.
longLength
Awesome Oscillator long period length.
smoothingLength
Smoothing length applied to the Acceleration oscillator.

方法

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

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

indicator
Acceleration indicator instance.

字段

LongLength
public int LongLength
value = gpuAccelerationParams.LongLength

Awesome Oscillator long period length.

ShortLength
public int ShortLength
value = gpuAccelerationParams.ShortLength

Awesome Oscillator short period length.

SmoothingLength
public int SmoothingLength
value = gpuAccelerationParams.SmoothingLength

Smoothing length for the Acceleration oscillator.