GpuBollingerPercentBParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Bollinger %b calculation.
Реализует: IGpuIndicatorParams
Конструкторы
GpuBollingerPercentBParams
public GpuBollingerPercentBParams(int length, float stdDevMultiplier, byte priceType)
gpuBollingerPercentBParams = GpuBollingerPercentBParams(length, stdDevMultiplier, priceType)
Parameter set for GPU Bollinger %b calculation.
- length
- Bollinger Bands length.
- stdDevMultiplier
- Standard deviation multiplier.
- priceType
- Price type.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuBollingerPercentBParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
PriceType
public byte PriceType
value = gpuBollingerPercentBParams.PriceType
Price type to extract from candles.
StdDevMultiplier
public float StdDevMultiplier
value = gpuBollingerPercentBParams.StdDevMultiplier
Standard deviation multiplier.