GpuAccelerationParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Acceleration calculation.
コンストラクター
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.