GpuForecastOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Forecast Oscillator calculation.
构造函数
GpuForecastOscillatorParams
public GpuForecastOscillatorParams(int length, byte priceType)
gpuForecastOscillatorParams = GpuForecastOscillatorParams(length, priceType)
Parameter set for GPU Forecast Oscillator calculation.
- length
- Forecast oscillator length.
- priceType
- Price type.
方法
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuForecastOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
字段
Length
public int Length
value = gpuForecastOscillatorParams.Length
Forecast oscillator window length.
PriceType
public byte PriceType
value = gpuForecastOscillatorParams.PriceType
Price type to extract from candles.