GpuCenterOfGravityOscillatorParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Center of Gravity Oscillator calculation.

Implementa: IGpuIndicatorParams

Constructores

GpuCenterOfGravityOscillatorParams
public GpuCenterOfGravityOscillatorParams(int length, byte priceType)
gpuCenterOfGravityOscillatorParams = GpuCenterOfGravityOscillatorParams(length, priceType)

Parameter set for GPU Center of Gravity Oscillator calculation.

length
Oscillator length.
priceType
Price type.

Métodos

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

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

indicator
IIndicator

Campos

Length
public int Length
value = gpuCenterOfGravityOscillatorParams.Length

Oscillator window length.

PriceType
public byte PriceType
value = gpuCenterOfGravityOscillatorParams.PriceType

Price type to extract from candles.