GpuBollingerBandsParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Bollinger Bands calculation.

Реализует: IGpuIndicatorParams

Конструкторы

GpuBollingerBandsParams
public GpuBollingerBandsParams(int length, float width, byte priceType)
gpuBollingerBandsParams = GpuBollingerBandsParams(length, width, priceType)

Parameter set for GPU Bollinger Bands calculation.

length
Bollinger Bands period length.
width
Channel width multiplier.
priceType
Price type.

Методы

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

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

indicator
IIndicator

Поля

Length
public int Length
value = gpuBollingerBandsParams.Length

Period length.

PriceType
public byte PriceType
value = gpuBollingerBandsParams.PriceType

Price type to extract from candles.

Width
public float Width
value = gpuBollingerBandsParams.Width

Channel width multiplier.