GpuMcClellanOscillatorParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU McClellan Oscillator calculation.

Implements: IGpuIndicatorParams

Constructors

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.

Methods

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMcClellanOscillatorParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

Fields

FastLength
public int FastLength
value = gpuMcClellanOscillatorParams.FastLength

Fast EMA length.

PriceType
public byte PriceType
value = gpuMcClellanOscillatorParams.PriceType

Price type to extract from candles.

SlowLength
public int SlowLength
value = gpuMcClellanOscillatorParams.SlowLength

Slow EMA length.