GpuElliotWaveOscillatorParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Elliot Wave Oscillator calculation.
コンストラクター
GpuElliotWaveOscillatorParams
public GpuElliotWaveOscillatorParams(int shortPeriod, int longPeriod, byte priceType)
gpuElliotWaveOscillatorParams = GpuElliotWaveOscillatorParams(shortPeriod, longPeriod, priceType)
Parameter set for GPU Elliot Wave Oscillator calculation.
- shortPeriod
- Short SMA length.
- longPeriod
- Long SMA length.
- priceType
- Price type.
メソッド
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuElliotWaveOscillatorParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
フィールド
LongPeriod
public int LongPeriod
value = gpuElliotWaveOscillatorParams.LongPeriod
Long SMA window length.
PriceType
public byte PriceType
value = gpuElliotWaveOscillatorParams.PriceType
Price type to extract from candles.
ShortPeriod
public int ShortPeriod
value = gpuElliotWaveOscillatorParams.ShortPeriod
Short SMA window length.