GpuOscillatorOfMovingAverageParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Oscillator of Moving Average calculation.

Implementiert: IGpuIndicatorParams

Konstruktoren

GpuOscillatorOfMovingAverageParams
public GpuOscillatorOfMovingAverageParams(int shortPeriod, int longPeriod, byte priceType)
gpuOscillatorOfMovingAverageParams = GpuOscillatorOfMovingAverageParams(shortPeriod, longPeriod, priceType)

Parameter set for GPU Oscillator of Moving Average calculation.

shortPeriod
Short moving average period.
longPeriod
Long moving average period.
priceType
Price type.

Methoden

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

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

indicator
IIndicator

Felder

LongPeriod
public int LongPeriod
value = gpuOscillatorOfMovingAverageParams.LongPeriod

Long moving average period.

PriceType
public byte PriceType
value = gpuOscillatorOfMovingAverageParams.PriceType

Price type to extract from candles.

ShortPeriod
public int ShortPeriod
value = gpuOscillatorOfMovingAverageParams.ShortPeriod

Short moving average period.