GpuMcClellanOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU McClellan Oscillator calculation.
Реализует: IGpuIndicatorParams
Конструкторы
GpuMcClellanOscillatorParams
public GpuMcClellanOscillatorParams(int fastLength, int slowLength, byte priceType)
gpuMcClellanOscillatorParams = GpuMcClellanOscillatorParams(fastLength, slowLength, priceType)
Parameter set for GPU McClellan Oscillator calculation.
- fastLength
- Fast EMA length.
- slowLength
- Slow EMA length.
- priceType
- Price type.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMcClellanOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
PriceType
public byte PriceType
value = gpuMcClellanOscillatorParams.PriceType
Price type to extract from candles.