GpuChandeMomentumOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Chande Momentum Oscillator calculation.
Implements: IGpuIndicatorParams
Constructors
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.
Methods
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuChandeMomentumOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Fields
PriceType
public byte PriceType
value = gpuChandeMomentumOscillatorParams.PriceType
Price type to extract from candles.