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